imyou 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +35 -19
- data/.gitignore +1 -0
- data/Gemfile +2 -2
- data/gemfiles/rails_5.0.gemfile +1 -1
- data/gemfiles/rails_5.1.gemfile +1 -1
- data/gemfiles/rails_5.2.gemfile +1 -1
- data/gemfiles/rails_6.0.gemfile +1 -1
- data/gemfiles/rails_6.1.gemfile +6 -0
- data/imyou.gemspec +1 -0
- data/lib/generators/imyou/migration/migration_generator.rb +3 -3
- data/lib/imyou/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 895224d01d27525ee70e4258e8cb72fe464d7c67e4f8dd89963338390531068c
|
4
|
+
data.tar.gz: 489c95849694b08a8a8debf28ea3a82e84ab396394e5d6e1321844b61657832f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cc1d616d1b96b4421c11ae15855fac651153448dd53a6287ff26a35f5cdddd7aa33da57480c6d68642deb1219ef504b02bd732afc97e05cceafdca88e2f4b29
|
7
|
+
data.tar.gz: 55090d4bfa282ff8a1c79a470b8f06c9bc74740a7b8bc6b72b3d15961c9ca41a9e635205bd8022cb7ae266690519519d1a6baa397b3d61ec68961cd370c88def
|
data/.circleci/config.yml
CHANGED
@@ -4,13 +4,12 @@ executors:
|
|
4
4
|
ruby:
|
5
5
|
parameters:
|
6
6
|
ruby_version:
|
7
|
-
default: '2.7.
|
7
|
+
default: '2.7.2'
|
8
8
|
type: enum
|
9
|
-
enum: ['2.5.8', '2.6.6', '2.7.
|
9
|
+
enum: ['2.5.8', '2.6.6', '2.7.2']
|
10
10
|
working_directory: ~/repo
|
11
11
|
docker:
|
12
12
|
- image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
|
13
|
-
- image: circleci/postgres:11.2-alpine-postgis-ram
|
14
13
|
|
15
14
|
commands:
|
16
15
|
rspec:
|
@@ -31,9 +30,9 @@ commands:
|
|
31
30
|
run_test:
|
32
31
|
parameters:
|
33
32
|
rails_version:
|
34
|
-
default: '6.
|
33
|
+
default: '6.1'
|
35
34
|
type: enum
|
36
|
-
enum: ['5.0', '5.1', '5.2', '6.0']
|
35
|
+
enum: ['5.0', '5.1', '5.2', '6.0', '6.1']
|
37
36
|
steps:
|
38
37
|
- checkout
|
39
38
|
- run: gem install bundler --version=2.1.4 -N
|
@@ -55,10 +54,10 @@ jobs:
|
|
55
54
|
parameters:
|
56
55
|
ruby_version:
|
57
56
|
type: enum
|
58
|
-
enum: ['2.5.8', '2.6.6', '2.7.
|
57
|
+
enum: ['2.5.8', '2.6.6', '2.7.2']
|
59
58
|
rails_version:
|
60
59
|
type: enum
|
61
|
-
enum: ['5.0', '5.1', '5.2', '6.0']
|
60
|
+
enum: ['5.0', '5.1', '5.2', '6.0', '6.1']
|
62
61
|
executor:
|
63
62
|
name: ruby
|
64
63
|
ruby_version: << parameters.ruby_version >>
|
@@ -125,8 +124,8 @@ workflows:
|
|
125
124
|
ruby_version: '2.6.6'
|
126
125
|
rails_version: '5.0'
|
127
126
|
- test:
|
128
|
-
name: 'Ruby 2.7.
|
129
|
-
ruby_version: '2.7.
|
127
|
+
name: 'Ruby 2.7.2-Rails 5.0'
|
128
|
+
ruby_version: '2.7.2'
|
130
129
|
rails_version: '5.0'
|
131
130
|
- test:
|
132
131
|
name: 'Ruby 2.5.8-Rails 5.1'
|
@@ -137,8 +136,8 @@ workflows:
|
|
137
136
|
ruby_version: '2.6.6'
|
138
137
|
rails_version: '5.1'
|
139
138
|
- test:
|
140
|
-
name: 'Ruby 2.7.
|
141
|
-
ruby_version: '2.7.
|
139
|
+
name: 'Ruby 2.7.2-Rails 5.1'
|
140
|
+
ruby_version: '2.7.2'
|
142
141
|
rails_version: '5.1'
|
143
142
|
- test:
|
144
143
|
name: 'Ruby 2.5.8-Rails 5.2'
|
@@ -149,8 +148,8 @@ workflows:
|
|
149
148
|
ruby_version: '2.6.6'
|
150
149
|
rails_version: '5.2'
|
151
150
|
- test:
|
152
|
-
name: 'Ruby 2.7.
|
153
|
-
ruby_version: '2.7.
|
151
|
+
name: 'Ruby 2.7.2-Rails 5.2'
|
152
|
+
ruby_version: '2.7.2'
|
154
153
|
rails_version: '5.2'
|
155
154
|
- test:
|
156
155
|
name: 'Ruby 2.5.8-Rails 6.0'
|
@@ -161,23 +160,40 @@ workflows:
|
|
161
160
|
ruby_version: '2.6.6'
|
162
161
|
rails_version: '6.0'
|
163
162
|
- test:
|
164
|
-
name: 'Ruby 2.7.
|
165
|
-
ruby_version: '2.7.
|
163
|
+
name: 'Ruby 2.7.2-Rails 6.0'
|
164
|
+
ruby_version: '2.7.2'
|
166
165
|
rails_version: '6.0'
|
166
|
+
- test:
|
167
|
+
name: 'Ruby 2.5.8-Rails 6.1'
|
168
|
+
ruby_version: '2.5.8'
|
169
|
+
rails_version: '6.1'
|
170
|
+
- test:
|
171
|
+
name: 'Ruby 2.6.6-Rails 6.1'
|
172
|
+
ruby_version: '2.6.6'
|
173
|
+
rails_version: '6.1'
|
174
|
+
- test:
|
175
|
+
name: 'Ruby 2.7.2-Rails 6.1'
|
176
|
+
ruby_version: '2.7.2'
|
177
|
+
rails_version: '6.1'
|
167
178
|
- release:
|
179
|
+
context:
|
180
|
+
- rubygems.org
|
168
181
|
requires:
|
169
182
|
- 'Ruby 2.5.8-Rails 5.0'
|
170
183
|
- 'Ruby 2.6.6-Rails 5.0'
|
171
|
-
- 'Ruby 2.7.
|
184
|
+
- 'Ruby 2.7.2-Rails 5.0'
|
172
185
|
- 'Ruby 2.5.8-Rails 5.1'
|
173
186
|
- 'Ruby 2.6.6-Rails 5.1'
|
174
|
-
- 'Ruby 2.7.
|
187
|
+
- 'Ruby 2.7.2-Rails 5.1'
|
175
188
|
- 'Ruby 2.5.8-Rails 5.2'
|
176
189
|
- 'Ruby 2.6.6-Rails 5.2'
|
177
|
-
- 'Ruby 2.7.
|
190
|
+
- 'Ruby 2.7.2-Rails 5.2'
|
178
191
|
- 'Ruby 2.5.8-Rails 6.0'
|
179
192
|
- 'Ruby 2.6.6-Rails 6.0'
|
180
|
-
- 'Ruby 2.7.
|
193
|
+
- 'Ruby 2.7.2-Rails 6.0'
|
194
|
+
- 'Ruby 2.5.8-Rails 6.1'
|
195
|
+
- 'Ruby 2.6.6-Rails 6.1'
|
196
|
+
- 'Ruby 2.7.2-Rails 6.1'
|
181
197
|
filters:
|
182
198
|
branches:
|
183
199
|
only: master
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/gemfiles/rails_5.0.gemfile
CHANGED
data/gemfiles/rails_5.1.gemfile
CHANGED
data/gemfiles/rails_5.2.gemfile
CHANGED
data/gemfiles/rails_6.0.gemfile
CHANGED
data/imyou.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.bindir = "exe"
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ["lib"]
|
26
|
+
spec.required_ruby_version = Gem::Requirement.new("< 3".freeze)
|
26
27
|
|
27
28
|
spec.add_development_dependency "bundler", "~> 2.1"
|
28
29
|
spec.add_development_dependency "rake", "~> 13.0"
|
@@ -29,13 +29,13 @@ module Imyou
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def migration_version
|
32
|
-
if
|
32
|
+
if over_rails5?
|
33
33
|
"[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]"
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
-
def
|
38
|
-
Rails
|
37
|
+
def over_rails5?
|
38
|
+
Rails::VERSION::MAJOR >= 5
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
data/lib/imyou/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imyou
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- patorash
|
@@ -129,6 +129,7 @@ files:
|
|
129
129
|
- gemfiles/rails_5.1.gemfile
|
130
130
|
- gemfiles/rails_5.2.gemfile
|
131
131
|
- gemfiles/rails_6.0.gemfile
|
132
|
+
- gemfiles/rails_6.1.gemfile
|
132
133
|
- imyou.gemspec
|
133
134
|
- lib/generators/imyou/migration/migration_generator.rb
|
134
135
|
- lib/generators/imyou/migration/templates/active_record/migration.rb
|
@@ -146,16 +147,16 @@ require_paths:
|
|
146
147
|
- lib
|
147
148
|
required_ruby_version: !ruby/object:Gem::Requirement
|
148
149
|
requirements:
|
149
|
-
- - "
|
150
|
+
- - "<"
|
150
151
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
152
|
+
version: '3'
|
152
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
154
|
requirements:
|
154
155
|
- - ">="
|
155
156
|
- !ruby/object:Gem::Version
|
156
157
|
version: '0'
|
157
158
|
requirements: []
|
158
|
-
rubygems_version: 3.1.
|
159
|
+
rubygems_version: 3.1.4
|
159
160
|
signing_key:
|
160
161
|
specification_version: 4
|
161
162
|
summary: Imyou has feature of attaching popular name to ActiveRecord model.
|