heavy_control 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/.ruby-version +1 -0
- data/Appraisals +1 -0
- data/Gemfile +1 -0
- data/Rakefile +1 -0
- data/gemfiles/rails_4.2.gemfile +1 -1
- data/gemfiles/rails_4.2.gemfile.lock +79 -78
- data/gemfiles/rails_5.0.gemfile +1 -1
- data/gemfiles/rails_5.0.gemfile.lock +89 -87
- data/heavy_control.gemspec +2 -0
- data/lib/heavy_control/configurable.rb +1 -0
- data/lib/heavy_control/explicit_loader.rb +11 -1
- data/lib/heavy_control/extensions/ignore_subfolders.rb +1 -0
- data/lib/heavy_control/extensions/logging.rb +1 -0
- data/lib/heavy_control/extensions.rb +1 -0
- data/lib/heavy_control/railtie.rb +1 -0
- data/lib/heavy_control/version.rb +2 -1
- data/lib/heavy_control.rb +1 -0
- metadata +18 -4
- data/.codeclimate.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f434422d77966314f5442eab1e04cc47c36fced8
|
4
|
+
data.tar.gz: 0a6d623683736b4954891167346f1def11ff76c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1b46c4f5e4725aa7a15b2c60af21119707c54248ed4dd819d8498614fd1465bb573bf0a6ed9d4f4be6fd5c8e3348020d5bf7b38aa10c4c5597e2b4f1fbde4c3
|
7
|
+
data.tar.gz: 3a2b9a72ceaa7359960ef1009c8243c89862d21bcb50840d93602cc2f413a64e3bbac41e9a0fb21ec8c3104dad22f07f7e5d4910998553d46ca50e7791542434
|
data/.rubocop.yml
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.1
|
data/Appraisals
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/gemfiles/rails_4.2.gemfile
CHANGED
@@ -1,153 +1,153 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
|
-
heavy_control (0.1.
|
4
|
+
heavy_control (0.1.2)
|
5
5
|
rails (> 4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionmailer (4.2.
|
11
|
-
actionpack (= 4.2.
|
12
|
-
actionview (= 4.2.
|
13
|
-
activejob (= 4.2.
|
10
|
+
actionmailer (4.2.9)
|
11
|
+
actionpack (= 4.2.9)
|
12
|
+
actionview (= 4.2.9)
|
13
|
+
activejob (= 4.2.9)
|
14
14
|
mail (~> 2.5, >= 2.5.4)
|
15
15
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
-
actionpack (4.2.
|
17
|
-
actionview (= 4.2.
|
18
|
-
activesupport (= 4.2.
|
16
|
+
actionpack (4.2.9)
|
17
|
+
actionview (= 4.2.9)
|
18
|
+
activesupport (= 4.2.9)
|
19
19
|
rack (~> 1.6)
|
20
20
|
rack-test (~> 0.6.2)
|
21
21
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
22
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
-
actionview (4.2.
|
24
|
-
activesupport (= 4.2.
|
23
|
+
actionview (4.2.9)
|
24
|
+
activesupport (= 4.2.9)
|
25
25
|
builder (~> 3.1)
|
26
26
|
erubis (~> 2.7.0)
|
27
27
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
28
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
29
|
-
activejob (4.2.
|
30
|
-
activesupport (= 4.2.
|
28
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
29
|
+
activejob (4.2.9)
|
30
|
+
activesupport (= 4.2.9)
|
31
31
|
globalid (>= 0.3.0)
|
32
|
-
activemodel (4.2.
|
33
|
-
activesupport (= 4.2.
|
32
|
+
activemodel (4.2.9)
|
33
|
+
activesupport (= 4.2.9)
|
34
34
|
builder (~> 3.1)
|
35
|
-
activerecord (4.2.
|
36
|
-
activemodel (= 4.2.
|
37
|
-
activesupport (= 4.2.
|
35
|
+
activerecord (4.2.9)
|
36
|
+
activemodel (= 4.2.9)
|
37
|
+
activesupport (= 4.2.9)
|
38
38
|
arel (~> 6.0)
|
39
|
-
activesupport (4.2.
|
39
|
+
activesupport (4.2.9)
|
40
40
|
i18n (~> 0.7)
|
41
|
-
json (~> 1.7, >= 1.7.7)
|
42
41
|
minitest (~> 5.1)
|
43
42
|
thread_safe (~> 0.3, >= 0.3.4)
|
44
43
|
tzinfo (~> 1.1)
|
45
|
-
appraisal (2.
|
44
|
+
appraisal (2.2.0)
|
46
45
|
bundler
|
47
46
|
rake
|
48
47
|
thor (>= 0.14.0)
|
49
|
-
arel (6.0.
|
48
|
+
arel (6.0.4)
|
50
49
|
ast (2.3.0)
|
51
|
-
builder (3.2.
|
52
|
-
codeclimate-test-reporter (0.
|
53
|
-
simplecov (
|
50
|
+
builder (3.2.3)
|
51
|
+
codeclimate-test-reporter (1.0.8)
|
52
|
+
simplecov (<= 0.13)
|
54
53
|
coderay (1.1.1)
|
55
|
-
concurrent-ruby (1.0.
|
56
|
-
diff-lcs (1.
|
54
|
+
concurrent-ruby (1.0.5)
|
55
|
+
diff-lcs (1.3)
|
57
56
|
docile (1.1.5)
|
58
57
|
erubis (2.7.0)
|
59
|
-
globalid (0.
|
60
|
-
activesupport (>= 4.
|
61
|
-
i18n (0.
|
62
|
-
json (1.
|
58
|
+
globalid (0.4.0)
|
59
|
+
activesupport (>= 4.2.0)
|
60
|
+
i18n (0.8.6)
|
61
|
+
json (2.1.0)
|
63
62
|
loofah (2.0.3)
|
64
63
|
nokogiri (>= 1.5.9)
|
65
|
-
mail (2.6.
|
64
|
+
mail (2.6.6)
|
66
65
|
mime-types (>= 1.16, < 4)
|
67
66
|
method_source (0.8.2)
|
68
67
|
mime-types (3.1)
|
69
68
|
mime-types-data (~> 3.2015)
|
70
69
|
mime-types-data (3.2016.0521)
|
71
|
-
mini_portile2 (2.
|
72
|
-
minitest (5.
|
73
|
-
nokogiri (1.
|
74
|
-
mini_portile2 (~> 2.
|
75
|
-
|
76
|
-
parser (2.
|
70
|
+
mini_portile2 (2.2.0)
|
71
|
+
minitest (5.10.3)
|
72
|
+
nokogiri (1.8.0)
|
73
|
+
mini_portile2 (~> 2.2.0)
|
74
|
+
parallel (1.12.0)
|
75
|
+
parser (2.4.0.0)
|
77
76
|
ast (~> 2.2)
|
78
|
-
pkg-config (1.1.7)
|
79
77
|
powerpack (0.1.1)
|
80
78
|
pry (0.10.4)
|
81
79
|
coderay (~> 1.1.0)
|
82
80
|
method_source (~> 0.8.1)
|
83
81
|
slop (~> 3.4)
|
84
|
-
rack (1.6.
|
82
|
+
rack (1.6.8)
|
85
83
|
rack-test (0.6.3)
|
86
84
|
rack (>= 1.0)
|
87
|
-
rails (4.2.
|
88
|
-
actionmailer (= 4.2.
|
89
|
-
actionpack (= 4.2.
|
90
|
-
actionview (= 4.2.
|
91
|
-
activejob (= 4.2.
|
92
|
-
activemodel (= 4.2.
|
93
|
-
activerecord (= 4.2.
|
94
|
-
activesupport (= 4.2.
|
85
|
+
rails (4.2.9)
|
86
|
+
actionmailer (= 4.2.9)
|
87
|
+
actionpack (= 4.2.9)
|
88
|
+
actionview (= 4.2.9)
|
89
|
+
activejob (= 4.2.9)
|
90
|
+
activemodel (= 4.2.9)
|
91
|
+
activerecord (= 4.2.9)
|
92
|
+
activesupport (= 4.2.9)
|
95
93
|
bundler (>= 1.3.0, < 2.0)
|
96
|
-
railties (= 4.2.
|
94
|
+
railties (= 4.2.9)
|
97
95
|
sprockets-rails
|
98
96
|
rails-deprecated_sanitizer (1.0.3)
|
99
97
|
activesupport (>= 4.2.0.alpha)
|
100
|
-
rails-dom-testing (1.0.
|
98
|
+
rails-dom-testing (1.0.8)
|
101
99
|
activesupport (>= 4.2.0.beta, < 5.0)
|
102
|
-
nokogiri (~> 1.6
|
100
|
+
nokogiri (~> 1.6)
|
103
101
|
rails-deprecated_sanitizer (>= 1.0.1)
|
104
102
|
rails-html-sanitizer (1.0.3)
|
105
103
|
loofah (~> 2.0)
|
106
|
-
railties (4.2.
|
107
|
-
actionpack (= 4.2.
|
108
|
-
activesupport (= 4.2.
|
104
|
+
railties (4.2.9)
|
105
|
+
actionpack (= 4.2.9)
|
106
|
+
activesupport (= 4.2.9)
|
109
107
|
rake (>= 0.8.7)
|
110
108
|
thor (>= 0.18.1, < 2.0)
|
111
|
-
rainbow (2.
|
109
|
+
rainbow (2.2.2)
|
110
|
+
rake
|
112
111
|
rake (10.5.0)
|
113
|
-
rspec (3.
|
114
|
-
rspec-core (~> 3.
|
115
|
-
rspec-expectations (~> 3.
|
116
|
-
rspec-mocks (~> 3.
|
117
|
-
rspec-core (3.
|
118
|
-
rspec-support (~> 3.
|
119
|
-
rspec-expectations (3.
|
112
|
+
rspec (3.6.0)
|
113
|
+
rspec-core (~> 3.6.0)
|
114
|
+
rspec-expectations (~> 3.6.0)
|
115
|
+
rspec-mocks (~> 3.6.0)
|
116
|
+
rspec-core (3.6.0)
|
117
|
+
rspec-support (~> 3.6.0)
|
118
|
+
rspec-expectations (3.6.0)
|
120
119
|
diff-lcs (>= 1.2.0, < 2.0)
|
121
|
-
rspec-support (~> 3.
|
122
|
-
rspec-mocks (3.
|
120
|
+
rspec-support (~> 3.6.0)
|
121
|
+
rspec-mocks (3.6.0)
|
123
122
|
diff-lcs (>= 1.2.0, < 2.0)
|
124
|
-
rspec-support (~> 3.
|
125
|
-
rspec-support (3.
|
126
|
-
rubocop (0.
|
127
|
-
|
123
|
+
rspec-support (~> 3.6.0)
|
124
|
+
rspec-support (3.6.0)
|
125
|
+
rubocop (0.49.1)
|
126
|
+
parallel (~> 1.10)
|
127
|
+
parser (>= 2.3.3.1, < 3.0)
|
128
128
|
powerpack (~> 0.1)
|
129
129
|
rainbow (>= 1.99.1, < 3.0)
|
130
130
|
ruby-progressbar (~> 1.7)
|
131
131
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
132
132
|
ruby-progressbar (1.8.1)
|
133
|
-
simplecov (0.
|
133
|
+
simplecov (0.13.0)
|
134
134
|
docile (~> 1.1.0)
|
135
135
|
json (>= 1.8, < 3)
|
136
136
|
simplecov-html (~> 0.10.0)
|
137
|
-
simplecov-html (0.10.
|
137
|
+
simplecov-html (0.10.1)
|
138
138
|
slop (3.6.0)
|
139
|
-
sprockets (3.7.
|
139
|
+
sprockets (3.7.1)
|
140
140
|
concurrent-ruby (~> 1.0)
|
141
141
|
rack (> 1, < 3)
|
142
|
-
sprockets-rails (3.
|
142
|
+
sprockets-rails (3.2.0)
|
143
143
|
actionpack (>= 4.0)
|
144
144
|
activesupport (>= 4.0)
|
145
145
|
sprockets (>= 3.0.0)
|
146
|
-
thor (0.19.
|
147
|
-
thread_safe (0.3.
|
148
|
-
tzinfo (1.2.
|
146
|
+
thor (0.19.4)
|
147
|
+
thread_safe (0.3.6)
|
148
|
+
tzinfo (1.2.3)
|
149
149
|
thread_safe (~> 0.1)
|
150
|
-
unicode-display_width (1.
|
150
|
+
unicode-display_width (1.3.0)
|
151
151
|
|
152
152
|
PLATFORMS
|
153
153
|
ruby
|
@@ -162,6 +162,7 @@ DEPENDENCIES
|
|
162
162
|
rake (~> 10.0)
|
163
163
|
rspec (~> 3.0)
|
164
164
|
rubocop
|
165
|
+
simplecov
|
165
166
|
|
166
167
|
BUNDLED WITH
|
167
|
-
1.
|
168
|
+
1.15.3
|
data/gemfiles/rails_5.0.gemfile
CHANGED
@@ -1,156 +1,157 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
|
-
heavy_control (0.1.
|
4
|
+
heavy_control (0.1.2)
|
5
5
|
rails (> 4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (5.
|
11
|
-
actionpack (= 5.
|
12
|
-
nio4r (~>
|
10
|
+
actioncable (5.1.2)
|
11
|
+
actionpack (= 5.1.2)
|
12
|
+
nio4r (~> 2.0)
|
13
13
|
websocket-driver (~> 0.6.1)
|
14
|
-
actionmailer (5.
|
15
|
-
actionpack (= 5.
|
16
|
-
actionview (= 5.
|
17
|
-
activejob (= 5.
|
14
|
+
actionmailer (5.1.2)
|
15
|
+
actionpack (= 5.1.2)
|
16
|
+
actionview (= 5.1.2)
|
17
|
+
activejob (= 5.1.2)
|
18
18
|
mail (~> 2.5, >= 2.5.4)
|
19
19
|
rails-dom-testing (~> 2.0)
|
20
|
-
actionpack (5.
|
21
|
-
actionview (= 5.
|
22
|
-
activesupport (= 5.
|
20
|
+
actionpack (5.1.2)
|
21
|
+
actionview (= 5.1.2)
|
22
|
+
activesupport (= 5.1.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.
|
28
|
-
activesupport (= 5.
|
27
|
+
actionview (5.1.2)
|
28
|
+
activesupport (= 5.1.2)
|
29
29
|
builder (~> 3.1)
|
30
|
-
|
30
|
+
erubi (~> 1.4)
|
31
31
|
rails-dom-testing (~> 2.0)
|
32
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
33
|
-
activejob (5.
|
34
|
-
activesupport (= 5.
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
+
activejob (5.1.2)
|
34
|
+
activesupport (= 5.1.2)
|
35
35
|
globalid (>= 0.3.6)
|
36
|
-
activemodel (5.
|
37
|
-
activesupport (= 5.
|
38
|
-
activerecord (5.
|
39
|
-
activemodel (= 5.
|
40
|
-
activesupport (= 5.
|
41
|
-
arel (~>
|
42
|
-
activesupport (5.
|
36
|
+
activemodel (5.1.2)
|
37
|
+
activesupport (= 5.1.2)
|
38
|
+
activerecord (5.1.2)
|
39
|
+
activemodel (= 5.1.2)
|
40
|
+
activesupport (= 5.1.2)
|
41
|
+
arel (~> 8.0)
|
42
|
+
activesupport (5.1.2)
|
43
43
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
44
44
|
i18n (~> 0.7)
|
45
45
|
minitest (~> 5.1)
|
46
46
|
tzinfo (~> 1.1)
|
47
|
-
appraisal (2.
|
47
|
+
appraisal (2.2.0)
|
48
48
|
bundler
|
49
49
|
rake
|
50
50
|
thor (>= 0.14.0)
|
51
|
-
arel (
|
51
|
+
arel (8.0.0)
|
52
52
|
ast (2.3.0)
|
53
|
-
builder (3.2.
|
54
|
-
codeclimate-test-reporter (0.
|
55
|
-
simplecov (
|
53
|
+
builder (3.2.3)
|
54
|
+
codeclimate-test-reporter (1.0.8)
|
55
|
+
simplecov (<= 0.13)
|
56
56
|
coderay (1.1.1)
|
57
|
-
concurrent-ruby (1.0.
|
58
|
-
diff-lcs (1.
|
57
|
+
concurrent-ruby (1.0.5)
|
58
|
+
diff-lcs (1.3)
|
59
59
|
docile (1.1.5)
|
60
|
-
|
61
|
-
globalid (0.
|
62
|
-
activesupport (>= 4.
|
63
|
-
i18n (0.
|
64
|
-
json (2.0
|
60
|
+
erubi (1.6.1)
|
61
|
+
globalid (0.4.0)
|
62
|
+
activesupport (>= 4.2.0)
|
63
|
+
i18n (0.8.6)
|
64
|
+
json (2.1.0)
|
65
65
|
loofah (2.0.3)
|
66
66
|
nokogiri (>= 1.5.9)
|
67
|
-
mail (2.6.
|
67
|
+
mail (2.6.6)
|
68
68
|
mime-types (>= 1.16, < 4)
|
69
69
|
method_source (0.8.2)
|
70
70
|
mime-types (3.1)
|
71
71
|
mime-types-data (~> 3.2015)
|
72
72
|
mime-types-data (3.2016.0521)
|
73
|
-
mini_portile2 (2.
|
74
|
-
minitest (5.
|
75
|
-
nio4r (
|
76
|
-
nokogiri (1.
|
77
|
-
mini_portile2 (~> 2.
|
78
|
-
|
79
|
-
parser (2.
|
73
|
+
mini_portile2 (2.2.0)
|
74
|
+
minitest (5.10.3)
|
75
|
+
nio4r (2.1.0)
|
76
|
+
nokogiri (1.8.0)
|
77
|
+
mini_portile2 (~> 2.2.0)
|
78
|
+
parallel (1.12.0)
|
79
|
+
parser (2.4.0.0)
|
80
80
|
ast (~> 2.2)
|
81
|
-
pkg-config (1.1.7)
|
82
81
|
powerpack (0.1.1)
|
83
82
|
pry (0.10.4)
|
84
83
|
coderay (~> 1.1.0)
|
85
84
|
method_source (~> 0.8.1)
|
86
85
|
slop (~> 3.4)
|
87
|
-
rack (2.0.
|
86
|
+
rack (2.0.3)
|
88
87
|
rack-test (0.6.3)
|
89
88
|
rack (>= 1.0)
|
90
|
-
rails (5.
|
91
|
-
actioncable (= 5.
|
92
|
-
actionmailer (= 5.
|
93
|
-
actionpack (= 5.
|
94
|
-
actionview (= 5.
|
95
|
-
activejob (= 5.
|
96
|
-
activemodel (= 5.
|
97
|
-
activerecord (= 5.
|
98
|
-
activesupport (= 5.
|
89
|
+
rails (5.1.2)
|
90
|
+
actioncable (= 5.1.2)
|
91
|
+
actionmailer (= 5.1.2)
|
92
|
+
actionpack (= 5.1.2)
|
93
|
+
actionview (= 5.1.2)
|
94
|
+
activejob (= 5.1.2)
|
95
|
+
activemodel (= 5.1.2)
|
96
|
+
activerecord (= 5.1.2)
|
97
|
+
activesupport (= 5.1.2)
|
99
98
|
bundler (>= 1.3.0, < 2.0)
|
100
|
-
railties (= 5.
|
99
|
+
railties (= 5.1.2)
|
101
100
|
sprockets-rails (>= 2.0.0)
|
102
|
-
rails-dom-testing (2.0.
|
103
|
-
activesupport (>= 4.2.0
|
104
|
-
nokogiri (
|
101
|
+
rails-dom-testing (2.0.3)
|
102
|
+
activesupport (>= 4.2.0)
|
103
|
+
nokogiri (>= 1.6)
|
105
104
|
rails-html-sanitizer (1.0.3)
|
106
105
|
loofah (~> 2.0)
|
107
|
-
railties (5.
|
108
|
-
actionpack (= 5.
|
109
|
-
activesupport (= 5.
|
106
|
+
railties (5.1.2)
|
107
|
+
actionpack (= 5.1.2)
|
108
|
+
activesupport (= 5.1.2)
|
110
109
|
method_source
|
111
110
|
rake (>= 0.8.7)
|
112
111
|
thor (>= 0.18.1, < 2.0)
|
113
|
-
rainbow (2.
|
112
|
+
rainbow (2.2.2)
|
113
|
+
rake
|
114
114
|
rake (10.5.0)
|
115
|
-
rspec (3.
|
116
|
-
rspec-core (~> 3.
|
117
|
-
rspec-expectations (~> 3.
|
118
|
-
rspec-mocks (~> 3.
|
119
|
-
rspec-core (3.
|
120
|
-
rspec-support (~> 3.
|
121
|
-
rspec-expectations (3.
|
115
|
+
rspec (3.6.0)
|
116
|
+
rspec-core (~> 3.6.0)
|
117
|
+
rspec-expectations (~> 3.6.0)
|
118
|
+
rspec-mocks (~> 3.6.0)
|
119
|
+
rspec-core (3.6.0)
|
120
|
+
rspec-support (~> 3.6.0)
|
121
|
+
rspec-expectations (3.6.0)
|
122
122
|
diff-lcs (>= 1.2.0, < 2.0)
|
123
|
-
rspec-support (~> 3.
|
124
|
-
rspec-mocks (3.
|
123
|
+
rspec-support (~> 3.6.0)
|
124
|
+
rspec-mocks (3.6.0)
|
125
125
|
diff-lcs (>= 1.2.0, < 2.0)
|
126
|
-
rspec-support (~> 3.
|
127
|
-
rspec-support (3.
|
128
|
-
rubocop (0.
|
129
|
-
|
126
|
+
rspec-support (~> 3.6.0)
|
127
|
+
rspec-support (3.6.0)
|
128
|
+
rubocop (0.49.1)
|
129
|
+
parallel (~> 1.10)
|
130
|
+
parser (>= 2.3.3.1, < 3.0)
|
130
131
|
powerpack (~> 0.1)
|
131
132
|
rainbow (>= 1.99.1, < 3.0)
|
132
133
|
ruby-progressbar (~> 1.7)
|
133
134
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
134
135
|
ruby-progressbar (1.8.1)
|
135
|
-
simplecov (0.
|
136
|
+
simplecov (0.13.0)
|
136
137
|
docile (~> 1.1.0)
|
137
138
|
json (>= 1.8, < 3)
|
138
139
|
simplecov-html (~> 0.10.0)
|
139
|
-
simplecov-html (0.10.
|
140
|
+
simplecov-html (0.10.1)
|
140
141
|
slop (3.6.0)
|
141
|
-
sprockets (3.7.
|
142
|
+
sprockets (3.7.1)
|
142
143
|
concurrent-ruby (~> 1.0)
|
143
144
|
rack (> 1, < 3)
|
144
|
-
sprockets-rails (3.
|
145
|
+
sprockets-rails (3.2.0)
|
145
146
|
actionpack (>= 4.0)
|
146
147
|
activesupport (>= 4.0)
|
147
148
|
sprockets (>= 3.0.0)
|
148
|
-
thor (0.19.
|
149
|
-
thread_safe (0.3.
|
150
|
-
tzinfo (1.2.
|
149
|
+
thor (0.19.4)
|
150
|
+
thread_safe (0.3.6)
|
151
|
+
tzinfo (1.2.3)
|
151
152
|
thread_safe (~> 0.1)
|
152
|
-
unicode-display_width (1.
|
153
|
-
websocket-driver (0.6.
|
153
|
+
unicode-display_width (1.3.0)
|
154
|
+
websocket-driver (0.6.5)
|
154
155
|
websocket-extensions (>= 0.1.0)
|
155
156
|
websocket-extensions (0.1.2)
|
156
157
|
|
@@ -167,6 +168,7 @@ DEPENDENCIES
|
|
167
168
|
rake (~> 10.0)
|
168
169
|
rspec (~> 3.0)
|
169
170
|
rubocop
|
171
|
+
simplecov
|
170
172
|
|
171
173
|
BUNDLED WITH
|
172
|
-
1.
|
174
|
+
1.15.3
|
data/heavy_control.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
# frozen_string_literal: true
|
3
|
+
|
3
4
|
lib = File.expand_path('../lib', __FILE__)
|
4
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
6
|
require 'heavy_control/version'
|
@@ -33,5 +34,6 @@ Gem::Specification.new do |spec|
|
|
33
34
|
spec.add_development_dependency 'pry'
|
34
35
|
spec.add_development_dependency 'rubocop'
|
35
36
|
spec.add_development_dependency 'appraisal'
|
37
|
+
spec.add_development_dependency 'simplecov'
|
36
38
|
spec.add_development_dependency 'codeclimate-test-reporter'
|
37
39
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
|
2
3
|
module HeavyControl
|
3
4
|
module ExplicitLoader
|
4
5
|
class << self
|
5
6
|
def apply
|
6
7
|
load_consts # explicit loading for production
|
7
8
|
|
8
|
-
|
9
|
+
reloader_class.to_prepare do # handle reloading in dev mode
|
9
10
|
HeavyControl::ExplicitLoader.load_consts
|
10
11
|
end
|
11
12
|
end
|
@@ -13,6 +14,15 @@ module HeavyControl
|
|
13
14
|
def load_consts
|
14
15
|
HeavyControl.config[:always_load].each(&:constantize)
|
15
16
|
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def reloader_class
|
21
|
+
case Rails::VERSION::MAJOR
|
22
|
+
when 5 then ActiveSupport::Reloader
|
23
|
+
when 4 then ActionDispatch::Reloader
|
24
|
+
end
|
25
|
+
end
|
16
26
|
end
|
17
27
|
end
|
18
28
|
end
|
data/lib/heavy_control.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heavy_control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Kolesnev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: codeclimate-test-reporter
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,10 +143,10 @@ executables: []
|
|
129
143
|
extensions: []
|
130
144
|
extra_rdoc_files: []
|
131
145
|
files:
|
132
|
-
- ".codeclimate.yml"
|
133
146
|
- ".gitignore"
|
134
147
|
- ".rspec"
|
135
148
|
- ".rubocop.yml"
|
149
|
+
- ".ruby-version"
|
136
150
|
- ".travis.yml"
|
137
151
|
- Appraisals
|
138
152
|
- Gemfile
|
@@ -175,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
189
|
version: '0'
|
176
190
|
requirements: []
|
177
191
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.6.11
|
179
193
|
signing_key:
|
180
194
|
specification_version: 4
|
181
195
|
summary: Take rails constants' loading under control
|