Skip to content

Commit ff45b63

Browse files
deivid-rodriguezboie0025
authored andcommitted
Remove unnecessary gemfile (#135)
* Remove unused gemfile and lockfile * Remove unused stuff from Gemfile * Use https source to prevent bundler warning ``` The git source `git://github.com/activerecord-hackery/ransack-mongoid.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure. ``` * Move `pry-rails` to main group * bundle update * Fix RSpec deprecation warning ``` Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated. Called from /path/to/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'. ```
1 parent 75c852d commit ff45b63

File tree

5 files changed

+7
-334
lines changed

5 files changed

+7
-334
lines changed

Gemfile

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,20 @@
11
source 'https://rubygems.org'
22

3-
# Declare your gem's dependencies in activeadmin-mongoid.gemspec.
4-
# Bundler will treat runtime dependencies like base dependencies, and
5-
# development dependencies will be added by default to the :development group.
63
gemspec
74

8-
gem 'ransack-mongoid', github: 'activerecord-hackery/ransack-mongoid'
9-
10-
# Test app stuff
5+
gem 'ransack-mongoid', git: 'https://github.com/activerecord-hackery/ransack-mongoid'
116

127
gem 'rails', '~> 5.1'
138

149
gem 'devise'
1510

16-
# Gems used only for assets and not required
17-
# in production environments by default.
18-
group :assets do
19-
gem 'sass-rails', '>= 5.0.6'
20-
gem 'coffee-rails', '~> 4.0'
21-
22-
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
23-
# gem 'therubyracer', :platforms => :ruby
24-
gem 'uglifier', '>= 1.0.3'
25-
end
11+
gem 'pry-rails'
2612

2713
gem 'jquery-rails'
2814
gem 'jquery-ui-rails'
2915
gem 'jslint'
3016

3117
group :test do
32-
gem 'pry-rails'
3318
gem 'capybara'
3419
gem 'poltergeist'
3520
gem 'launchy'

Gemfile.lock

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GIT
2-
remote: git://github.com/activerecord-hackery/ransack-mongoid.git
2+
remote: https://github.com/activerecord-hackery/ransack-mongoid
33
revision: bd1935293d2f285fa7cf33d2c5c90d981bf67338
44
specs:
55
ransack-mongoid (0.1.0)
@@ -95,7 +95,7 @@ GEM
9595
coffee-script-source
9696
execjs
9797
coffee-script-source (1.12.2)
98-
concurrent-ruby (1.1.3)
98+
concurrent-ruby (1.1.4)
9999
crass (1.0.4)
100100
devise (4.5.0)
101101
bcrypt (~> 3.0)
@@ -214,8 +214,8 @@ GEM
214214
activesupport (>= 5.0)
215215
i18n
216216
rb-fsevent (0.10.3)
217-
rb-inotify (0.9.10)
218-
ffi (>= 0.5.0, < 2)
217+
rb-inotify (0.10.0)
218+
ffi (~> 1.0)
219219
regexp_parser (1.3.0)
220220
responders (2.4.0)
221221
actionpack (>= 4.2.0, < 5.3)
@@ -265,8 +265,6 @@ GEM
265265
tilt (2.0.9)
266266
tzinfo (1.2.5)
267267
thread_safe (~> 0.1)
268-
uglifier (4.1.20)
269-
execjs (>= 0.3.0, < 3)
270268
warden (1.2.8)
271269
rack (>= 2.0.6)
272270
websocket-driver (0.7.0)
@@ -281,7 +279,6 @@ PLATFORMS
281279
DEPENDENCIES
282280
activeadmin-mongoid!
283281
capybara
284-
coffee-rails (~> 4.0)
285282
devise
286283
jquery-rails
287284
jquery-ui-rails
@@ -292,9 +289,7 @@ DEPENDENCIES
292289
rails (~> 5.1)
293290
ransack-mongoid!
294291
rspec-rails (~> 3.6)
295-
sass-rails (>= 5.0.6)
296292
simplecov
297-
uglifier (>= 1.0.3)
298293

299294
BUNDLED WITH
300-
1.17.1
295+
1.17.2

spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
require File.expand_path("../../test_app/config/environment", __FILE__)
1717
require 'rspec/rails'
18-
require 'rspec/autorun'
1918

2019
# Requires supporting ruby files with custom matchers and macros, etc,
2120
# in spec/support/ and its subdirectories.

test_app/Gemfile

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)