plug 0.1.19 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -9
- data/Rakefile +3 -1
- data/app/assets/javascripts/plug/application.js +5 -0
- data/app/assets/javascripts/plug/trix-core.js +12 -0
- data/app/assets/stylesheets/plug/application.scss +2 -0
- data/app/assets/stylesheets/plug/blocks/_state.scss +4 -2
- data/app/assets/stylesheets/plug/milligram.scss +632 -599
- data/app/assets/stylesheets/plug/trix-overrides.scss +8 -0
- data/app/assets/stylesheets/plug/trix.scss +374 -0
- data/app/controllers/plug/api/api_controller.rb +2 -0
- data/app/controllers/plug/api/features_controller.rb +21 -0
- data/app/controllers/plug/api/site_notices_controller.rb +2 -0
- data/app/controllers/plug/application_controller.rb +5 -3
- data/app/controllers/plug/features_controller.rb +13 -19
- data/app/controllers/plug/site_notices_controller.rb +13 -19
- data/app/helpers/plug/application_helper.rb +2 -0
- data/app/mailers/plug/application_mailer.rb +2 -0
- data/app/models/plug/application_record.rb +2 -0
- data/app/models/plug/concerns/model_helpers.rb +6 -5
- data/app/models/plug/feature.rb +2 -0
- data/app/models/plug/resources/feature.rb +15 -0
- data/app/models/plug/resources/site_notice.rb +2 -2
- data/app/models/plug/site_notice.rb +2 -1
- data/app/services/plug/task_execution_service.rb +2 -0
- data/app/views/plug/features/index.html.haml +6 -6
- data/app/views/plug/shared/_head.html.haml +1 -1
- data/app/views/plug/shared/_nav.html.haml +1 -1
- data/app/views/plug/site_notices/_form.html.haml +3 -2
- data/app/views/plug/site_notices/index.html.haml +7 -7
- data/config/routes.rb +4 -0
- data/db/migrate/20171207020316_create_plug_features.rb +1 -1
- data/db/migrate/20180128202026_add_notice_to_plug_features.rb +1 -1
- data/db/migrate/20180403024712_create_plug_site_notices.rb +1 -1
- data/db/migrate/20180424015828_add_theme_to_plug_site_notice.rb +2 -0
- data/lib/generators/plug/install_generator.rb +3 -1
- data/lib/generators/plug/templates/plug.rb +1 -0
- data/lib/plug.rb +15 -13
- data/lib/plug/configuration.rb +11 -9
- data/lib/plug/constraint.rb +4 -2
- data/lib/plug/engine.rb +4 -0
- data/lib/plug/version.rb +3 -1
- data/lib/tasks/plug_tasks.rake +1 -0
- metadata +32 -29
- data/app/models/plug/concerns/themeable.rb +0 -16
data/lib/plug/version.rb
CHANGED
data/lib/tasks/plug_tasks.rake
CHANGED
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Ben
|
8
7
|
- Boost
|
8
|
+
- DNZ
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: aasm
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: activeresource
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
43
|
+
name: haml-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - ">="
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
57
|
+
name: jquery-rails
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - ">="
|
@@ -68,21 +68,21 @@ dependencies:
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: rails
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '5.2'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
83
|
+
version: '5.2'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
85
|
+
name: sass-rails
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
|
-
name:
|
99
|
+
name: capybara
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - ">="
|
@@ -110,35 +110,35 @@ dependencies:
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
113
|
+
name: factory_bot_rails
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - "
|
116
|
+
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: '0'
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - "
|
123
|
+
- - ">="
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: '0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rails-controller-testing
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - "
|
130
|
+
- - ">="
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
132
|
+
version: '0'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: '0'
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
|
-
name:
|
141
|
+
name: rspec-rails
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - ">="
|
@@ -152,7 +152,7 @@ dependencies:
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
|
-
name:
|
155
|
+
name: selenium-webdriver
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
158
|
- - ">="
|
@@ -166,7 +166,7 @@ dependencies:
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
|
-
name:
|
169
|
+
name: shoulda-matchers
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
171
171
|
requirements:
|
172
172
|
- - ">="
|
@@ -180,7 +180,7 @@ dependencies:
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
- !ruby/object:Gem::Dependency
|
183
|
-
name:
|
183
|
+
name: sqlite3
|
184
184
|
requirement: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
186
|
- - ">="
|
@@ -193,9 +193,8 @@ dependencies:
|
|
193
193
|
- - ">="
|
194
194
|
- !ruby/object:Gem::Version
|
195
195
|
version: '0'
|
196
|
-
description: Rails engine that can plug/unplug features with notice
|
196
|
+
description: Rails engine that can plug/unplug features with notice
|
197
197
|
email:
|
198
|
-
- benedict@boost.co.nz
|
199
198
|
- info@boost.co.nz
|
200
199
|
executables: []
|
201
200
|
extensions: []
|
@@ -208,6 +207,7 @@ files:
|
|
208
207
|
- app/assets/images/favicon.png
|
209
208
|
- app/assets/javascripts/plug/application.js
|
210
209
|
- app/assets/javascripts/plug/features.js
|
210
|
+
- app/assets/javascripts/plug/trix-core.js
|
211
211
|
- app/assets/stylesheets/plug/_settings.scss
|
212
212
|
- app/assets/stylesheets/plug/application.scss
|
213
213
|
- app/assets/stylesheets/plug/blocks/_alert.scss
|
@@ -222,9 +222,12 @@ files:
|
|
222
222
|
- app/assets/stylesheets/plug/normalize.scss
|
223
223
|
- app/assets/stylesheets/plug/partials/_main.scss
|
224
224
|
- app/assets/stylesheets/plug/partials/_utils.scss
|
225
|
+
- app/assets/stylesheets/plug/trix-overrides.scss
|
226
|
+
- app/assets/stylesheets/plug/trix.scss
|
225
227
|
- app/assets/stylesheets/plug/variables/_colors.scss
|
226
228
|
- app/assets/stylesheets/plug/variables/_typography.scss
|
227
229
|
- app/controllers/plug/api/api_controller.rb
|
230
|
+
- app/controllers/plug/api/features_controller.rb
|
228
231
|
- app/controllers/plug/api/site_notices_controller.rb
|
229
232
|
- app/controllers/plug/application_controller.rb
|
230
233
|
- app/controllers/plug/features_controller.rb
|
@@ -233,8 +236,8 @@ files:
|
|
233
236
|
- app/mailers/plug/application_mailer.rb
|
234
237
|
- app/models/plug/application_record.rb
|
235
238
|
- app/models/plug/concerns/model_helpers.rb
|
236
|
-
- app/models/plug/concerns/themeable.rb
|
237
239
|
- app/models/plug/feature.rb
|
240
|
+
- app/models/plug/resources/feature.rb
|
238
241
|
- app/models/plug/resources/site_notice.rb
|
239
242
|
- app/models/plug/site_notice.rb
|
240
243
|
- app/services/plug/task_execution_service.rb
|
@@ -263,7 +266,7 @@ files:
|
|
263
266
|
- lib/plug/engine.rb
|
264
267
|
- lib/plug/version.rb
|
265
268
|
- lib/tasks/plug_tasks.rake
|
266
|
-
homepage: https://github.com/
|
269
|
+
homepage: https://github.com/digitalnz/plug
|
267
270
|
licenses:
|
268
271
|
- MIT
|
269
272
|
metadata: {}
|