clowne 0.1.0.pre1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +5 -5
  2. data/.codeclimate.yml +7 -0
  3. data/.gitattributes +1 -0
  4. data/.gitignore +1 -0
  5. data/.rubocop.yml +16 -33
  6. data/.travis.yml +14 -10
  7. data/CHANGELOG.md +39 -2
  8. data/Gemfile +11 -6
  9. data/README.md +48 -384
  10. data/Rakefile +3 -3
  11. data/clowne.gemspec +16 -8
  12. data/docs/.nojekyll +0 -0
  13. data/docs/.rubocop.yml +18 -0
  14. data/docs/CNAME +1 -0
  15. data/docs/README.md +131 -0
  16. data/docs/_sidebar.md +25 -0
  17. data/docs/active_record.md +33 -0
  18. data/docs/after_clone.md +53 -0
  19. data/docs/after_persist.md +77 -0
  20. data/docs/architecture.md +138 -0
  21. data/docs/assets/docsify.min.js +1 -0
  22. data/docs/assets/prism-ruby.min.js +1 -0
  23. data/docs/assets/styles.css +348 -0
  24. data/docs/assets/vue.css +1 -0
  25. data/docs/clone_mapper.md +59 -0
  26. data/docs/customization.md +63 -0
  27. data/docs/exclude_association.md +61 -0
  28. data/docs/finalize.md +31 -0
  29. data/docs/from_v02_to_v1.md +83 -0
  30. data/docs/getting_started.md +171 -0
  31. data/docs/implicit_cloner.md +33 -0
  32. data/docs/include_association.md +133 -0
  33. data/docs/index.html +29 -0
  34. data/docs/init_as.md +40 -0
  35. data/docs/inline_configuration.md +37 -0
  36. data/docs/nullify.md +33 -0
  37. data/docs/operation.md +55 -0
  38. data/docs/parameters.md +112 -0
  39. data/docs/sequel.md +50 -0
  40. data/docs/supported_adapters.md +10 -0
  41. data/docs/testing.md +194 -0
  42. data/docs/traits.md +25 -0
  43. data/gemfiles/activerecord42.gemfile +7 -4
  44. data/gemfiles/jruby.gemfile +8 -4
  45. data/gemfiles/railsmaster.gemfile +8 -5
  46. data/lib/clowne.rb +12 -7
  47. data/lib/clowne/adapters/active_record.rb +6 -16
  48. data/lib/clowne/adapters/active_record/associations.rb +8 -6
  49. data/lib/clowne/adapters/active_record/associations/base.rb +5 -49
  50. data/lib/clowne/adapters/active_record/associations/belongs_to.rb +29 -0
  51. data/lib/clowne/adapters/active_record/associations/has_one.rb +9 -1
  52. data/lib/clowne/adapters/active_record/associations/noop.rb +4 -1
  53. data/lib/clowne/adapters/active_record/dsl.rb +33 -0
  54. data/lib/clowne/adapters/active_record/resolvers/association.rb +38 -0
  55. data/lib/clowne/adapters/base.rb +53 -41
  56. data/lib/clowne/adapters/base/association.rb +78 -0
  57. data/lib/clowne/adapters/registry.rb +54 -11
  58. data/lib/clowne/adapters/sequel.rb +29 -0
  59. data/lib/clowne/adapters/sequel/associations.rb +26 -0
  60. data/lib/clowne/adapters/sequel/associations/base.rb +27 -0
  61. data/lib/clowne/adapters/sequel/associations/many_to_many.rb +23 -0
  62. data/lib/clowne/adapters/sequel/associations/noop.rb +16 -0
  63. data/lib/clowne/adapters/sequel/associations/one_to_many.rb +28 -0
  64. data/lib/clowne/adapters/sequel/associations/one_to_one.rb +28 -0
  65. data/lib/clowne/adapters/sequel/copier.rb +23 -0
  66. data/lib/clowne/adapters/sequel/operation.rb +35 -0
  67. data/lib/clowne/adapters/sequel/record_wrapper.rb +43 -0
  68. data/lib/clowne/adapters/sequel/resolvers/after_persist.rb +22 -0
  69. data/lib/clowne/adapters/sequel/resolvers/association.rb +51 -0
  70. data/lib/clowne/adapters/sequel/specifications/after_persist_does_not_support.rb +15 -0
  71. data/lib/clowne/cloner.rb +50 -20
  72. data/lib/clowne/declarations.rb +15 -11
  73. data/lib/clowne/declarations/after_clone.rb +21 -0
  74. data/lib/clowne/declarations/after_persist.rb +21 -0
  75. data/lib/clowne/declarations/base.rb +13 -0
  76. data/lib/clowne/declarations/exclude_association.rb +1 -6
  77. data/lib/clowne/declarations/finalize.rb +3 -2
  78. data/lib/clowne/declarations/include_association.rb +16 -4
  79. data/lib/clowne/declarations/init_as.rb +21 -0
  80. data/lib/clowne/declarations/nullify.rb +3 -2
  81. data/lib/clowne/declarations/trait.rb +3 -0
  82. data/lib/clowne/dsl.rb +9 -0
  83. data/lib/clowne/ext/lambda_as_proc.rb +17 -0
  84. data/lib/clowne/ext/orm_ext.rb +21 -0
  85. data/lib/clowne/ext/record_key.rb +12 -0
  86. data/lib/clowne/ext/string_constantize.rb +10 -4
  87. data/lib/clowne/ext/yield_self_then.rb +25 -0
  88. data/lib/clowne/planner.rb +27 -7
  89. data/lib/clowne/resolvers/after_clone.rb +17 -0
  90. data/lib/clowne/resolvers/after_persist.rb +18 -0
  91. data/lib/clowne/resolvers/finalize.rb +12 -0
  92. data/lib/clowne/resolvers/init_as.rb +13 -0
  93. data/lib/clowne/resolvers/nullify.rb +15 -0
  94. data/lib/clowne/rspec.rb +5 -0
  95. data/lib/clowne/rspec/clone_association.rb +99 -0
  96. data/lib/clowne/rspec/clone_associations.rb +26 -0
  97. data/lib/clowne/rspec/helpers.rb +35 -0
  98. data/lib/clowne/utils/clone_mapper.rb +26 -0
  99. data/lib/clowne/utils/operation.rb +95 -0
  100. data/lib/clowne/utils/options.rb +39 -0
  101. data/lib/clowne/utils/params.rb +64 -0
  102. data/lib/clowne/utils/plan.rb +90 -0
  103. data/lib/clowne/version.rb +1 -1
  104. metadata +140 -20
  105. data/lib/clowne/adapters/active_record/association.rb +0 -34
  106. data/lib/clowne/adapters/base/finalize.rb +0 -19
  107. data/lib/clowne/adapters/base/nullify.rb +0 -19
  108. data/lib/clowne/plan.rb +0 -81
@@ -0,0 +1,95 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "clowne/utils/clone_mapper"
4
+
5
+ module Clowne
6
+ module Utils
7
+ class Operation # :nodoc: all
8
+ THREAD_KEY = :"#{name}.clowne_operation"
9
+ DEFAULT_MAPPER = Utils::CloneMapper
10
+
11
+ private_constant :THREAD_KEY
12
+
13
+ class << self
14
+ def current
15
+ Thread.current[THREAD_KEY]
16
+ end
17
+
18
+ def wrap(mapper: nil)
19
+ return yield if current
20
+
21
+ Thread.current[THREAD_KEY] = new(mapper || DEFAULT_MAPPER.new)
22
+
23
+ current.tap do |operation|
24
+ operation.clone = yield
25
+ clear!
26
+ end
27
+ end
28
+
29
+ def clear!
30
+ Thread.current[THREAD_KEY] = nil
31
+ end
32
+ end
33
+
34
+ attr_writer :clone
35
+ attr_reader :mapper
36
+
37
+ def initialize(mapper)
38
+ @after_clone_blocks = []
39
+ @after_persist_blocks = []
40
+ @mapper = mapper
41
+ end
42
+
43
+ def add_after_persist(block)
44
+ @after_persist_blocks.unshift(block)
45
+ end
46
+
47
+ def add_after_clone(block)
48
+ @after_clone_blocks.unshift(block)
49
+ end
50
+
51
+ def add_mapping(origin, clone)
52
+ @mapper.add(origin, clone)
53
+ end
54
+
55
+ def to_record
56
+ return @_record if defined?(@_record)
57
+
58
+ run_after_clone
59
+ @_record = @clone
60
+ end
61
+
62
+ def persist!
63
+ to_record.save!.tap do
64
+ run_after_persist
65
+ end
66
+ end
67
+
68
+ def persist
69
+ to_record.save.tap do |result|
70
+ next unless result
71
+
72
+ run_after_persist
73
+ end
74
+ end
75
+
76
+ def save
77
+ warn "[DEPRECATION] `save` is deprecated. Please use `persist` instead."
78
+ @clone.save
79
+ end
80
+
81
+ def save!
82
+ warn "[DEPRECATION] `save!` is deprecated. Please use `persist!` instead."
83
+ @clone.save!
84
+ end
85
+
86
+ def run_after_persist
87
+ @after_persist_blocks.each(&:call)
88
+ end
89
+
90
+ def run_after_clone
91
+ @after_clone_blocks.each(&:call)
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Clowne
4
+ module Utils # :nodoc: all
5
+ class Options
6
+ INTERNAL_KEYS = %i[adapter traits clowne_only_actions mapping only].freeze
7
+
8
+ def initialize(options)
9
+ @options = options
10
+ end
11
+
12
+ def traits
13
+ @_traits ||= Array(options[:traits])
14
+ end
15
+
16
+ def only
17
+ options[:clowne_only_actions]
18
+ end
19
+
20
+ def mapper
21
+ options[:mapper]
22
+ end
23
+
24
+ def adapter
25
+ options[:adapter]
26
+ end
27
+
28
+ def params
29
+ options.dup.tap do |o|
30
+ INTERNAL_KEYS.each { |key| o.delete(key) }
31
+ end
32
+ end
33
+
34
+ private
35
+
36
+ attr_reader :options
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "clowne/ext/lambda_as_proc"
4
+
5
+ module Clowne
6
+ module Utils
7
+ class Params # :nodoc: all
8
+ class BaseProxy
9
+ attr_reader :value
10
+
11
+ def initialize(value)
12
+ @value = value
13
+ end
14
+
15
+ def permit(_params)
16
+ raise NotImplementedError
17
+ end
18
+ end
19
+
20
+ class PassProxy < BaseProxy
21
+ def permit(params:, **)
22
+ params
23
+ end
24
+ end
25
+
26
+ class NullProxy < BaseProxy
27
+ def permit(_params)
28
+ {}
29
+ end
30
+ end
31
+
32
+ class BlockProxy < BaseProxy
33
+ using Clowne::Ext::LambdaAsProc
34
+
35
+ def permit(params:, parent:)
36
+ value.to_proc.call(params, parent)
37
+ end
38
+ end
39
+
40
+ class KeyProxy < BaseProxy
41
+ def permit(params:, **)
42
+ nested_params = params.fetch(value)
43
+ return nested_params if nested_params.is_a?(Hash)
44
+
45
+ raise KeyError, "value by key '#{value}' must be a Hash"
46
+ end
47
+ end
48
+
49
+ class << self
50
+ def proxy(value)
51
+ if value == true
52
+ PassProxy
53
+ elsif value.nil? || value == false
54
+ NullProxy
55
+ elsif value.is_a?(Proc)
56
+ BlockProxy
57
+ else
58
+ KeyProxy
59
+ end.new(value)
60
+ end
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,90 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Clowne
4
+ module Utils
5
+ class Plan # :nodoc: all
6
+ class TwoPhaseSet
7
+ def initialize
8
+ @added = {}
9
+ @removed = []
10
+ end
11
+
12
+ def []=(k, v)
13
+ return if @removed.include?(k)
14
+
15
+ @added[k] = v
16
+ end
17
+
18
+ def delete(k)
19
+ return if @removed.include?(k)
20
+
21
+ @removed << k
22
+ @added.delete(k)
23
+ end
24
+
25
+ def values
26
+ @added.values
27
+ end
28
+ end
29
+
30
+ def initialize(registry)
31
+ @registry = registry
32
+ @data = {}
33
+ end
34
+
35
+ def add(type, declaration)
36
+ data[type] = [] unless data.key?(type)
37
+ data[type] << declaration
38
+ end
39
+
40
+ def add_to(type, id, declaration)
41
+ data[type] = TwoPhaseSet.new unless data.key?(type)
42
+ data[type][id] = declaration
43
+ end
44
+
45
+ def set(type, declaration)
46
+ data[type] = declaration
47
+ end
48
+
49
+ def get(type)
50
+ data[type]
51
+ end
52
+
53
+ def remove(type)
54
+ data.delete(type)
55
+ end
56
+
57
+ def remove_from(type, id)
58
+ return unless data[type]
59
+
60
+ data[type].delete(id)
61
+ end
62
+
63
+ def declarations(reload = false)
64
+ return @declarations if !reload && instance_variable_defined?(:@declarations)
65
+
66
+ @declarations =
67
+ registry.actions.flat_map do |type|
68
+ value = data[type]
69
+ next if value.nil?
70
+
71
+ value = value.values if value.is_a?(TwoPhaseSet)
72
+ value = Array(value)
73
+ value.map { |v| [type, v] }
74
+ end.compact
75
+ end
76
+
77
+ def dup
78
+ self.class.new(registry).tap do |duped|
79
+ data.each do |k, v|
80
+ duped.set(k, v.dup)
81
+ end
82
+ end
83
+ end
84
+
85
+ private
86
+
87
+ attr_reader :data, :registry
88
+ end
89
+ end
90
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Clowne
4
- VERSION = '0.1.0.pre1'
4
+ VERSION = "1.2.0"
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clowne
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  - Sverchkov Nikolay
9
9
  autorequire:
10
- bindir: exe
10
+ bindir: bin
11
11
  cert_chain: []
12
- date: 2018-01-05 00:00:00.000000000 Z
12
+ date: 2020-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -17,28 +17,34 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.14'
20
+ version: '2.0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.14'
27
+ version: '2.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '10.0'
34
+ version: '12.3'
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: 12.3.3
35
38
  type: :development
36
39
  prerelease: false
37
40
  version_requirements: !ruby/object:Gem::Requirement
38
41
  requirements:
39
42
  - - "~>"
40
43
  - !ruby/object:Gem::Version
41
- version: '10.0'
44
+ version: '12.3'
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 12.3.3
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: rspec
44
50
  requirement: !ruby/object:Gem::Requirement
@@ -73,14 +79,56 @@ dependencies:
73
79
  requirements:
74
80
  - - "~>"
75
81
  - !ruby/object:Gem::Version
76
- version: '0.51'
82
+ version: 0.75.0
77
83
  type: :development
78
84
  prerelease: false
79
85
  version_requirements: !ruby/object:Gem::Requirement
80
86
  requirements:
81
87
  - - "~>"
82
88
  - !ruby/object:Gem::Version
83
- version: '0.51'
89
+ version: 0.75.0
90
+ - !ruby/object:Gem::Dependency
91
+ name: rubocop-md
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.3.0
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.3.0
104
+ - !ruby/object:Gem::Dependency
105
+ name: rubocop-rspec
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.36.0
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.36.0
118
+ - !ruby/object:Gem::Dependency
119
+ name: standard
120
+ requirement: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.1.5
125
+ type: :development
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.1.5
84
132
  description: A flexible gem for cloning your models.
85
133
  email:
86
134
  - palkan@evilmartians.com
@@ -89,6 +137,8 @@ executables: []
89
137
  extensions: []
90
138
  extra_rdoc_files: []
91
139
  files:
140
+ - ".codeclimate.yml"
141
+ - ".gitattributes"
92
142
  - ".gitignore"
93
143
  - ".rspec"
94
144
  - ".rubocop.yml"
@@ -102,38 +152,109 @@ files:
102
152
  - bin/console
103
153
  - bin/setup
104
154
  - clowne.gemspec
155
+ - docs/.nojekyll
156
+ - docs/.rubocop.yml
157
+ - docs/CNAME
158
+ - docs/README.md
159
+ - docs/_sidebar.md
160
+ - docs/active_record.md
161
+ - docs/after_clone.md
162
+ - docs/after_persist.md
163
+ - docs/architecture.md
164
+ - docs/assets/docsify.min.js
165
+ - docs/assets/prism-ruby.min.js
166
+ - docs/assets/styles.css
167
+ - docs/assets/vue.css
168
+ - docs/clone_mapper.md
169
+ - docs/customization.md
170
+ - docs/exclude_association.md
171
+ - docs/finalize.md
172
+ - docs/from_v02_to_v1.md
173
+ - docs/getting_started.md
174
+ - docs/implicit_cloner.md
175
+ - docs/include_association.md
176
+ - docs/index.html
177
+ - docs/init_as.md
178
+ - docs/inline_configuration.md
179
+ - docs/nullify.md
180
+ - docs/operation.md
181
+ - docs/parameters.md
182
+ - docs/sequel.md
183
+ - docs/supported_adapters.md
184
+ - docs/testing.md
185
+ - docs/traits.md
105
186
  - gemfiles/activerecord42.gemfile
106
187
  - gemfiles/jruby.gemfile
107
188
  - gemfiles/railsmaster.gemfile
108
189
  - lib/clowne.rb
109
190
  - lib/clowne/adapters/active_record.rb
110
- - lib/clowne/adapters/active_record/association.rb
111
191
  - lib/clowne/adapters/active_record/associations.rb
112
192
  - lib/clowne/adapters/active_record/associations/base.rb
193
+ - lib/clowne/adapters/active_record/associations/belongs_to.rb
113
194
  - lib/clowne/adapters/active_record/associations/has_and_belongs_to_many.rb
114
195
  - lib/clowne/adapters/active_record/associations/has_many.rb
115
196
  - lib/clowne/adapters/active_record/associations/has_one.rb
116
197
  - lib/clowne/adapters/active_record/associations/noop.rb
198
+ - lib/clowne/adapters/active_record/dsl.rb
199
+ - lib/clowne/adapters/active_record/resolvers/association.rb
117
200
  - lib/clowne/adapters/base.rb
118
- - lib/clowne/adapters/base/finalize.rb
119
- - lib/clowne/adapters/base/nullify.rb
201
+ - lib/clowne/adapters/base/association.rb
120
202
  - lib/clowne/adapters/registry.rb
203
+ - lib/clowne/adapters/sequel.rb
204
+ - lib/clowne/adapters/sequel/associations.rb
205
+ - lib/clowne/adapters/sequel/associations/base.rb
206
+ - lib/clowne/adapters/sequel/associations/many_to_many.rb
207
+ - lib/clowne/adapters/sequel/associations/noop.rb
208
+ - lib/clowne/adapters/sequel/associations/one_to_many.rb
209
+ - lib/clowne/adapters/sequel/associations/one_to_one.rb
210
+ - lib/clowne/adapters/sequel/copier.rb
211
+ - lib/clowne/adapters/sequel/operation.rb
212
+ - lib/clowne/adapters/sequel/record_wrapper.rb
213
+ - lib/clowne/adapters/sequel/resolvers/after_persist.rb
214
+ - lib/clowne/adapters/sequel/resolvers/association.rb
215
+ - lib/clowne/adapters/sequel/specifications/after_persist_does_not_support.rb
121
216
  - lib/clowne/cloner.rb
122
217
  - lib/clowne/declarations.rb
218
+ - lib/clowne/declarations/after_clone.rb
219
+ - lib/clowne/declarations/after_persist.rb
220
+ - lib/clowne/declarations/base.rb
123
221
  - lib/clowne/declarations/exclude_association.rb
124
222
  - lib/clowne/declarations/finalize.rb
125
223
  - lib/clowne/declarations/include_association.rb
224
+ - lib/clowne/declarations/init_as.rb
126
225
  - lib/clowne/declarations/nullify.rb
127
226
  - lib/clowne/declarations/trait.rb
128
227
  - lib/clowne/dsl.rb
228
+ - lib/clowne/ext/lambda_as_proc.rb
229
+ - lib/clowne/ext/orm_ext.rb
230
+ - lib/clowne/ext/record_key.rb
129
231
  - lib/clowne/ext/string_constantize.rb
130
- - lib/clowne/plan.rb
232
+ - lib/clowne/ext/yield_self_then.rb
131
233
  - lib/clowne/planner.rb
234
+ - lib/clowne/resolvers/after_clone.rb
235
+ - lib/clowne/resolvers/after_persist.rb
236
+ - lib/clowne/resolvers/finalize.rb
237
+ - lib/clowne/resolvers/init_as.rb
238
+ - lib/clowne/resolvers/nullify.rb
239
+ - lib/clowne/rspec.rb
240
+ - lib/clowne/rspec/clone_association.rb
241
+ - lib/clowne/rspec/clone_associations.rb
242
+ - lib/clowne/rspec/helpers.rb
243
+ - lib/clowne/utils/clone_mapper.rb
244
+ - lib/clowne/utils/operation.rb
245
+ - lib/clowne/utils/options.rb
246
+ - lib/clowne/utils/params.rb
247
+ - lib/clowne/utils/plan.rb
132
248
  - lib/clowne/version.rb
133
- homepage: https://github.com/palkan/clowne
249
+ homepage: https://github.com/clowne-rb/clowne
134
250
  licenses:
135
251
  - MIT
136
- metadata: {}
252
+ metadata:
253
+ bug_tracker_uri: http://github.com/clowne-rb/clowne/issues
254
+ changelog_uri: https://github.com/clowne-rb/clowne/blob/master/CHANGELOG.md
255
+ documentation_uri: https://clowne.evilmartians.io/
256
+ homepage_uri: https://clowne.evilmartians.io/
257
+ source_code_uri: http://github.com/clowne-rb/clowne
137
258
  post_install_message:
138
259
  rdoc_options: []
139
260
  require_paths:
@@ -145,13 +266,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
266
  version: '0'
146
267
  required_rubygems_version: !ruby/object:Gem::Requirement
147
268
  requirements:
148
- - - ">"
269
+ - - ">="
149
270
  - !ruby/object:Gem::Version
150
- version: 1.3.1
271
+ version: '0'
151
272
  requirements: []
152
- rubyforge_project:
153
- rubygems_version: 2.6.13
273
+ rubygems_version: 3.0.3
154
274
  signing_key:
155
275
  specification_version: 4
156
- summary: A flexible gem for cloning your models.
276
+ summary: A flexible gem for cloning your models
157
277
  test_files: []