light-services 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 355c3c9fb44e9d29fdd1aa1517b399e3ef16a2a31f96704642f4633c12383f75
4
- data.tar.gz: ae9c8a4c1f2a0cbeaa18e170daa9e81bbd09ce4ea91b87243e8a3a154d2e88f6
3
+ metadata.gz: 86f26dbb1d2ea28fb7cb8c8b9615d93bdc536755f28240a56d562085e37b53e8
4
+ data.tar.gz: e96c9fc9bf526e93639f6c8e46252dab105423797e3068cbd2c2fcc9d57db642
5
5
  SHA512:
6
- metadata.gz: 27340de0bc0b42bc550797570b03f4455719387da46835f73c0303b7655e100fa85b1a4f58a2d20b856867d44c8280d56304d50ac5400268baea5a241947de02
7
- data.tar.gz: d0ca74dc57d25e9d3f45c35bd541ffc7cc61420eb40782fa56b9c0501a3cdb3d628c656fc22253db219f8ee442ba6a9b4d90da5abef6e1cf5a7f6642a3c2a2e4
6
+ metadata.gz: c7aab86f783de54ffecf6b9682c4cc8cdf3046049e314e75bb23fcc24f405dc04a76e07c3f9ca5eb2ae06dbeb9f19a5ead2447953535fba1041260caaf8a7fc6
7
+ data.tar.gz: f156cf767647c47ca47a0058d8f9e41d89bda90daed7eecd69fb209fdcbf0d9c45205374a68a85abe8510e812a479c9b68e7621cca9994ef1becbe83fdb51350
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.6.1
data/.travis.yml CHANGED
@@ -16,9 +16,6 @@ before_script:
16
16
  before_install: gem install bundler
17
17
 
18
18
  gemfile:
19
- - gemfiles/rails_4_0.gemfile
20
- - gemfiles/rails_4_1.gemfile
21
- - gemfiles/rails_4_2.gemfile
22
19
  - gemfiles/rails_5_0.gemfile
23
20
  - gemfiles/rails_5_1.gemfile
24
21
  - gemfiles/rails_5_2.gemfile
data/Appraisals CHANGED
@@ -1,25 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-4-0' do
4
- gem 'rails', '4.0.13'
5
- end
6
-
7
- appraise 'rails-4-1' do
8
- gem 'rails', '4.1.16'
9
- end
10
-
11
- appraise 'rails-4-2' do
12
- gem 'rails', '4.2.10'
13
- end
14
-
15
3
  appraise 'rails-5-0' do
16
- gem 'rails', '5.0.7'
4
+ gem 'rails', '5.0.7.2'
17
5
  end
18
6
 
19
7
  appraise 'rails-5-1' do
20
- gem 'rails', '5.1.6'
8
+ gem 'rails', '5.1.7'
21
9
  end
22
10
 
23
11
  appraise 'rails-5-2' do
24
- gem 'rails', '5.2.1'
12
+ gem 'rails', '5.2.3'
25
13
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.0.7"
5
+ gem "rails", "5.0.7.2"
6
6
 
7
7
  gemspec path: "../"
@@ -1,45 +1,45 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- light-services (0.6.2)
5
- rails (> 4.0)
4
+ light-services (0.6.3)
5
+ rails (> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.0.7)
11
- actionpack (= 5.0.7)
10
+ actioncable (5.0.7.2)
11
+ actionpack (= 5.0.7.2)
12
12
  nio4r (>= 1.2, < 3.0)
13
13
  websocket-driver (~> 0.6.1)
14
- actionmailer (5.0.7)
15
- actionpack (= 5.0.7)
16
- actionview (= 5.0.7)
17
- activejob (= 5.0.7)
14
+ actionmailer (5.0.7.2)
15
+ actionpack (= 5.0.7.2)
16
+ actionview (= 5.0.7.2)
17
+ activejob (= 5.0.7.2)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.0.7)
21
- actionview (= 5.0.7)
22
- activesupport (= 5.0.7)
20
+ actionpack (5.0.7.2)
21
+ actionview (= 5.0.7.2)
22
+ activesupport (= 5.0.7.2)
23
23
  rack (~> 2.0)
24
24
  rack-test (~> 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.0.7)
28
- activesupport (= 5.0.7)
27
+ actionview (5.0.7.2)
28
+ activesupport (= 5.0.7.2)
29
29
  builder (~> 3.1)
30
30
  erubis (~> 2.7.0)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.0.7)
34
- activesupport (= 5.0.7)
33
+ activejob (5.0.7.2)
34
+ activesupport (= 5.0.7.2)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.0.7)
37
- activesupport (= 5.0.7)
38
- activerecord (5.0.7)
39
- activemodel (= 5.0.7)
40
- activesupport (= 5.0.7)
36
+ activemodel (5.0.7.2)
37
+ activesupport (= 5.0.7.2)
38
+ activerecord (5.0.7.2)
39
+ activemodel (= 5.0.7.2)
40
+ activesupport (= 5.0.7.2)
41
41
  arel (~> 7.0)
42
- activesupport (5.0.7)
42
+ activesupport (5.0.7.2)
43
43
  concurrent-ruby (~> 1.0, >= 1.0.2)
44
44
  i18n (>= 0.7, < 2)
45
45
  minitest (~> 5.1)
@@ -52,51 +52,51 @@ GEM
52
52
  builder (3.2.3)
53
53
  codeclimate-test-reporter (1.0.8)
54
54
  simplecov (<= 0.13)
55
- concurrent-ruby (1.0.5)
55
+ concurrent-ruby (1.1.5)
56
56
  crass (1.0.4)
57
57
  diff-lcs (1.3)
58
58
  docile (1.1.5)
59
59
  erubis (2.7.0)
60
- globalid (0.4.1)
60
+ globalid (0.4.2)
61
61
  activesupport (>= 4.2.0)
62
- i18n (1.1.0)
62
+ i18n (1.6.0)
63
63
  concurrent-ruby (~> 1.0)
64
64
  json (1.8.6)
65
- loofah (2.2.2)
65
+ loofah (2.2.3)
66
66
  crass (~> 1.0.2)
67
67
  nokogiri (>= 1.5.9)
68
- mail (2.7.0)
68
+ mail (2.7.1)
69
69
  mini_mime (>= 0.1.1)
70
- method_source (0.9.0)
71
- mini_mime (1.0.1)
72
- mini_portile2 (2.3.0)
70
+ method_source (0.9.2)
71
+ mini_mime (1.0.2)
72
+ mini_portile2 (2.4.0)
73
73
  minitest (5.11.3)
74
- nio4r (2.3.1)
75
- nokogiri (1.8.4)
76
- mini_portile2 (~> 2.3.0)
77
- rack (2.0.5)
74
+ nio4r (2.4.0)
75
+ nokogiri (1.10.4)
76
+ mini_portile2 (~> 2.4.0)
77
+ rack (2.0.7)
78
78
  rack-test (0.6.3)
79
79
  rack (>= 1.0)
80
- rails (5.0.7)
81
- actioncable (= 5.0.7)
82
- actionmailer (= 5.0.7)
83
- actionpack (= 5.0.7)
84
- actionview (= 5.0.7)
85
- activejob (= 5.0.7)
86
- activemodel (= 5.0.7)
87
- activerecord (= 5.0.7)
88
- activesupport (= 5.0.7)
80
+ rails (5.0.7.2)
81
+ actioncable (= 5.0.7.2)
82
+ actionmailer (= 5.0.7.2)
83
+ actionpack (= 5.0.7.2)
84
+ actionview (= 5.0.7.2)
85
+ activejob (= 5.0.7.2)
86
+ activemodel (= 5.0.7.2)
87
+ activerecord (= 5.0.7.2)
88
+ activesupport (= 5.0.7.2)
89
89
  bundler (>= 1.3.0)
90
- railties (= 5.0.7)
90
+ railties (= 5.0.7.2)
91
91
  sprockets-rails (>= 2.0.0)
92
92
  rails-dom-testing (2.0.3)
93
93
  activesupport (>= 4.2.0)
94
94
  nokogiri (>= 1.6)
95
- rails-html-sanitizer (1.0.4)
95
+ rails-html-sanitizer (1.2.0)
96
96
  loofah (~> 2.2, >= 2.2.2)
97
- railties (5.0.7)
98
- actionpack (= 5.0.7)
99
- activesupport (= 5.0.7)
97
+ railties (5.0.7.2)
98
+ actionpack (= 5.0.7.2)
99
+ activesupport (= 5.0.7.2)
100
100
  method_source
101
101
  rake (>= 0.8.7)
102
102
  thor (>= 0.18.1, < 2.0)
@@ -132,20 +132,20 @@ GEM
132
132
  thread_safe (~> 0.1)
133
133
  websocket-driver (0.6.5)
134
134
  websocket-extensions (>= 0.1.0)
135
- websocket-extensions (0.1.3)
135
+ websocket-extensions (0.1.4)
136
136
 
137
137
  PLATFORMS
138
138
  ruby
139
139
 
140
140
  DEPENDENCIES
141
141
  appraisal (~> 2.1)
142
- bundler (~> 1.12)
142
+ bundler (~> 2.0)
143
143
  codeclimate-test-reporter
144
144
  light-services!
145
- rails (= 5.0.7)
145
+ rails (= 5.0.7.2)
146
146
  rake (~> 10.0)
147
147
  rspec (~> 3.0)
148
148
  simplecov (~> 0.11.2)
149
149
 
150
150
  BUNDLED WITH
151
- 1.16.2
151
+ 2.0.2
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.1.6"
5
+ gem "rails", "5.1.7"
6
6
 
7
7
  gemspec path: "../"
@@ -1,45 +1,45 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- light-services (0.6.2)
5
- rails (> 4.0)
4
+ light-services (0.6.3)
5
+ rails (> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.1.6)
11
- actionpack (= 5.1.6)
10
+ actioncable (5.1.7)
11
+ actionpack (= 5.1.7)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (~> 0.6.1)
14
- actionmailer (5.1.6)
15
- actionpack (= 5.1.6)
16
- actionview (= 5.1.6)
17
- activejob (= 5.1.6)
14
+ actionmailer (5.1.7)
15
+ actionpack (= 5.1.7)
16
+ actionview (= 5.1.7)
17
+ activejob (= 5.1.7)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.1.6)
21
- actionview (= 5.1.6)
22
- activesupport (= 5.1.6)
20
+ actionpack (5.1.7)
21
+ actionview (= 5.1.7)
22
+ activesupport (= 5.1.7)
23
23
  rack (~> 2.0)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.1.6)
28
- activesupport (= 5.1.6)
27
+ actionview (5.1.7)
28
+ activesupport (= 5.1.7)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.1.6)
34
- activesupport (= 5.1.6)
33
+ activejob (5.1.7)
34
+ activesupport (= 5.1.7)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.1.6)
37
- activesupport (= 5.1.6)
38
- activerecord (5.1.6)
39
- activemodel (= 5.1.6)
40
- activesupport (= 5.1.6)
36
+ activemodel (5.1.7)
37
+ activesupport (= 5.1.7)
38
+ activerecord (5.1.7)
39
+ activemodel (= 5.1.7)
40
+ activesupport (= 5.1.7)
41
41
  arel (~> 8.0)
42
- activesupport (5.1.6)
42
+ activesupport (5.1.7)
43
43
  concurrent-ruby (~> 1.0, >= 1.0.2)
44
44
  i18n (>= 0.7, < 2)
45
45
  minitest (~> 5.1)
@@ -52,51 +52,51 @@ GEM
52
52
  builder (3.2.3)
53
53
  codeclimate-test-reporter (1.0.8)
54
54
  simplecov (<= 0.13)
55
- concurrent-ruby (1.0.5)
55
+ concurrent-ruby (1.1.5)
56
56
  crass (1.0.4)
57
57
  diff-lcs (1.3)
58
58
  docile (1.1.5)
59
- erubi (1.7.1)
60
- globalid (0.4.1)
59
+ erubi (1.8.0)
60
+ globalid (0.4.2)
61
61
  activesupport (>= 4.2.0)
62
- i18n (1.1.0)
62
+ i18n (1.6.0)
63
63
  concurrent-ruby (~> 1.0)
64
64
  json (1.8.6)
65
- loofah (2.2.2)
65
+ loofah (2.2.3)
66
66
  crass (~> 1.0.2)
67
67
  nokogiri (>= 1.5.9)
68
- mail (2.7.0)
68
+ mail (2.7.1)
69
69
  mini_mime (>= 0.1.1)
70
- method_source (0.9.0)
71
- mini_mime (1.0.1)
72
- mini_portile2 (2.3.0)
70
+ method_source (0.9.2)
71
+ mini_mime (1.0.2)
72
+ mini_portile2 (2.4.0)
73
73
  minitest (5.11.3)
74
- nio4r (2.3.1)
75
- nokogiri (1.8.4)
76
- mini_portile2 (~> 2.3.0)
77
- rack (2.0.5)
74
+ nio4r (2.4.0)
75
+ nokogiri (1.10.4)
76
+ mini_portile2 (~> 2.4.0)
77
+ rack (2.0.7)
78
78
  rack-test (1.1.0)
79
79
  rack (>= 1.0, < 3)
80
- rails (5.1.6)
81
- actioncable (= 5.1.6)
82
- actionmailer (= 5.1.6)
83
- actionpack (= 5.1.6)
84
- actionview (= 5.1.6)
85
- activejob (= 5.1.6)
86
- activemodel (= 5.1.6)
87
- activerecord (= 5.1.6)
88
- activesupport (= 5.1.6)
80
+ rails (5.1.7)
81
+ actioncable (= 5.1.7)
82
+ actionmailer (= 5.1.7)
83
+ actionpack (= 5.1.7)
84
+ actionview (= 5.1.7)
85
+ activejob (= 5.1.7)
86
+ activemodel (= 5.1.7)
87
+ activerecord (= 5.1.7)
88
+ activesupport (= 5.1.7)
89
89
  bundler (>= 1.3.0)
90
- railties (= 5.1.6)
90
+ railties (= 5.1.7)
91
91
  sprockets-rails (>= 2.0.0)
92
92
  rails-dom-testing (2.0.3)
93
93
  activesupport (>= 4.2.0)
94
94
  nokogiri (>= 1.6)
95
- rails-html-sanitizer (1.0.4)
95
+ rails-html-sanitizer (1.2.0)
96
96
  loofah (~> 2.2, >= 2.2.2)
97
- railties (5.1.6)
98
- actionpack (= 5.1.6)
99
- activesupport (= 5.1.6)
97
+ railties (5.1.7)
98
+ actionpack (= 5.1.7)
99
+ activesupport (= 5.1.7)
100
100
  method_source
101
101
  rake (>= 0.8.7)
102
102
  thor (>= 0.18.1, < 2.0)
@@ -132,20 +132,20 @@ GEM
132
132
  thread_safe (~> 0.1)
133
133
  websocket-driver (0.6.5)
134
134
  websocket-extensions (>= 0.1.0)
135
- websocket-extensions (0.1.3)
135
+ websocket-extensions (0.1.4)
136
136
 
137
137
  PLATFORMS
138
138
  ruby
139
139
 
140
140
  DEPENDENCIES
141
141
  appraisal (~> 2.1)
142
- bundler (~> 1.12)
142
+ bundler (~> 2.0)
143
143
  codeclimate-test-reporter
144
144
  light-services!
145
- rails (= 5.1.6)
145
+ rails (= 5.1.7)
146
146
  rake (~> 10.0)
147
147
  rspec (~> 3.0)
148
148
  simplecov (~> 0.11.2)
149
149
 
150
150
  BUNDLED WITH
151
- 1.16.2
151
+ 2.0.2
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "5.2.1"
5
+ gem "rails", "5.2.3"
6
6
 
7
7
  gemspec path: "../"
@@ -1,49 +1,49 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- light-services (0.6.2)
5
- rails (> 4.0)
4
+ light-services (0.6.3)
5
+ rails (> 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.1)
11
- actionpack (= 5.2.1)
10
+ actioncable (5.2.3)
11
+ actionpack (= 5.2.3)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.1)
15
- actionpack (= 5.2.1)
16
- actionview (= 5.2.1)
17
- activejob (= 5.2.1)
14
+ actionmailer (5.2.3)
15
+ actionpack (= 5.2.3)
16
+ actionview (= 5.2.3)
17
+ activejob (= 5.2.3)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.1)
21
- actionview (= 5.2.1)
22
- activesupport (= 5.2.1)
20
+ actionpack (5.2.3)
21
+ actionview (= 5.2.3)
22
+ activesupport (= 5.2.3)
23
23
  rack (~> 2.0)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.1)
28
- activesupport (= 5.2.1)
27
+ actionview (5.2.3)
28
+ activesupport (= 5.2.3)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.1)
34
- activesupport (= 5.2.1)
33
+ activejob (5.2.3)
34
+ activesupport (= 5.2.3)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.1)
37
- activesupport (= 5.2.1)
38
- activerecord (5.2.1)
39
- activemodel (= 5.2.1)
40
- activesupport (= 5.2.1)
36
+ activemodel (5.2.3)
37
+ activesupport (= 5.2.3)
38
+ activerecord (5.2.3)
39
+ activemodel (= 5.2.3)
40
+ activesupport (= 5.2.3)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.1)
43
- actionpack (= 5.2.1)
44
- activerecord (= 5.2.1)
42
+ activestorage (5.2.3)
43
+ actionpack (= 5.2.3)
44
+ activerecord (= 5.2.3)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.1)
46
+ activesupport (5.2.3)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
@@ -56,55 +56,55 @@ GEM
56
56
  builder (3.2.3)
57
57
  codeclimate-test-reporter (1.0.8)
58
58
  simplecov (<= 0.13)
59
- concurrent-ruby (1.0.5)
59
+ concurrent-ruby (1.1.5)
60
60
  crass (1.0.4)
61
61
  diff-lcs (1.3)
62
62
  docile (1.1.5)
63
- erubi (1.7.1)
64
- globalid (0.4.1)
63
+ erubi (1.8.0)
64
+ globalid (0.4.2)
65
65
  activesupport (>= 4.2.0)
66
- i18n (1.1.0)
66
+ i18n (1.6.0)
67
67
  concurrent-ruby (~> 1.0)
68
68
  json (1.8.6)
69
- loofah (2.2.2)
69
+ loofah (2.2.3)
70
70
  crass (~> 1.0.2)
71
71
  nokogiri (>= 1.5.9)
72
- mail (2.7.0)
72
+ mail (2.7.1)
73
73
  mini_mime (>= 0.1.1)
74
- marcel (0.3.2)
74
+ marcel (0.3.3)
75
75
  mimemagic (~> 0.3.2)
76
- method_source (0.9.0)
77
- mimemagic (0.3.2)
78
- mini_mime (1.0.1)
79
- mini_portile2 (2.3.0)
76
+ method_source (0.9.2)
77
+ mimemagic (0.3.3)
78
+ mini_mime (1.0.2)
79
+ mini_portile2 (2.4.0)
80
80
  minitest (5.11.3)
81
- nio4r (2.3.1)
82
- nokogiri (1.8.4)
83
- mini_portile2 (~> 2.3.0)
84
- rack (2.0.5)
81
+ nio4r (2.4.0)
82
+ nokogiri (1.10.4)
83
+ mini_portile2 (~> 2.4.0)
84
+ rack (2.0.7)
85
85
  rack-test (1.1.0)
86
86
  rack (>= 1.0, < 3)
87
- rails (5.2.1)
88
- actioncable (= 5.2.1)
89
- actionmailer (= 5.2.1)
90
- actionpack (= 5.2.1)
91
- actionview (= 5.2.1)
92
- activejob (= 5.2.1)
93
- activemodel (= 5.2.1)
94
- activerecord (= 5.2.1)
95
- activestorage (= 5.2.1)
96
- activesupport (= 5.2.1)
87
+ rails (5.2.3)
88
+ actioncable (= 5.2.3)
89
+ actionmailer (= 5.2.3)
90
+ actionpack (= 5.2.3)
91
+ actionview (= 5.2.3)
92
+ activejob (= 5.2.3)
93
+ activemodel (= 5.2.3)
94
+ activerecord (= 5.2.3)
95
+ activestorage (= 5.2.3)
96
+ activesupport (= 5.2.3)
97
97
  bundler (>= 1.3.0)
98
- railties (= 5.2.1)
98
+ railties (= 5.2.3)
99
99
  sprockets-rails (>= 2.0.0)
100
100
  rails-dom-testing (2.0.3)
101
101
  activesupport (>= 4.2.0)
102
102
  nokogiri (>= 1.6)
103
- rails-html-sanitizer (1.0.4)
103
+ rails-html-sanitizer (1.2.0)
104
104
  loofah (~> 2.2, >= 2.2.2)
105
- railties (5.2.1)
106
- actionpack (= 5.2.1)
107
- activesupport (= 5.2.1)
105
+ railties (5.2.3)
106
+ actionpack (= 5.2.3)
107
+ activesupport (= 5.2.3)
108
108
  method_source
109
109
  rake (>= 0.8.7)
110
110
  thor (>= 0.19.0, < 2.0)
@@ -138,22 +138,22 @@ GEM
138
138
  thread_safe (0.3.6)
139
139
  tzinfo (1.2.5)
140
140
  thread_safe (~> 0.1)
141
- websocket-driver (0.7.0)
141
+ websocket-driver (0.7.1)
142
142
  websocket-extensions (>= 0.1.0)
143
- websocket-extensions (0.1.3)
143
+ websocket-extensions (0.1.4)
144
144
 
145
145
  PLATFORMS
146
146
  ruby
147
147
 
148
148
  DEPENDENCIES
149
149
  appraisal (~> 2.1)
150
- bundler (~> 1.12)
150
+ bundler (~> 2.0)
151
151
  codeclimate-test-reporter
152
152
  light-services!
153
- rails (= 5.2.1)
153
+ rails (= 5.2.3)
154
154
  rake (~> 10.0)
155
155
  rspec (~> 3.0)
156
156
  simplecov (~> 0.11.2)
157
157
 
158
158
  BUNDLED WITH
159
- 1.16.2
159
+ 2.0.2
@@ -17,8 +17,10 @@ module Light
17
17
  def from_record(record, rollback: true)
18
18
  return unless record.errors.any?
19
19
 
20
- record.errors.to_h.each do |key, message|
21
- add(key, message, rollback: false)
20
+ record.errors.messages.each do |key, messages|
21
+ messages.each do |message|
22
+ add(key, message, rollback: false)
23
+ end
22
24
  end
23
25
 
24
26
  rollback! if rollback
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Light
4
4
  module Services
5
- VERSION = '0.6.2'
5
+ VERSION = '0.6.3'
6
6
  end
7
7
  end
@@ -3,6 +3,7 @@
3
3
 
4
4
  lib = File.expand_path('../lib', __FILE__)
5
5
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+
6
7
  require 'light/services/version'
7
8
 
8
9
  Gem::Specification.new do |spec|
@@ -24,9 +25,9 @@ Gem::Specification.new do |spec|
24
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
26
  spec.require_paths = ['lib']
26
27
 
27
- spec.add_dependency 'rails', '> 4.0'
28
+ spec.add_dependency 'rails', '> 5.0'
28
29
 
29
- spec.add_development_dependency 'bundler', '~> 1.12'
30
+ spec.add_development_dependency 'bundler', '~> 2.0'
30
31
  spec.add_development_dependency 'rake', '~> 10.0'
31
32
  spec.add_development_dependency 'appraisal', '~> 2.1'
32
33
  spec.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: light-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Emelianenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-13 00:00:00.000000000 Z
11
+ date: 2019-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '5.0'
20
20
  type: :runtime
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: '4.0'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
33
+ version: '2.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.12'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -130,12 +130,6 @@ files:
130
130
  - Rakefile
131
131
  - bin/console
132
132
  - bin/setup
133
- - gemfiles/rails_4_0.gemfile
134
- - gemfiles/rails_4_0.gemfile.lock
135
- - gemfiles/rails_4_1.gemfile
136
- - gemfiles/rails_4_1.gemfile.lock
137
- - gemfiles/rails_4_2.gemfile
138
- - gemfiles/rails_4_2.gemfile.lock
139
133
  - gemfiles/rails_5_0.gemfile
140
134
  - gemfiles/rails_5_0.gemfile.lock
141
135
  - gemfiles/rails_5_1.gemfile
@@ -170,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
164
  - !ruby/object:Gem::Version
171
165
  version: '0'
172
166
  requirements: []
173
- rubyforge_project:
174
- rubygems_version: 2.7.6
167
+ rubygems_version: 3.0.1
175
168
  signing_key:
176
169
  specification_version: 4
177
170
  summary: Light pattern Services Object for Ruby/Rails
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "4.0.13"
6
-
7
- gemspec path: "../"
@@ -1,115 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- light-services (0.6.2)
5
- rails (> 4.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (4.0.13)
11
- actionpack (= 4.0.13)
12
- mail (~> 2.5, >= 2.5.4)
13
- actionpack (4.0.13)
14
- activesupport (= 4.0.13)
15
- builder (~> 3.1.0)
16
- erubis (~> 2.7.0)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- activemodel (4.0.13)
20
- activesupport (= 4.0.13)
21
- builder (~> 3.1.0)
22
- activerecord (4.0.13)
23
- activemodel (= 4.0.13)
24
- activerecord-deprecated_finders (~> 1.0.2)
25
- activesupport (= 4.0.13)
26
- arel (~> 4.0.0)
27
- activerecord-deprecated_finders (1.0.4)
28
- activesupport (4.0.13)
29
- i18n (~> 0.6, >= 0.6.9)
30
- minitest (~> 4.2)
31
- multi_json (~> 1.3)
32
- thread_safe (~> 0.1)
33
- tzinfo (~> 0.3.37)
34
- appraisal (2.1.0)
35
- bundler
36
- rake
37
- thor (>= 0.14.0)
38
- arel (4.0.2)
39
- builder (3.1.4)
40
- codeclimate-test-reporter (0.5.1)
41
- simplecov (>= 0.7.1, < 1.0.0)
42
- concurrent-ruby (1.0.2)
43
- diff-lcs (1.2.5)
44
- docile (1.1.5)
45
- erubis (2.7.0)
46
- i18n (0.7.0)
47
- json (1.8.6)
48
- mail (2.6.4)
49
- mime-types (>= 1.16, < 4)
50
- mime-types (3.1)
51
- mime-types-data (~> 3.2015)
52
- mime-types-data (3.2016.0521)
53
- minitest (4.7.5)
54
- multi_json (1.12.1)
55
- rack (1.5.5)
56
- rack-test (0.6.3)
57
- rack (>= 1.0)
58
- rails (4.0.13)
59
- actionmailer (= 4.0.13)
60
- actionpack (= 4.0.13)
61
- activerecord (= 4.0.13)
62
- activesupport (= 4.0.13)
63
- bundler (>= 1.3.0, < 2.0)
64
- railties (= 4.0.13)
65
- sprockets-rails (~> 2.0)
66
- railties (4.0.13)
67
- actionpack (= 4.0.13)
68
- activesupport (= 4.0.13)
69
- rake (>= 0.8.7)
70
- thor (>= 0.18.1, < 2.0)
71
- rake (10.5.0)
72
- rspec (3.4.0)
73
- rspec-core (~> 3.4.0)
74
- rspec-expectations (~> 3.4.0)
75
- rspec-mocks (~> 3.4.0)
76
- rspec-core (3.4.4)
77
- rspec-support (~> 3.4.0)
78
- rspec-expectations (3.4.0)
79
- diff-lcs (>= 1.2.0, < 2.0)
80
- rspec-support (~> 3.4.0)
81
- rspec-mocks (3.4.1)
82
- diff-lcs (>= 1.2.0, < 2.0)
83
- rspec-support (~> 3.4.0)
84
- rspec-support (3.4.1)
85
- simplecov (0.11.2)
86
- docile (~> 1.1.0)
87
- json (~> 1.8)
88
- simplecov-html (~> 0.10.0)
89
- simplecov-html (0.10.0)
90
- sprockets (3.6.1)
91
- concurrent-ruby (~> 1.0)
92
- rack (> 1, < 3)
93
- sprockets-rails (2.3.3)
94
- actionpack (>= 3.0)
95
- activesupport (>= 3.0)
96
- sprockets (>= 2.8, < 4.0)
97
- thor (0.19.1)
98
- thread_safe (0.3.5)
99
- tzinfo (0.3.49)
100
-
101
- PLATFORMS
102
- ruby
103
-
104
- DEPENDENCIES
105
- appraisal (~> 2.1)
106
- bundler (~> 1.12)
107
- codeclimate-test-reporter
108
- light-services!
109
- rails (= 4.0.13)
110
- rake (~> 10.0)
111
- rspec (~> 3.0)
112
- simplecov (~> 0.11.2)
113
-
114
- BUNDLED WITH
115
- 1.16.2
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "4.1.16"
6
-
7
- gemspec path: "../"
@@ -1,118 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- light-services (0.6.2)
5
- rails (> 4.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (4.1.16)
11
- actionpack (= 4.1.16)
12
- actionview (= 4.1.16)
13
- mail (~> 2.5, >= 2.5.4)
14
- actionpack (4.1.16)
15
- actionview (= 4.1.16)
16
- activesupport (= 4.1.16)
17
- rack (~> 1.5.2)
18
- rack-test (~> 0.6.2)
19
- actionview (4.1.16)
20
- activesupport (= 4.1.16)
21
- builder (~> 3.1)
22
- erubis (~> 2.7.0)
23
- activemodel (4.1.16)
24
- activesupport (= 4.1.16)
25
- builder (~> 3.1)
26
- activerecord (4.1.16)
27
- activemodel (= 4.1.16)
28
- activesupport (= 4.1.16)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.16)
31
- i18n (~> 0.6, >= 0.6.9)
32
- json (~> 1.7, >= 1.7.7)
33
- minitest (~> 5.1)
34
- thread_safe (~> 0.1)
35
- tzinfo (~> 1.1)
36
- appraisal (2.1.0)
37
- bundler
38
- rake
39
- thor (>= 0.14.0)
40
- arel (5.0.1.20140414130214)
41
- builder (3.2.3)
42
- codeclimate-test-reporter (0.5.1)
43
- simplecov (>= 0.7.1, < 1.0.0)
44
- concurrent-ruby (1.0.5)
45
- diff-lcs (1.2.5)
46
- docile (1.1.5)
47
- erubis (2.7.0)
48
- i18n (0.9.5)
49
- concurrent-ruby (~> 1.0)
50
- json (1.8.6)
51
- mail (2.7.0)
52
- mini_mime (>= 0.1.1)
53
- mini_mime (1.0.1)
54
- minitest (5.11.3)
55
- rack (1.5.5)
56
- rack-test (0.6.3)
57
- rack (>= 1.0)
58
- rails (4.1.16)
59
- actionmailer (= 4.1.16)
60
- actionpack (= 4.1.16)
61
- actionview (= 4.1.16)
62
- activemodel (= 4.1.16)
63
- activerecord (= 4.1.16)
64
- activesupport (= 4.1.16)
65
- bundler (>= 1.3.0, < 2.0)
66
- railties (= 4.1.16)
67
- sprockets-rails (~> 2.0)
68
- railties (4.1.16)
69
- actionpack (= 4.1.16)
70
- activesupport (= 4.1.16)
71
- rake (>= 0.8.7)
72
- thor (>= 0.18.1, < 2.0)
73
- rake (10.5.0)
74
- rspec (3.4.0)
75
- rspec-core (~> 3.4.0)
76
- rspec-expectations (~> 3.4.0)
77
- rspec-mocks (~> 3.4.0)
78
- rspec-core (3.4.4)
79
- rspec-support (~> 3.4.0)
80
- rspec-expectations (3.4.0)
81
- diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.4.0)
83
- rspec-mocks (3.4.1)
84
- diff-lcs (>= 1.2.0, < 2.0)
85
- rspec-support (~> 3.4.0)
86
- rspec-support (3.4.1)
87
- simplecov (0.11.2)
88
- docile (~> 1.1.0)
89
- json (~> 1.8)
90
- simplecov-html (~> 0.10.0)
91
- simplecov-html (0.10.0)
92
- sprockets (3.7.2)
93
- concurrent-ruby (~> 1.0)
94
- rack (> 1, < 3)
95
- sprockets-rails (2.3.3)
96
- actionpack (>= 3.0)
97
- activesupport (>= 3.0)
98
- sprockets (>= 2.8, < 4.0)
99
- thor (0.19.1)
100
- thread_safe (0.3.6)
101
- tzinfo (1.2.5)
102
- thread_safe (~> 0.1)
103
-
104
- PLATFORMS
105
- ruby
106
-
107
- DEPENDENCIES
108
- appraisal (~> 2.1)
109
- bundler (~> 1.12)
110
- codeclimate-test-reporter
111
- light-services!
112
- rails (= 4.1.16)
113
- rake (~> 10.0)
114
- rspec (~> 3.0)
115
- simplecov (~> 0.11.2)
116
-
117
- BUNDLED WITH
118
- 1.16.2
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "4.2.10"
6
-
7
- gemspec path: "../"
@@ -1,144 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- light-services (0.6.2)
5
- rails (> 4.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (4.2.10)
11
- actionpack (= 4.2.10)
12
- actionview (= 4.2.10)
13
- activejob (= 4.2.10)
14
- mail (~> 2.5, >= 2.5.4)
15
- rails-dom-testing (~> 1.0, >= 1.0.5)
16
- actionpack (4.2.10)
17
- actionview (= 4.2.10)
18
- activesupport (= 4.2.10)
19
- rack (~> 1.6)
20
- rack-test (~> 0.6.2)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
- actionview (4.2.10)
24
- activesupport (= 4.2.10)
25
- builder (~> 3.1)
26
- erubis (~> 2.7.0)
27
- rails-dom-testing (~> 1.0, >= 1.0.5)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
29
- activejob (4.2.10)
30
- activesupport (= 4.2.10)
31
- globalid (>= 0.3.0)
32
- activemodel (4.2.10)
33
- activesupport (= 4.2.10)
34
- builder (~> 3.1)
35
- activerecord (4.2.10)
36
- activemodel (= 4.2.10)
37
- activesupport (= 4.2.10)
38
- arel (~> 6.0)
39
- activesupport (4.2.10)
40
- i18n (~> 0.7)
41
- minitest (~> 5.1)
42
- thread_safe (~> 0.3, >= 0.3.4)
43
- tzinfo (~> 1.1)
44
- appraisal (2.1.0)
45
- bundler
46
- rake
47
- thor (>= 0.14.0)
48
- arel (6.0.4)
49
- builder (3.2.3)
50
- codeclimate-test-reporter (0.5.1)
51
- simplecov (>= 0.7.1, < 1.0.0)
52
- concurrent-ruby (1.0.5)
53
- crass (1.0.4)
54
- diff-lcs (1.2.5)
55
- docile (1.1.5)
56
- erubis (2.7.0)
57
- globalid (0.4.1)
58
- activesupport (>= 4.2.0)
59
- i18n (0.9.5)
60
- concurrent-ruby (~> 1.0)
61
- json (1.8.6)
62
- loofah (2.2.2)
63
- crass (~> 1.0.2)
64
- nokogiri (>= 1.5.9)
65
- mail (2.7.0)
66
- mini_mime (>= 0.1.1)
67
- mini_mime (1.0.1)
68
- mini_portile2 (2.3.0)
69
- minitest (5.11.3)
70
- nokogiri (1.8.4)
71
- mini_portile2 (~> 2.3.0)
72
- rack (1.6.10)
73
- rack-test (0.6.3)
74
- rack (>= 1.0)
75
- rails (4.2.10)
76
- actionmailer (= 4.2.10)
77
- actionpack (= 4.2.10)
78
- actionview (= 4.2.10)
79
- activejob (= 4.2.10)
80
- activemodel (= 4.2.10)
81
- activerecord (= 4.2.10)
82
- activesupport (= 4.2.10)
83
- bundler (>= 1.3.0, < 2.0)
84
- railties (= 4.2.10)
85
- sprockets-rails
86
- rails-deprecated_sanitizer (1.0.3)
87
- activesupport (>= 4.2.0.alpha)
88
- rails-dom-testing (1.0.9)
89
- activesupport (>= 4.2.0, < 5.0)
90
- nokogiri (~> 1.6)
91
- rails-deprecated_sanitizer (>= 1.0.1)
92
- rails-html-sanitizer (1.0.4)
93
- loofah (~> 2.2, >= 2.2.2)
94
- railties (4.2.10)
95
- actionpack (= 4.2.10)
96
- activesupport (= 4.2.10)
97
- rake (>= 0.8.7)
98
- thor (>= 0.18.1, < 2.0)
99
- rake (10.5.0)
100
- rspec (3.4.0)
101
- rspec-core (~> 3.4.0)
102
- rspec-expectations (~> 3.4.0)
103
- rspec-mocks (~> 3.4.0)
104
- rspec-core (3.4.4)
105
- rspec-support (~> 3.4.0)
106
- rspec-expectations (3.4.0)
107
- diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.4.0)
109
- rspec-mocks (3.4.1)
110
- diff-lcs (>= 1.2.0, < 2.0)
111
- rspec-support (~> 3.4.0)
112
- rspec-support (3.4.1)
113
- simplecov (0.11.2)
114
- docile (~> 1.1.0)
115
- json (~> 1.8)
116
- simplecov-html (~> 0.10.0)
117
- simplecov-html (0.10.0)
118
- sprockets (3.7.2)
119
- concurrent-ruby (~> 1.0)
120
- rack (> 1, < 3)
121
- sprockets-rails (3.2.1)
122
- actionpack (>= 4.0)
123
- activesupport (>= 4.0)
124
- sprockets (>= 3.0.0)
125
- thor (0.19.1)
126
- thread_safe (0.3.6)
127
- tzinfo (1.2.5)
128
- thread_safe (~> 0.1)
129
-
130
- PLATFORMS
131
- ruby
132
-
133
- DEPENDENCIES
134
- appraisal (~> 2.1)
135
- bundler (~> 1.12)
136
- codeclimate-test-reporter
137
- light-services!
138
- rails (= 4.2.10)
139
- rake (~> 10.0)
140
- rspec (~> 3.0)
141
- simplecov (~> 0.11.2)
142
-
143
- BUNDLED WITH
144
- 1.16.2