has_defaults 0.4.2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby-version +1 -0
- data/.travis.yml +56 -0
- data/{MIT-LICENSE → LICENSE} +1 -1
- data/README.md +23 -4
- data/Rakefile +5 -29
- data/gemfiles/Gemfile.2.3.mysql2 +13 -0
- data/gemfiles/Gemfile.2.3.mysql2.lock +32 -0
- data/gemfiles/Gemfile.3.2.mysql2 +12 -0
- data/gemfiles/Gemfile.3.2.mysql2.lock +57 -0
- data/gemfiles/Gemfile.4.2.mysql2 +10 -0
- data/gemfiles/Gemfile.4.2.mysql2.lock +61 -0
- data/gemfiles/Gemfile.4.2.pg +10 -0
- data/gemfiles/Gemfile.4.2.pg.lock +61 -0
- data/gemfiles/Gemfile.5.0.mysql2 +10 -0
- data/gemfiles/Gemfile.5.0.mysql2.lock +58 -0
- data/gemfiles/Gemfile.5.0.pg +10 -0
- data/gemfiles/Gemfile.5.0.pg.lock +58 -0
- data/lib/has_defaults.rb +1 -3
- data/lib/has_defaults/active_record_ext.rb +9 -2
- data/lib/has_defaults/version.rb +1 -1
- data/spec/{shared/has_defaults → has_defaults}/active_record_ext_spec.rb +3 -3
- data/spec/spec_helper.rb +18 -0
- data/spec/support/database.rb +16 -0
- data/spec/support/database.sample.yml +10 -0
- data/spec/support/database.travis.yml +9 -0
- data/spec/support/database.yml +10 -0
- data/spec/{shared/app_root/app/models/donut.rb → support/models.rb} +11 -0
- metadata +28 -76
- data/spec/rails-2.3/Gemfile +0 -8
- data/spec/rails-2.3/Gemfile.lock +0 -51
- data/spec/rails-2.3/Rakefile +0 -11
- data/spec/rails-2.3/app_root/config/boot.rb +0 -129
- data/spec/rails-2.3/app_root/config/database.yml +0 -4
- data/spec/rails-2.3/app_root/config/environment.rb +0 -14
- data/spec/rails-2.3/app_root/config/environments/test.rb +0 -28
- data/spec/rails-2.3/app_root/config/preinitializer.rb +0 -20
- data/spec/rails-2.3/app_root/config/routes.rb +0 -4
- data/spec/rails-2.3/app_root/lib/console_with_fixtures.rb +0 -4
- data/spec/rails-2.3/app_root/log/.gitignore +0 -1
- data/spec/rails-2.3/app_root/script/console +0 -7
- data/spec/rails-2.3/rcov.opts +0 -2
- data/spec/rails-2.3/spec.opts +0 -4
- data/spec/rails-2.3/spec_helper.rb +0 -24
- data/spec/rails-3.0/.rspec +0 -2
- data/spec/rails-3.0/Gemfile +0 -9
- data/spec/rails-3.0/Gemfile.lock +0 -101
- data/spec/rails-3.0/Rakefile +0 -10
- data/spec/rails-3.0/app_root/.gitignore +0 -4
- data/spec/rails-3.0/app_root/config/application.rb +0 -32
- data/spec/rails-3.0/app_root/config/boot.rb +0 -13
- data/spec/rails-3.0/app_root/config/database.yml +0 -4
- data/spec/rails-3.0/app_root/config/environment.rb +0 -5
- data/spec/rails-3.0/app_root/config/environments/test.rb +0 -35
- data/spec/rails-3.0/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-3.0/app_root/config/initializers/inflections.rb +0 -10
- data/spec/rails-3.0/app_root/config/initializers/mime_types.rb +0 -5
- data/spec/rails-3.0/app_root/config/initializers/secret_token.rb +0 -7
- data/spec/rails-3.0/app_root/config/initializers/session_store.rb +0 -8
- data/spec/rails-3.0/app_root/config/locales/en.yml +0 -5
- data/spec/rails-3.0/app_root/config/routes.rb +0 -58
- data/spec/rails-3.0/app_root/lib/tasks/.gitkeep +0 -0
- data/spec/rails-3.0/app_root/log/.gitkeep +0 -0
- data/spec/rails-3.0/app_root/script/rails +0 -6
- data/spec/rails-3.0/log/in_memory.log +0 -33
- data/spec/rails-3.0/rcov.opts +0 -2
- data/spec/rails-3.0/spec_helper.rb +0 -25
- data/spec/rails-3.2/.rspec +0 -2
- data/spec/rails-3.2/Gemfile +0 -9
- data/spec/rails-3.2/Gemfile.lock +0 -120
- data/spec/rails-3.2/Rakefile +0 -10
- data/spec/rails-3.2/app_root/.gitignore +0 -4
- data/spec/rails-3.2/app_root/config/application.rb +0 -32
- data/spec/rails-3.2/app_root/config/boot.rb +0 -13
- data/spec/rails-3.2/app_root/config/database.yml +0 -4
- data/spec/rails-3.2/app_root/config/environment.rb +0 -5
- data/spec/rails-3.2/app_root/config/environments/test.rb +0 -35
- data/spec/rails-3.2/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/inflections.rb +0 -10
- data/spec/rails-3.2/app_root/config/initializers/mime_types.rb +0 -5
- data/spec/rails-3.2/app_root/config/initializers/secret_token.rb +0 -7
- data/spec/rails-3.2/app_root/config/initializers/session_store.rb +0 -8
- data/spec/rails-3.2/app_root/config/locales/en.yml +0 -5
- data/spec/rails-3.2/app_root/config/routes.rb +0 -58
- data/spec/rails-3.2/app_root/lib/tasks/.gitkeep +0 -0
- data/spec/rails-3.2/app_root/log/.gitkeep +0 -0
- data/spec/rails-3.2/app_root/script/rails +0 -6
- data/spec/rails-3.2/log/in_memory.log +0 -33
- data/spec/rails-3.2/rcov.opts +0 -2
- data/spec/rails-3.2/spec_helper.rb +0 -25
- data/spec/shared/app_root/app/controllers/application_controller.rb +0 -2
- data/spec/shared/app_root/app/models/model_without_defaults.rb +0 -2
- data/spec/shared/app_root/app/models/pastry.rb +0 -6
- data/spec/shared/app_root/db/migrate/001_create_pastries.rb +0 -19
- data/spec/shared/app_root/db/migrate/002_create_model_without_defaults.rb +0 -12
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.4
|
data/.travis.yml
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
language: ruby
|
2
|
+
|
3
|
+
rvm:
|
4
|
+
- 1.8.7
|
5
|
+
- 2.1.8
|
6
|
+
- 2.2.4
|
7
|
+
- 2.3.1
|
8
|
+
|
9
|
+
gemfile:
|
10
|
+
- gemfiles/Gemfile.2.3.mysql2
|
11
|
+
- gemfiles/Gemfile.3.2.mysql2
|
12
|
+
- gemfiles/Gemfile.4.2.mysql2
|
13
|
+
- gemfiles/Gemfile.4.2.pg
|
14
|
+
- gemfiles/Gemfile.5.0.mysql2
|
15
|
+
- gemfiles/Gemfile.5.0.pg
|
16
|
+
|
17
|
+
matrix:
|
18
|
+
exclude:
|
19
|
+
- rvm: 1.8.7
|
20
|
+
gemfile: gemfiles/Gemfile.4.2.mysql2
|
21
|
+
- rvm: 1.8.7
|
22
|
+
gemfile: gemfiles/Gemfile.4.2.pg
|
23
|
+
- rvm: 1.8.7
|
24
|
+
gemfile: gemfiles/Gemfile.5.0.mysql2
|
25
|
+
- rvm: 1.8.7
|
26
|
+
gemfile: gemfiles/Gemfile.5.0.pg
|
27
|
+
- rvm: 2.1.8
|
28
|
+
gemfile: gemfiles/Gemfile.2.3.mysql2
|
29
|
+
- rvm: 2.1.8
|
30
|
+
gemfile: gemfiles/Gemfile.5.0.mysql2
|
31
|
+
- rvm: 2.1.8
|
32
|
+
gemfile: gemfiles/Gemfile.5.0.pg
|
33
|
+
- rvm: 2.2.4
|
34
|
+
gemfile: gemfiles/Gemfile.2.3.mysql2
|
35
|
+
- rvm: 2.3.1
|
36
|
+
gemfile: gemfiles/Gemfile.2.3.mysql2
|
37
|
+
|
38
|
+
install:
|
39
|
+
# Old Travis CI bundler explodes when lockfile version doesn't match recently bumped version
|
40
|
+
- gem install bundler --version='=1.12.5'
|
41
|
+
# This is the default Travis CI install step
|
42
|
+
- bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
|
43
|
+
|
44
|
+
before_script:
|
45
|
+
- psql -c 'create database has_defaults_test;' -U postgres
|
46
|
+
- mysql -e 'create database IF NOT EXISTS has_defaults_test;'
|
47
|
+
|
48
|
+
script: bundle exec rake gemika:spec
|
49
|
+
|
50
|
+
sudo: false
|
51
|
+
|
52
|
+
cache: bundler
|
53
|
+
|
54
|
+
notifications:
|
55
|
+
email:
|
56
|
+
- fail@makandra.de
|
data/{MIT-LICENSE → LICENSE}
RENAMED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
has_defaults
|
1
|
+
has_defaults [![Build Status](https://travis-ci.org/makandra/has_defaults.svg?branch=master)](https://travis-ci.org/makandra/has_defaults)
|
2
2
|
============
|
3
3
|
|
4
4
|
Default values for ActiveRecord models.
|
@@ -39,8 +39,27 @@ You can override the default attributes as follow:
|
|
39
39
|
Page.has_defaults_options = {:title => "Here's your new page", :body => "Write your page text"}
|
40
40
|
|
41
41
|
|
42
|
-
|
43
|
-
|
42
|
+
Development
|
43
|
+
-----------
|
44
|
+
|
45
|
+
There are tests in `spec`. We only accept PRs with tests. To run tests:
|
46
|
+
|
47
|
+
- Install Ruby 2.2.4
|
48
|
+
- Create a local test database `has_defaults_test` in both MySQL and PostgreSQL
|
49
|
+
- Copy `spec/support/database.sample.yml` to `spec/support/database.yml` and enter your local credentials for the test databases
|
50
|
+
- Install development dependencies using `bundle install`
|
51
|
+
- Run tests using `bundle exec rspec`
|
52
|
+
|
53
|
+
We recommend to test large changes against multiple versions of Ruby and multiple dependency sets. Supported combinations are configured in `.travis.yml`. We provide some rake tasks to help with this:
|
54
|
+
|
55
|
+
- Install development dependencies using `bundle matrix:install`
|
56
|
+
- Run tests using `bundle matrix:spec`
|
57
|
+
|
58
|
+
Note that we have configured Travis CI to automatically run tests in all supported Ruby versions and dependency sets after each push. We will only merge pull requests after a green Travis build.
|
59
|
+
|
60
|
+
|
61
|
+
Credits
|
62
|
+
-------
|
44
63
|
|
45
64
|
* Original version by Nando Vieira (<http://simplesideias.com.br>)
|
46
|
-
* Patches in this fork by
|
65
|
+
* Patches in this fork by makandra (<http://makandra.com/>)
|
data/Rakefile
CHANGED
@@ -1,33 +1,9 @@
|
|
1
1
|
require 'rake'
|
2
|
-
require 'spec/rake/spectask'
|
3
2
|
require 'bundler/gem_tasks'
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
namespace :all do
|
9
|
-
|
10
|
-
desc "Run specs on all spec apps"
|
11
|
-
task :spec do
|
12
|
-
for_each_directory_of('spec/**/Rakefile') do |directory|
|
13
|
-
env = "SPEC=../../#{ENV['SPEC']} " if ENV['SPEC']
|
14
|
-
system("cd #{directory} && #{env} bundle exec rake spec")
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
desc "Bundle all spec apps"
|
19
|
-
task :bundle do
|
20
|
-
for_each_directory_of('spec/**/Gemfile') do |directory|
|
21
|
-
system("cd #{directory} && bundle install")
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
3
|
+
begin
|
4
|
+
require 'gemika/tasks'
|
5
|
+
rescue LoadError
|
6
|
+
puts 'Run `gem install gemika` for additional tasks'
|
25
7
|
end
|
26
8
|
|
27
|
-
|
28
|
-
Dir[path].sort.each do |rakefile|
|
29
|
-
directory = File.dirname(rakefile)
|
30
|
-
puts '', "\033[44m#{directory}\033[0m", ''
|
31
|
-
block.call(directory)
|
32
|
-
end
|
33
|
-
end
|
9
|
+
task :default => 'matrix:spec'
|
@@ -0,0 +1,13 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gem 'activerecord', '=2.3.18'
|
4
|
+
gem 'rspec', '~> 1.3.0'
|
5
|
+
gem 'mysql2', '= 0.2.20'
|
6
|
+
|
7
|
+
gem 'rake', '=10.0.4'
|
8
|
+
|
9
|
+
gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
|
10
|
+
|
11
|
+
gem 'gemika', '>= 0.2.0'
|
12
|
+
gem 'has_defaults', :path => '..'
|
13
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
has_defaults (0.4.3)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activerecord (2.3.18)
|
11
|
+
activesupport (= 2.3.18)
|
12
|
+
activesupport (2.3.18)
|
13
|
+
gemika (0.2.0)
|
14
|
+
i18n (0.6.11)
|
15
|
+
mysql2 (0.2.20)
|
16
|
+
rake (10.0.4)
|
17
|
+
rspec (1.3.2)
|
18
|
+
|
19
|
+
PLATFORMS
|
20
|
+
ruby
|
21
|
+
|
22
|
+
DEPENDENCIES
|
23
|
+
activerecord (= 2.3.18)
|
24
|
+
gemika (>= 0.2.0)
|
25
|
+
has_defaults!
|
26
|
+
i18n (= 0.6.11)
|
27
|
+
mysql2 (= 0.2.20)
|
28
|
+
rake (= 10.0.4)
|
29
|
+
rspec (~> 1.3.0)
|
30
|
+
|
31
|
+
BUNDLED WITH
|
32
|
+
1.12.5
|
@@ -0,0 +1,12 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gem 'activerecord', '=3.2.22'
|
4
|
+
gem 'rspec', '~> 3.4'
|
5
|
+
gem 'mysql2', '= 0.3.17'
|
6
|
+
|
7
|
+
gem 'rake', '=10.0.4'
|
8
|
+
|
9
|
+
gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
|
10
|
+
|
11
|
+
gem 'gemika', '>= 0.2.0'
|
12
|
+
gem 'has_defaults', :path => '..'
|
@@ -0,0 +1,57 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
has_defaults (0.4.3)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activemodel (3.2.22)
|
11
|
+
activesupport (= 3.2.22)
|
12
|
+
builder (~> 3.0.0)
|
13
|
+
activerecord (3.2.22)
|
14
|
+
activemodel (= 3.2.22)
|
15
|
+
activesupport (= 3.2.22)
|
16
|
+
arel (~> 3.0.2)
|
17
|
+
tzinfo (~> 0.3.29)
|
18
|
+
activesupport (3.2.22)
|
19
|
+
i18n (~> 0.6, >= 0.6.4)
|
20
|
+
multi_json (~> 1.0)
|
21
|
+
arel (3.0.3)
|
22
|
+
builder (3.0.4)
|
23
|
+
diff-lcs (1.2.5)
|
24
|
+
gemika (0.2.0)
|
25
|
+
i18n (0.6.11)
|
26
|
+
multi_json (1.12.1)
|
27
|
+
mysql2 (0.3.17)
|
28
|
+
rake (10.0.4)
|
29
|
+
rspec (3.5.0)
|
30
|
+
rspec-core (~> 3.5.0)
|
31
|
+
rspec-expectations (~> 3.5.0)
|
32
|
+
rspec-mocks (~> 3.5.0)
|
33
|
+
rspec-core (3.5.3)
|
34
|
+
rspec-support (~> 3.5.0)
|
35
|
+
rspec-expectations (3.5.0)
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
+
rspec-support (~> 3.5.0)
|
38
|
+
rspec-mocks (3.5.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.5.0)
|
41
|
+
rspec-support (3.5.0)
|
42
|
+
tzinfo (0.3.51)
|
43
|
+
|
44
|
+
PLATFORMS
|
45
|
+
ruby
|
46
|
+
|
47
|
+
DEPENDENCIES
|
48
|
+
activerecord (= 3.2.22)
|
49
|
+
gemika (>= 0.2.0)
|
50
|
+
has_defaults!
|
51
|
+
i18n (= 0.6.11)
|
52
|
+
mysql2 (= 0.3.17)
|
53
|
+
rake (= 10.0.4)
|
54
|
+
rspec (~> 3.4)
|
55
|
+
|
56
|
+
BUNDLED WITH
|
57
|
+
1.12.5
|
@@ -0,0 +1,61 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
has_defaults (0.4.3)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activemodel (4.2.7.1)
|
11
|
+
activesupport (= 4.2.7.1)
|
12
|
+
builder (~> 3.1)
|
13
|
+
activerecord (4.2.7.1)
|
14
|
+
activemodel (= 4.2.7.1)
|
15
|
+
activesupport (= 4.2.7.1)
|
16
|
+
arel (~> 6.0)
|
17
|
+
activesupport (4.2.7.1)
|
18
|
+
i18n (~> 0.7)
|
19
|
+
json (~> 1.7, >= 1.7.7)
|
20
|
+
minitest (~> 5.1)
|
21
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
22
|
+
tzinfo (~> 1.1)
|
23
|
+
arel (6.0.3)
|
24
|
+
builder (3.2.2)
|
25
|
+
diff-lcs (1.2.5)
|
26
|
+
gemika (0.2.0)
|
27
|
+
i18n (0.7.0)
|
28
|
+
json (1.8.3)
|
29
|
+
minitest (5.9.0)
|
30
|
+
mysql2 (0.3.21)
|
31
|
+
rake (11.3.0)
|
32
|
+
rspec (3.5.0)
|
33
|
+
rspec-core (~> 3.5.0)
|
34
|
+
rspec-expectations (~> 3.5.0)
|
35
|
+
rspec-mocks (~> 3.5.0)
|
36
|
+
rspec-core (3.5.3)
|
37
|
+
rspec-support (~> 3.5.0)
|
38
|
+
rspec-expectations (3.5.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.5.0)
|
41
|
+
rspec-mocks (3.5.0)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.5.0)
|
44
|
+
rspec-support (3.5.0)
|
45
|
+
thread_safe (0.3.5)
|
46
|
+
tzinfo (1.2.2)
|
47
|
+
thread_safe (~> 0.1)
|
48
|
+
|
49
|
+
PLATFORMS
|
50
|
+
ruby
|
51
|
+
|
52
|
+
DEPENDENCIES
|
53
|
+
activerecord (~> 4.2.1)
|
54
|
+
gemika (>= 0.2.0)
|
55
|
+
has_defaults!
|
56
|
+
mysql2 (~> 0.3.17)
|
57
|
+
rake
|
58
|
+
rspec (~> 3.4)
|
59
|
+
|
60
|
+
BUNDLED WITH
|
61
|
+
1.12.5
|
@@ -0,0 +1,61 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
has_defaults (0.4.3)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activemodel (4.2.7.1)
|
11
|
+
activesupport (= 4.2.7.1)
|
12
|
+
builder (~> 3.1)
|
13
|
+
activerecord (4.2.7.1)
|
14
|
+
activemodel (= 4.2.7.1)
|
15
|
+
activesupport (= 4.2.7.1)
|
16
|
+
arel (~> 6.0)
|
17
|
+
activesupport (4.2.7.1)
|
18
|
+
i18n (~> 0.7)
|
19
|
+
json (~> 1.7, >= 1.7.7)
|
20
|
+
minitest (~> 5.1)
|
21
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
22
|
+
tzinfo (~> 1.1)
|
23
|
+
arel (6.0.3)
|
24
|
+
builder (3.2.2)
|
25
|
+
diff-lcs (1.2.5)
|
26
|
+
gemika (0.2.0)
|
27
|
+
i18n (0.7.0)
|
28
|
+
json (1.8.3)
|
29
|
+
minitest (5.9.0)
|
30
|
+
pg (0.19.0)
|
31
|
+
rake (11.3.0)
|
32
|
+
rspec (3.5.0)
|
33
|
+
rspec-core (~> 3.5.0)
|
34
|
+
rspec-expectations (~> 3.5.0)
|
35
|
+
rspec-mocks (~> 3.5.0)
|
36
|
+
rspec-core (3.5.3)
|
37
|
+
rspec-support (~> 3.5.0)
|
38
|
+
rspec-expectations (3.5.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.5.0)
|
41
|
+
rspec-mocks (3.5.0)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.5.0)
|
44
|
+
rspec-support (3.5.0)
|
45
|
+
thread_safe (0.3.5)
|
46
|
+
tzinfo (1.2.2)
|
47
|
+
thread_safe (~> 0.1)
|
48
|
+
|
49
|
+
PLATFORMS
|
50
|
+
ruby
|
51
|
+
|
52
|
+
DEPENDENCIES
|
53
|
+
activerecord (~> 4.2.1)
|
54
|
+
gemika (>= 0.2.0)
|
55
|
+
has_defaults!
|
56
|
+
pg
|
57
|
+
rake
|
58
|
+
rspec (~> 3.4)
|
59
|
+
|
60
|
+
BUNDLED WITH
|
61
|
+
1.12.5
|
@@ -0,0 +1,58 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
has_defaults (0.4.3)
|
5
|
+
activerecord
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
activemodel (5.0.0.1)
|
11
|
+
activesupport (= 5.0.0.1)
|
12
|
+
activerecord (5.0.0.1)
|
13
|
+
activemodel (= 5.0.0.1)
|
14
|
+
activesupport (= 5.0.0.1)
|
15
|
+
arel (~> 7.0)
|
16
|
+
activesupport (5.0.0.1)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (~> 0.7)
|
19
|
+
minitest (~> 5.1)
|
20
|
+
tzinfo (~> 1.1)
|
21
|
+
arel (7.1.2)
|
22
|
+
concurrent-ruby (1.0.2)
|
23
|
+
diff-lcs (1.2.5)
|
24
|
+
gemika (0.2.0)
|
25
|
+
i18n (0.7.0)
|
26
|
+
minitest (5.9.0)
|
27
|
+
mysql2 (0.4.4)
|
28
|
+
rake (11.3.0)
|
29
|
+
rspec (3.5.0)
|
30
|
+
rspec-core (~> 3.5.0)
|
31
|
+
rspec-expectations (~> 3.5.0)
|
32
|
+
rspec-mocks (~> 3.5.0)
|
33
|
+
rspec-core (3.5.3)
|
34
|
+
rspec-support (~> 3.5.0)
|
35
|
+
rspec-expectations (3.5.0)
|
36
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
+
rspec-support (~> 3.5.0)
|
38
|
+
rspec-mocks (3.5.0)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.5.0)
|
41
|
+
rspec-support (3.5.0)
|
42
|
+
thread_safe (0.3.5)
|
43
|
+
tzinfo (1.2.2)
|
44
|
+
thread_safe (~> 0.1)
|
45
|
+
|
46
|
+
PLATFORMS
|
47
|
+
ruby
|
48
|
+
|
49
|
+
DEPENDENCIES
|
50
|
+
activerecord (~> 5.0.0)
|
51
|
+
gemika (>= 0.2.0)
|
52
|
+
has_defaults!
|
53
|
+
mysql2 (~> 0.4.4)
|
54
|
+
rake
|
55
|
+
rspec (~> 3.5)
|
56
|
+
|
57
|
+
BUNDLED WITH
|
58
|
+
1.12.5
|