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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21059c6cb4a6fe5c70f2791737d3e6185a49451a347eae8ff433d7d03b02433f
4
- data.tar.gz: 7b48966624d49bd7869a5fee712826e4438fc4f5e2e7e1c1af83412ec52c8888
3
+ metadata.gz: 895224d01d27525ee70e4258e8cb72fe464d7c67e4f8dd89963338390531068c
4
+ data.tar.gz: 489c95849694b08a8a8debf28ea3a82e84ab396394e5d6e1321844b61657832f
5
5
  SHA512:
6
- metadata.gz: e63922d83266f1c5f095486f7fe01c4e5b4dc824a28c06a14c9561b4970234016ebfd2b8387ca7da6e620d92327719912e1c5e0f297f921018b40c519472ba97
7
- data.tar.gz: 6ade06e0df97fdb48b2da7df2c1ce7a2a68d5dd2f50786b2d0b555eecf64b27338d67d3954e3b0bb6b4cf88303584ce982db26d2cee166e8919c2e978420c586
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.1'
7
+ default: '2.7.2'
8
8
  type: enum
9
- enum: ['2.5.8', '2.6.6', '2.7.1']
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.0'
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.1']
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.1-Rails 5.0'
129
- ruby_version: '2.7.1'
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.1-Rails 5.1'
141
- ruby_version: '2.7.1'
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.1-Rails 5.2'
153
- ruby_version: '2.7.1'
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.1-Rails 6.0'
165
- ruby_version: '2.7.1'
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.1-Rails 5.0'
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.1-Rails 5.1'
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.1-Rails 5.2'
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.1-Rails 6.0'
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
@@ -16,3 +16,4 @@ Gemfile.lock
16
16
 
17
17
  /gemfiles/*.gemfile.lock
18
18
  /gemfiles/.bundle
19
+ *.sqlite3
data/Gemfile CHANGED
@@ -5,5 +5,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
5
5
  # Specify your gem's dependencies in imyou.gemspec
6
6
  gemspec
7
7
 
8
- gem 'pg'
9
- gem 'rails'
8
+ gem 'rails'
9
+ gem 'sqlite3'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'pg', '~> 0.21'
4
3
  gem 'rails', '~> 5.0.0'
4
+ gem 'sqlite3', '~> 1.3.0'
5
5
 
6
6
  gemspec path: '../'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'pg', '~> 0.21'
4
3
  gem 'rails', '~> 5.1.0'
4
+ gem 'sqlite3', '~> 1.3.0'
5
5
 
6
6
  gemspec path: '../'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'pg', '~> 1.1.3'
4
3
  gem 'rails', '~> 5.2.0'
4
+ gem 'sqlite3', '~> 1.4'
5
5
 
6
6
  gemspec path: '../'
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'pg', '~> 1.1.3'
4
3
  gem 'rails', '~> 6.0.0'
4
+ gem 'sqlite3', '~> 1.4'
5
5
 
6
6
  gemspec path: '../'
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rails', '~> 6.1.0'
4
+ gem 'sqlite3', '~> 1.4'
5
+
6
+ gemspec path: '../'
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 rails5?
32
+ if over_rails5?
33
33
  "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]"
34
34
  end
35
35
  end
36
36
 
37
- def rails5?
38
- Rails.version.start_with? '5'
37
+ def over_rails5?
38
+ Rails::VERSION::MAJOR >= 5
39
39
  end
40
40
  end
41
41
  end
data/lib/imyou/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Imyou
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
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.1
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: '0'
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.2
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.