imyou 1.3.0 → 1.3.1

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: 05a7537c8208e72b170c4f7e4288ab682c166e155065754986d8bae046620af4
4
- data.tar.gz: 6bbd47526c77292554d5245ff49b06ae10ee3a4cf6b652e6256d3ce31ae4c39b
3
+ metadata.gz: 63cd7ff87187396d3cee1b7e6238813fcd7e99c8415a9eac77e9559bc160335e
4
+ data.tar.gz: caa9b83a15fd401d0100926941fcf6637149696851482a10242dfb2682f6a552
5
5
  SHA512:
6
- metadata.gz: 873bbe9b3c56b04c3d77474029de273352347de2e5156ac674cb9b81427b43ad83312bdd30312a3490487579005882c5929da35ee863742b9a5eb447b7412c7b
7
- data.tar.gz: b78f199e55baa6924ef404ef7198e9e9d0d727d61150f631a2240d9776f3bd58c077c191f6cb03f4cf89bfd18f643d6a4afda11be95885462c76fa026e10be79
6
+ metadata.gz: 9c25df47e6481e7d96fb5e5ffb00c42a5eb495b3cad6141504825fe63728b2e54cd908679951d22d22c27080022abc3a13c90507b18c317e3ceac26316e5df50
7
+ data.tar.gz: ddae12be73597ee8eb59e0f784fc3eee833b629076f7173624596a6c9ce978e8b43126470594e7cc1ba24d2b2a7213a406ebc17e45645d7e60b2f42f71d33dc1
@@ -0,0 +1,177 @@
1
+ version: 2.1
2
+
3
+ executors:
4
+ ruby:
5
+ parameters:
6
+ ruby_version:
7
+ default: '2.6.2'
8
+ type: enum
9
+ enum: ['2.4.5', '2.5.5', '2.6.2']
10
+ working_directory: ~/repo
11
+ docker:
12
+ - image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
13
+ - image: circleci/postgres:11.2-alpine-postgis-ram
14
+
15
+ commands:
16
+ rspec:
17
+ steps:
18
+ - run:
19
+ name: run tests
20
+ command: |
21
+ mkdir /tmp/test-results
22
+ TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | \
23
+ circleci tests split --split-by=timings)"
24
+
25
+ bundle exec rspec \
26
+ --format progress \
27
+ --format RspecJunitFormatter \
28
+ --out /tmp/test-results/rspec.xml \
29
+ --format progress \
30
+ $TEST_FILES
31
+ run_test:
32
+ parameters:
33
+ rails_version:
34
+ default: '5.2'
35
+ type: enum
36
+ enum: ['4.2', '5.0', '5.1', '5.2']
37
+ steps:
38
+ - checkout
39
+ - run:
40
+ name: bundle install
41
+ command: |
42
+ export BUNDLE_GEMFILE=$PWD/gemfiles/rails_<< parameters.rails_version >>.gemfile
43
+ bundle check || bundle install --jobs=4 --retry=3
44
+ - rspec
45
+ # collect reports
46
+ - store_test_results:
47
+ path: /tmp/test-results
48
+ - store_artifacts:
49
+ path: /tmp/test-results
50
+ destination: test-results
51
+
52
+ jobs:
53
+ test:
54
+ parameters:
55
+ ruby_version:
56
+ type: enum
57
+ enum: ['2.4.5', '2.5.5', '2.6.2']
58
+ rails_version:
59
+ type: enum
60
+ enum: ['4.2', '5.0', '5.1', '5.2']
61
+ executor:
62
+ name: ruby
63
+ ruby_version: << parameters.ruby_version >>
64
+ parallelism: 1
65
+ steps:
66
+ - run_test:
67
+ rails_version: << parameters.rails_version >>
68
+
69
+ release:
70
+ executor:
71
+ name: ruby
72
+ parallelism: 1
73
+ steps:
74
+ - checkout
75
+ - add_ssh_keys:
76
+ fingerprints:
77
+ - "e7:e8:17:c5:03:05:fd:0c:0e:9b:3b:d3:90:53:c6:5c"
78
+ - run:
79
+ name: bundle install
80
+ command: bundle check || bundle install --jobs=4 --retry=3
81
+ - run:
82
+ name: RubyGems.org | Set credential
83
+ command: |
84
+ mkdir -p ~/.gem
85
+ echo ":rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
86
+ chmod 0600 ~/.gem/credentials
87
+ - run:
88
+ name: Setup git
89
+ command: |
90
+ git config push.default current
91
+ git config user.email "chariderpato@gmail.com"
92
+ git config user.name "patorash"
93
+ - run:
94
+ name: rake release
95
+ command: |
96
+ gem list --prerelease --all --remote imyou \
97
+ | grep -E "^imyou" \
98
+ | sed -e "s/^.*(\(.*\)).*\$/\1/" \
99
+ | grep -q -v "`bundle exec ruby -e "print Imyou::VERSION"`"
100
+ result=$?
101
+ if [ $result = 0 ]; then
102
+ bundle exec rake build
103
+ bundle exec rake release
104
+ fi
105
+ - run:
106
+ name: Delete credentials
107
+ command: |
108
+ shred -u ~/.gem/credentials
109
+
110
+ workflows:
111
+ build:
112
+ jobs:
113
+ - test:
114
+ name: 'Ruby 2.4.5-Rails 4.2'
115
+ ruby_version: '2.4.5'
116
+ rails_version: '4.2'
117
+ - test:
118
+ name: 'Ruby 2.5.5-Rails 4.2'
119
+ ruby_version: '2.5.5'
120
+ rails_version: '4.2'
121
+ - test:
122
+ name: 'Ruby 2.6.2-Rails 4.2'
123
+ ruby_version: '2.6.2'
124
+ rails_version: '4.2'
125
+ - test:
126
+ name: 'Ruby 2.4.5-Rails 5.0'
127
+ ruby_version: '2.4.5'
128
+ rails_version: '5.0'
129
+ - test:
130
+ name: 'Ruby 2.5.5-Rails 5.0'
131
+ ruby_version: '2.5.5'
132
+ rails_version: '5.0'
133
+ - test:
134
+ name: 'Ruby 2.6.2-Rails 5.0'
135
+ ruby_version: '2.6.2'
136
+ rails_version: '5.0'
137
+ - test:
138
+ name: 'Ruby 2.4.5-Rails 5.1'
139
+ ruby_version: '2.4.5'
140
+ rails_version: '5.1'
141
+ - test:
142
+ name: 'Ruby 2.5.5-Rails 5.1'
143
+ ruby_version: '2.5.5'
144
+ rails_version: '5.1'
145
+ - test:
146
+ name: 'Ruby 2.6.2-Rails 5.1'
147
+ ruby_version: '2.6.2'
148
+ rails_version: '5.1'
149
+ - test:
150
+ name: 'Ruby 2.4.5-Rails 5.2'
151
+ ruby_version: '2.4.5'
152
+ rails_version: '5.2'
153
+ - test:
154
+ name: 'Ruby 2.5.5-Rails 5.2'
155
+ ruby_version: '2.5.5'
156
+ rails_version: '5.2'
157
+ - test:
158
+ name: 'Ruby 2.6.2-Rails 5.2'
159
+ ruby_version: '2.6.2'
160
+ rails_version: '5.2'
161
+ - release:
162
+ requires:
163
+ - 'Ruby 2.4.5-Rails 4.2'
164
+ - 'Ruby 2.5.5-Rails 4.2'
165
+ - 'Ruby 2.6.2-Rails 4.2'
166
+ - 'Ruby 2.4.5-Rails 5.0'
167
+ - 'Ruby 2.5.5-Rails 5.0'
168
+ - 'Ruby 2.6.2-Rails 5.0'
169
+ - 'Ruby 2.4.5-Rails 5.1'
170
+ - 'Ruby 2.5.5-Rails 5.1'
171
+ - 'Ruby 2.6.2-Rails 5.1'
172
+ - 'Ruby 2.4.5-Rails 5.2'
173
+ - 'Ruby 2.5.5-Rails 5.2'
174
+ - 'Ruby 2.6.2-Rails 5.2'
175
+ filters:
176
+ branches:
177
+ only: master
data/.gitignore CHANGED
@@ -9,3 +9,6 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ .ruby-version
13
+ Gemfile.lock
14
+ .circleci/config.processed.yml
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Imyou
2
2
 
3
- [![Build Status](https://travis-ci.org/patorash/imyou.svg?branch=master)](https://travis-ci.org/patorash/imyou)
3
+ [![CircleCI](https://circleci.com/gh/patorash/imyou.svg?style=svg)](https://circleci.com/gh/patorash/imyou)
4
4
 
5
5
  Imyou has feature of attaching popular name to ActiveRecord model.
6
6
 
@@ -24,10 +24,11 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
25
  spec.require_paths = ["lib"]
26
26
 
27
- spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "bundler", "~> 1.17"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  spec.add_development_dependency 'pry', '~> 0'
31
31
  spec.add_development_dependency 'database_cleaner', '~> 1.7'
32
32
  spec.add_development_dependency 'combustion', '~> 1.0'
33
+ spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module Imyou
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imyou
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - patorash
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2019-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '1.17'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '1.17'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec_junit_formatter
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.4.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.4.1
97
111
  description: Imyou has feature of attaching popular name to ActiveRecord model.
98
112
  email:
99
113
  - chariderpato@gmail.com
@@ -101,21 +115,20 @@ executables: []
101
115
  extensions: []
102
116
  extra_rdoc_files: []
103
117
  files:
118
+ - ".circleci/config.yml"
104
119
  - ".gitignore"
105
120
  - ".rspec"
106
- - ".travis.yml"
107
121
  - CODE_OF_CONDUCT.md
108
122
  - Gemfile
109
- - Gemfile.lock
110
123
  - LICENSE.txt
111
124
  - README.md
112
125
  - Rakefile
113
126
  - bin/console
114
127
  - bin/setup
115
- - gemfiles/rails_4_2.gemfile
116
- - gemfiles/rails_5_0.gemfile
117
- - gemfiles/rails_5_1.gemfile
118
- - gemfiles/rails_5_2.gemfile
128
+ - gemfiles/rails_4.2.gemfile
129
+ - gemfiles/rails_5.0.gemfile
130
+ - gemfiles/rails_5.1.gemfile
131
+ - gemfiles/rails_5.2.gemfile
119
132
  - imyou.gemspec
120
133
  - lib/generators/imyou/migration/migration_generator.rb
121
134
  - lib/generators/imyou/migration/templates/active_record/migration.rb
@@ -142,8 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
155
  - !ruby/object:Gem::Version
143
156
  version: '0'
144
157
  requirements: []
145
- rubyforge_project:
146
- rubygems_version: 2.7.6
158
+ rubygems_version: 3.0.3
147
159
  signing_key:
148
160
  specification_version: 4
149
161
  summary: Imyou has feature of attaching popular name to ActiveRecord model.
@@ -1,17 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.5.3
5
- - 2.4.5
6
- - 2.3.8
7
- gemfile:
8
- - gemfiles/rails_5_2.gemfile
9
- - gemfiles/rails_5_1.gemfile
10
- - gemfiles/rails_5_0.gemfile
11
- - gemfiles/rails_4_2.gemfile
12
- branches:
13
- only:
14
- - master
15
- - travis
16
-
17
- before_install: gem install bundler -v 1.16.2
@@ -1,156 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- imyou (1.2.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actioncable (5.2.1)
10
- actionpack (= 5.2.1)
11
- nio4r (~> 2.0)
12
- websocket-driver (>= 0.6.1)
13
- actionmailer (5.2.1)
14
- actionpack (= 5.2.1)
15
- actionview (= 5.2.1)
16
- activejob (= 5.2.1)
17
- mail (~> 2.5, >= 2.5.4)
18
- rails-dom-testing (~> 2.0)
19
- actionpack (5.2.1)
20
- actionview (= 5.2.1)
21
- activesupport (= 5.2.1)
22
- rack (~> 2.0)
23
- rack-test (>= 0.6.3)
24
- rails-dom-testing (~> 2.0)
25
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
26
- actionview (5.2.1)
27
- activesupport (= 5.2.1)
28
- builder (~> 3.1)
29
- erubi (~> 1.4)
30
- rails-dom-testing (~> 2.0)
31
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
32
- activejob (5.2.1)
33
- activesupport (= 5.2.1)
34
- globalid (>= 0.3.6)
35
- activemodel (5.2.1)
36
- activesupport (= 5.2.1)
37
- activerecord (5.2.1)
38
- activemodel (= 5.2.1)
39
- activesupport (= 5.2.1)
40
- arel (>= 9.0)
41
- activestorage (5.2.1)
42
- actionpack (= 5.2.1)
43
- activerecord (= 5.2.1)
44
- marcel (~> 0.3.1)
45
- activesupport (5.2.1)
46
- concurrent-ruby (~> 1.0, >= 1.0.2)
47
- i18n (>= 0.7, < 2)
48
- minitest (~> 5.1)
49
- tzinfo (~> 1.1)
50
- arel (9.0.0)
51
- builder (3.2.3)
52
- coderay (1.1.2)
53
- combustion (1.0.0)
54
- activesupport (>= 3.0.0)
55
- railties (>= 3.0.0)
56
- thor (>= 0.14.6)
57
- concurrent-ruby (1.1.3)
58
- crass (1.0.4)
59
- database_cleaner (1.7.0)
60
- diff-lcs (1.3)
61
- erubi (1.7.1)
62
- globalid (0.4.1)
63
- activesupport (>= 4.2.0)
64
- i18n (1.1.1)
65
- concurrent-ruby (~> 1.0)
66
- loofah (2.2.3)
67
- crass (~> 1.0.2)
68
- nokogiri (>= 1.5.9)
69
- mail (2.7.1)
70
- mini_mime (>= 0.1.1)
71
- marcel (0.3.3)
72
- mimemagic (~> 0.3.2)
73
- method_source (0.9.2)
74
- mimemagic (0.3.2)
75
- mini_mime (1.0.1)
76
- mini_portile2 (2.3.0)
77
- minitest (5.11.3)
78
- nio4r (2.3.1)
79
- nokogiri (1.8.5)
80
- mini_portile2 (~> 2.3.0)
81
- pg (1.1.3)
82
- pry (0.12.2)
83
- coderay (~> 1.1.0)
84
- method_source (~> 0.9.0)
85
- rack (2.0.6)
86
- rack-test (1.1.0)
87
- rack (>= 1.0, < 3)
88
- rails (5.2.1)
89
- actioncable (= 5.2.1)
90
- actionmailer (= 5.2.1)
91
- actionpack (= 5.2.1)
92
- actionview (= 5.2.1)
93
- activejob (= 5.2.1)
94
- activemodel (= 5.2.1)
95
- activerecord (= 5.2.1)
96
- activestorage (= 5.2.1)
97
- activesupport (= 5.2.1)
98
- bundler (>= 1.3.0)
99
- railties (= 5.2.1)
100
- sprockets-rails (>= 2.0.0)
101
- rails-dom-testing (2.0.3)
102
- activesupport (>= 4.2.0)
103
- nokogiri (>= 1.6)
104
- rails-html-sanitizer (1.0.4)
105
- loofah (~> 2.2, >= 2.2.2)
106
- railties (5.2.1)
107
- actionpack (= 5.2.1)
108
- activesupport (= 5.2.1)
109
- method_source
110
- rake (>= 0.8.7)
111
- thor (>= 0.19.0, < 2.0)
112
- rake (10.5.0)
113
- rspec (3.8.0)
114
- rspec-core (~> 3.8.0)
115
- rspec-expectations (~> 3.8.0)
116
- rspec-mocks (~> 3.8.0)
117
- rspec-core (3.8.0)
118
- rspec-support (~> 3.8.0)
119
- rspec-expectations (3.8.2)
120
- diff-lcs (>= 1.2.0, < 2.0)
121
- rspec-support (~> 3.8.0)
122
- rspec-mocks (3.8.0)
123
- diff-lcs (>= 1.2.0, < 2.0)
124
- rspec-support (~> 3.8.0)
125
- rspec-support (3.8.0)
126
- sprockets (3.7.2)
127
- concurrent-ruby (~> 1.0)
128
- rack (> 1, < 3)
129
- sprockets-rails (3.2.1)
130
- actionpack (>= 4.0)
131
- activesupport (>= 4.0)
132
- sprockets (>= 3.0.0)
133
- thor (0.20.3)
134
- thread_safe (0.3.6)
135
- tzinfo (1.2.5)
136
- thread_safe (~> 0.1)
137
- websocket-driver (0.7.0)
138
- websocket-extensions (>= 0.1.0)
139
- websocket-extensions (0.1.3)
140
-
141
- PLATFORMS
142
- ruby
143
-
144
- DEPENDENCIES
145
- bundler (~> 1.16)
146
- combustion (~> 1.0)
147
- database_cleaner (~> 1.7)
148
- imyou!
149
- pg
150
- pry (~> 0)
151
- rails
152
- rake (~> 10.0)
153
- rspec (~> 3.0)
154
-
155
- BUNDLED WITH
156
- 1.16.6