dry-initializer-rails 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +11 -5
- data/.travis.yml +1 -1
- data/CHANGELOG.md +25 -7
- data/Rakefile +1 -1
- data/dry-initializer-rails.gemspec +5 -5
- data/lib/dry/initializer/rails.rb +1 -1
- data/spec/dummy/db/migrate/20160509134800_create_users.rb +1 -1
- data/spec/dummy/db/migrate/20160509134900_create_items.rb +1 -1
- data/spec/dummy/db/schema.rb +0 -2
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a894c708b1e5461c0d316687eb482b01797a2e3d
|
4
|
+
data.tar.gz: fa349d24f5fa62e059e099bddf5f45d05f41a3d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e773812ba782a02ca0cfdb35c1841d9c62942b03b6cd285802c295a47078cd3099614e1ee09061d16ae8f68f94e8aa8e62724ed4620111d71399ba3db71f397
|
7
|
+
data.tar.gz: 6f80e04ad40745801b43063bae14463d5fd509b4d350e1e04d43542ffb0d95088d7d07f04bfbaae5e53b6b60438a6f9945c9d964890cd8753314a328324df25f
|
data/.rubocop.yml
CHANGED
@@ -3,25 +3,31 @@ AllCops:
|
|
3
3
|
DisplayCopNames: true
|
4
4
|
DisplayStyleGuide: true
|
5
5
|
StyleGuideCopsOnly: true
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.3
|
7
|
+
|
8
|
+
Layout/EmptyLinesAroundBlockBody:
|
9
|
+
Enabled: false
|
7
10
|
|
8
11
|
Metrics/LineLength:
|
9
12
|
Exclude:
|
10
13
|
- spec/dummy/db/schema.rb
|
11
14
|
|
15
|
+
Naming/FileName:
|
16
|
+
Exclude:
|
17
|
+
- 'lib/dry-initializer-rails.rb'
|
18
|
+
|
12
19
|
Style/CaseEquality:
|
13
20
|
Enabled: false
|
14
21
|
|
22
|
+
Style/ClassAndModuleChildren:
|
23
|
+
Enabled: false
|
24
|
+
|
15
25
|
Style/ClassVars:
|
16
26
|
Enabled: false
|
17
27
|
|
18
28
|
Style/DoubleNegation:
|
19
29
|
Enabled: false
|
20
30
|
|
21
|
-
Style/FileName:
|
22
|
-
Exclude:
|
23
|
-
- 'lib/dry-initializer-rails.rb'
|
24
|
-
|
25
31
|
Style/Lambda:
|
26
32
|
Exclude:
|
27
33
|
- spec/**/*_spec.rb
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,33 @@
|
|
1
|
-
|
1
|
+
# Change Log
|
2
2
|
|
3
|
-
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
7
|
|
7
|
-
|
8
|
+
## [2.0.0] [2018-02-01]
|
8
9
|
|
9
|
-
|
10
|
+
Update dependency to [dry-initializer] v2.4+ (nepalez)
|
10
11
|
|
11
|
-
|
12
|
+
## [1.0.0] [2017-01-28]
|
12
13
|
|
13
|
-
|
14
|
+
Update dependency to [dry-initializer] v1.1+ (nepalez)
|
15
|
+
|
16
|
+
## [0.0.3] [2016-07-17]
|
17
|
+
|
18
|
+
Update dependency to [dry-initializer] v0.4+ (nepalez)
|
19
|
+
|
20
|
+
## [0.0.2] [2016-05-19]
|
21
|
+
|
22
|
+
Update dependency to [dry-initializer] v0.3+ (nepalez)
|
23
|
+
|
24
|
+
## [0.0.1] [2016-05-16]
|
14
25
|
|
15
26
|
First public release
|
27
|
+
|
28
|
+
[dry-initializer]: https://github.com/dry-rb/dry-initializer
|
29
|
+
[0.0.1]: https://github.com/nepalez/dry-initializer-rails/compare/ab07725...v0.0.1
|
30
|
+
[0.0.2]: https://github.com/nepalez/dry-initializer-rails/compare/v0.0.1...v0.0.2
|
31
|
+
[0.0.3]: https://github.com/nepalez/dry-initializer-rails/compare/v0.0.2...v0.0.3
|
32
|
+
[1.0.0]: https://github.com/nepalez/dry-initializer-rails/compare/v0.0.3...v1.0.0
|
33
|
+
[0.0.3]: https://github.com/nepalez/dry-initializer-rails/compare/v1.0.0...v2.0.0
|
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "dry-initializer-rails"
|
3
|
-
gem.version = "
|
3
|
+
gem.version = "2.0.0"
|
4
4
|
gem.author = ["Vladimir Kochnev (marshall-lee)", "Andrew Kozin (nepalez)"]
|
5
|
-
gem.email = ["
|
5
|
+
gem.email = ["andrew.kozin@gmail.com"]
|
6
6
|
gem.homepage = "https://github.com/nepalez/dry-initializer-rails"
|
7
7
|
gem.summary = "Adds ActiveRecord-specific methods to Dry::Initializer"
|
8
8
|
gem.license = "MIT"
|
@@ -11,14 +11,14 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.test_files = gem.files.grep(/^spec/)
|
12
12
|
gem.extra_rdoc_files = Dir["README.md", "LICENSE", "CHANGELOG.md"]
|
13
13
|
|
14
|
-
gem.required_ruby_version = ">= 2.
|
14
|
+
gem.required_ruby_version = ">= 2.3"
|
15
15
|
|
16
16
|
gem.add_runtime_dependency "rails", "> 3.0"
|
17
|
-
gem.add_runtime_dependency "dry-initializer", "~>
|
17
|
+
gem.add_runtime_dependency "dry-initializer", "~> 2.4"
|
18
18
|
|
19
19
|
gem.add_development_dependency "rspec", "~> 3.0"
|
20
20
|
gem.add_development_dependency "rake", "> 10.0"
|
21
21
|
gem.add_development_dependency "sqlite3", "~> 1.3"
|
22
22
|
gem.add_development_dependency "database_cleaner", "~> 1.5"
|
23
|
-
gem.add_development_dependency "rubocop", "~> 0.
|
23
|
+
gem.add_development_dependency "rubocop", "~> 0.52"
|
24
24
|
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,6 @@
|
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
13
|
ActiveRecord::Schema.define(version: 20160509134900) do
|
14
|
-
|
15
14
|
create_table "items", force: :cascade do |t|
|
16
15
|
t.string "name"
|
17
16
|
t.index ["name"], name: "index_items_on_name"
|
@@ -21,5 +20,4 @@ ActiveRecord::Schema.define(version: 20160509134900) do
|
|
21
20
|
t.string "name"
|
22
21
|
t.index ["name"], name: "index_users_on_name"
|
23
22
|
end
|
24
|
-
|
25
23
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-initializer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Kochnev (marshall-lee)
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '2.4'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '2.4'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,17 +101,16 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '0.
|
104
|
+
version: '0.52'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '0.
|
111
|
+
version: '0.52'
|
112
112
|
description:
|
113
113
|
email:
|
114
|
-
- hashtable@yandex.ru
|
115
114
|
- andrew.kozin@gmail.com
|
116
115
|
executables: []
|
117
116
|
extensions: []
|
@@ -160,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
160
159
|
requirements:
|
161
160
|
- - ">="
|
162
161
|
- !ruby/object:Gem::Version
|
163
|
-
version: 2.
|
162
|
+
version: '2.3'
|
164
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
164
|
requirements:
|
166
165
|
- - ">="
|
@@ -168,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
167
|
version: '0'
|
169
168
|
requirements: []
|
170
169
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.
|
170
|
+
rubygems_version: 2.6.14
|
172
171
|
signing_key:
|
173
172
|
specification_version: 4
|
174
173
|
summary: Adds ActiveRecord-specific methods to Dry::Initializer
|