common_core_js 0.4.4 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +113 -78
- data/README.md +20 -0
- data/common_core_js.gemspec +2 -4
- data/lib/common_core_js/version.rb +1 -1
- data/lib/generators/common_core/scaffold_generator.rb +5 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809e054efc9ed1738f6c972124840343fb2053bc5b890b091ad4eb4a6872dd67
|
4
|
+
data.tar.gz: c053c54714bd148a1b39f245a5b594f18954a1d72a6fb80b1ff94d9bd91e48c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94a720a687266f365d01273c520481187455bb25d829a45fd05023936e38268c818fa9e3c577ad11ec980b4f3b94ed62912727e3d8d20ea2ce12bff1fa030ce8
|
7
|
+
data.tar.gz: ac6abf280f684bbc16dfc504507a9edcc0679b9919dabd50ac89f159334eda9d959cd82444972f8d0e009809eb8d3f30eff9fd6ff6c6ecc0964834b99a3c4353
|
data/Gemfile.lock
CHANGED
@@ -1,77 +1,99 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
common_core_js (0.
|
4
|
+
common_core_js (0.4.5)
|
5
|
+
bootsnap
|
6
|
+
bootstrap
|
7
|
+
ffaker
|
8
|
+
font-awesome-rails
|
5
9
|
haml-rails
|
6
10
|
kaminari
|
7
11
|
rails
|
12
|
+
sass-rails
|
8
13
|
|
9
14
|
GEM
|
10
15
|
remote: https://rubygems.org/
|
11
16
|
specs:
|
12
|
-
actioncable (6.
|
13
|
-
actionpack (= 6.
|
17
|
+
actioncable (6.1.3)
|
18
|
+
actionpack (= 6.1.3)
|
19
|
+
activesupport (= 6.1.3)
|
14
20
|
nio4r (~> 2.0)
|
15
21
|
websocket-driver (>= 0.6.1)
|
16
|
-
actionmailbox (6.
|
17
|
-
actionpack (= 6.
|
18
|
-
activejob (= 6.
|
19
|
-
activerecord (= 6.
|
20
|
-
activestorage (= 6.
|
21
|
-
activesupport (= 6.
|
22
|
+
actionmailbox (6.1.3)
|
23
|
+
actionpack (= 6.1.3)
|
24
|
+
activejob (= 6.1.3)
|
25
|
+
activerecord (= 6.1.3)
|
26
|
+
activestorage (= 6.1.3)
|
27
|
+
activesupport (= 6.1.3)
|
22
28
|
mail (>= 2.7.1)
|
23
|
-
actionmailer (6.
|
24
|
-
actionpack (= 6.
|
25
|
-
actionview (= 6.
|
26
|
-
activejob (= 6.
|
29
|
+
actionmailer (6.1.3)
|
30
|
+
actionpack (= 6.1.3)
|
31
|
+
actionview (= 6.1.3)
|
32
|
+
activejob (= 6.1.3)
|
33
|
+
activesupport (= 6.1.3)
|
27
34
|
mail (~> 2.5, >= 2.5.4)
|
28
35
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (6.
|
30
|
-
actionview (= 6.
|
31
|
-
activesupport (= 6.
|
32
|
-
rack (~> 2.0, >= 2.0.
|
36
|
+
actionpack (6.1.3)
|
37
|
+
actionview (= 6.1.3)
|
38
|
+
activesupport (= 6.1.3)
|
39
|
+
rack (~> 2.0, >= 2.0.9)
|
33
40
|
rack-test (>= 0.6.3)
|
34
41
|
rails-dom-testing (~> 2.0)
|
35
42
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (6.
|
37
|
-
actionpack (= 6.
|
38
|
-
activerecord (= 6.
|
39
|
-
activestorage (= 6.
|
40
|
-
activesupport (= 6.
|
43
|
+
actiontext (6.1.3)
|
44
|
+
actionpack (= 6.1.3)
|
45
|
+
activerecord (= 6.1.3)
|
46
|
+
activestorage (= 6.1.3)
|
47
|
+
activesupport (= 6.1.3)
|
41
48
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (6.
|
43
|
-
activesupport (= 6.
|
49
|
+
actionview (6.1.3)
|
50
|
+
activesupport (= 6.1.3)
|
44
51
|
builder (~> 3.1)
|
45
52
|
erubi (~> 1.4)
|
46
53
|
rails-dom-testing (~> 2.0)
|
47
54
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (6.
|
49
|
-
activesupport (= 6.
|
55
|
+
activejob (6.1.3)
|
56
|
+
activesupport (= 6.1.3)
|
50
57
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (6.
|
52
|
-
activesupport (= 6.
|
53
|
-
activerecord (6.
|
54
|
-
activemodel (= 6.
|
55
|
-
activesupport (= 6.
|
56
|
-
activestorage (6.
|
57
|
-
actionpack (= 6.
|
58
|
-
activejob (= 6.
|
59
|
-
activerecord (= 6.
|
58
|
+
activemodel (6.1.3)
|
59
|
+
activesupport (= 6.1.3)
|
60
|
+
activerecord (6.1.3)
|
61
|
+
activemodel (= 6.1.3)
|
62
|
+
activesupport (= 6.1.3)
|
63
|
+
activestorage (6.1.3)
|
64
|
+
actionpack (= 6.1.3)
|
65
|
+
activejob (= 6.1.3)
|
66
|
+
activerecord (= 6.1.3)
|
67
|
+
activesupport (= 6.1.3)
|
60
68
|
marcel (~> 0.3.1)
|
61
|
-
|
69
|
+
mimemagic (~> 0.3.2)
|
70
|
+
activesupport (6.1.3)
|
62
71
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
63
|
-
i18n (>=
|
64
|
-
minitest (
|
65
|
-
tzinfo (~>
|
66
|
-
zeitwerk (~> 2.
|
72
|
+
i18n (>= 1.6, < 2)
|
73
|
+
minitest (>= 5.1)
|
74
|
+
tzinfo (~> 2.0)
|
75
|
+
zeitwerk (~> 2.3)
|
76
|
+
autoprefixer-rails (10.2.4.0)
|
77
|
+
execjs
|
78
|
+
bootsnap (1.7.2)
|
79
|
+
msgpack (~> 1.0)
|
80
|
+
bootstrap (4.6.0)
|
81
|
+
autoprefixer-rails (>= 9.1.0)
|
82
|
+
popper_js (>= 1.14.3, < 2)
|
83
|
+
sassc-rails (>= 2.0.0)
|
67
84
|
builder (3.2.4)
|
68
|
-
concurrent-ruby (1.1.
|
85
|
+
concurrent-ruby (1.1.8)
|
69
86
|
crass (1.0.6)
|
70
|
-
erubi (1.
|
87
|
+
erubi (1.10.0)
|
71
88
|
erubis (2.7.0)
|
89
|
+
execjs (2.7.0)
|
90
|
+
ffaker (2.17.0)
|
91
|
+
ffi (1.14.2)
|
92
|
+
font-awesome-rails (4.7.0.7)
|
93
|
+
railties (>= 3.2, < 7)
|
72
94
|
globalid (0.4.2)
|
73
95
|
activesupport (>= 4.2.0)
|
74
|
-
haml (5.1
|
96
|
+
haml (5.2.1)
|
75
97
|
temple (>= 0.8.0)
|
76
98
|
tilt
|
77
99
|
haml-rails (2.0.1)
|
@@ -85,7 +107,7 @@ GEM
|
|
85
107
|
haml (>= 4.0, < 6)
|
86
108
|
nokogiri (>= 1.6.0)
|
87
109
|
ruby_parser (~> 3.5)
|
88
|
-
i18n (1.8.
|
110
|
+
i18n (1.8.9)
|
89
111
|
concurrent-ruby (~> 1.0)
|
90
112
|
kaminari (1.2.1)
|
91
113
|
activesupport (>= 4.1.0)
|
@@ -99,7 +121,7 @@ GEM
|
|
99
121
|
activerecord
|
100
122
|
kaminari-core (= 1.2.1)
|
101
123
|
kaminari-core (1.2.1)
|
102
|
-
loofah (2.
|
124
|
+
loofah (2.9.0)
|
103
125
|
crass (~> 1.0.2)
|
104
126
|
nokogiri (>= 1.5.9)
|
105
127
|
mail (2.7.1)
|
@@ -109,61 +131,74 @@ GEM
|
|
109
131
|
method_source (1.0.0)
|
110
132
|
mimemagic (0.3.5)
|
111
133
|
mini_mime (1.0.2)
|
112
|
-
mini_portile2 (2.
|
113
|
-
minitest (5.14.
|
114
|
-
|
115
|
-
|
116
|
-
|
134
|
+
mini_portile2 (2.5.0)
|
135
|
+
minitest (5.14.3)
|
136
|
+
msgpack (1.4.2)
|
137
|
+
nio4r (2.5.5)
|
138
|
+
nokogiri (1.11.1)
|
139
|
+
mini_portile2 (~> 2.5.0)
|
140
|
+
racc (~> 1.4)
|
141
|
+
popper_js (1.16.0)
|
142
|
+
racc (1.5.2)
|
117
143
|
rack (2.2.3)
|
118
144
|
rack-test (1.1.0)
|
119
145
|
rack (>= 1.0, < 3)
|
120
|
-
rails (6.
|
121
|
-
actioncable (= 6.
|
122
|
-
actionmailbox (= 6.
|
123
|
-
actionmailer (= 6.
|
124
|
-
actionpack (= 6.
|
125
|
-
actiontext (= 6.
|
126
|
-
actionview (= 6.
|
127
|
-
activejob (= 6.
|
128
|
-
activemodel (= 6.
|
129
|
-
activerecord (= 6.
|
130
|
-
activestorage (= 6.
|
131
|
-
activesupport (= 6.
|
132
|
-
bundler (>= 1.
|
133
|
-
railties (= 6.
|
146
|
+
rails (6.1.3)
|
147
|
+
actioncable (= 6.1.3)
|
148
|
+
actionmailbox (= 6.1.3)
|
149
|
+
actionmailer (= 6.1.3)
|
150
|
+
actionpack (= 6.1.3)
|
151
|
+
actiontext (= 6.1.3)
|
152
|
+
actionview (= 6.1.3)
|
153
|
+
activejob (= 6.1.3)
|
154
|
+
activemodel (= 6.1.3)
|
155
|
+
activerecord (= 6.1.3)
|
156
|
+
activestorage (= 6.1.3)
|
157
|
+
activesupport (= 6.1.3)
|
158
|
+
bundler (>= 1.15.0)
|
159
|
+
railties (= 6.1.3)
|
134
160
|
sprockets-rails (>= 2.0.0)
|
135
161
|
rails-dom-testing (2.0.3)
|
136
162
|
activesupport (>= 4.2.0)
|
137
163
|
nokogiri (>= 1.6)
|
138
164
|
rails-html-sanitizer (1.3.0)
|
139
165
|
loofah (~> 2.3)
|
140
|
-
railties (6.
|
141
|
-
actionpack (= 6.
|
142
|
-
activesupport (= 6.
|
166
|
+
railties (6.1.3)
|
167
|
+
actionpack (= 6.1.3)
|
168
|
+
activesupport (= 6.1.3)
|
143
169
|
method_source
|
144
170
|
rake (>= 0.8.7)
|
145
|
-
thor (
|
146
|
-
rake (13.0.
|
147
|
-
ruby_parser (3.
|
171
|
+
thor (~> 1.0)
|
172
|
+
rake (13.0.3)
|
173
|
+
ruby_parser (3.15.1)
|
148
174
|
sexp_processor (~> 4.9)
|
149
|
-
|
175
|
+
sass-rails (6.0.0)
|
176
|
+
sassc-rails (~> 2.1, >= 2.1.1)
|
177
|
+
sassc (2.4.0)
|
178
|
+
ffi (~> 1.9)
|
179
|
+
sassc-rails (2.1.2)
|
180
|
+
railties (>= 4.0.0)
|
181
|
+
sassc (>= 2.0)
|
182
|
+
sprockets (> 3.0)
|
183
|
+
sprockets-rails
|
184
|
+
tilt
|
185
|
+
sexp_processor (4.15.2)
|
150
186
|
sprockets (4.0.2)
|
151
187
|
concurrent-ruby (~> 1.0)
|
152
188
|
rack (> 1, < 3)
|
153
|
-
sprockets-rails (3.2.
|
189
|
+
sprockets-rails (3.2.2)
|
154
190
|
actionpack (>= 4.0)
|
155
191
|
activesupport (>= 4.0)
|
156
192
|
sprockets (>= 3.0.0)
|
157
193
|
temple (0.8.2)
|
158
|
-
thor (1.0
|
159
|
-
thread_safe (0.3.6)
|
194
|
+
thor (1.1.0)
|
160
195
|
tilt (2.0.10)
|
161
|
-
tzinfo (
|
162
|
-
|
163
|
-
websocket-driver (0.7.
|
196
|
+
tzinfo (2.0.4)
|
197
|
+
concurrent-ruby (~> 1.0)
|
198
|
+
websocket-driver (0.7.3)
|
164
199
|
websocket-extensions (>= 0.1.0)
|
165
200
|
websocket-extensions (0.1.5)
|
166
|
-
zeitwerk (2.
|
201
|
+
zeitwerk (2.4.2)
|
167
202
|
|
168
203
|
PLATFORMS
|
169
204
|
ruby
|
data/README.md
CHANGED
@@ -293,6 +293,24 @@ environment.plugins.prepend('Provide',
|
|
293
293
|
module.exports = environment
|
294
294
|
|
295
295
|
```
|
296
|
+
# VERSION HISTORY
|
297
|
+
|
298
|
+
## 0.4.6
|
299
|
+
|
300
|
+
- Fixes a bug with nested args
|
301
|
+
|
302
|
+
## 0.4.2 - 0.4.5 - Oct 2020
|
303
|
+
|
304
|
+
- Not sure what I was doing here or why I made 3 released on the same day
|
305
|
+
- Several bugfixes
|
306
|
+
|
307
|
+
## 0.3.0 - 0.4.1 - August 2020
|
308
|
+
|
309
|
+
- Solid beta release
|
310
|
+
|
311
|
+
## 0.2.0 - 0.1.1
|
312
|
+
|
313
|
+
- Alpha stage
|
296
314
|
|
297
315
|
|
298
316
|
# ACKNOWLEDGEMENTS
|
@@ -300,3 +318,5 @@ module.exports = environment
|
|
300
318
|
### "POOR MAN"
|
301
319
|
|
302
320
|
I hope one day I will leave this Earth a poor man (like my code) owning only the most simple structure for the simple form of my existence. Thanks for having educated me in this wisdom goes to my former mentor [@trak3r](https://github.com/trak3r)!
|
321
|
+
|
322
|
+
|
data/common_core_js.gemspec
CHANGED
@@ -34,10 +34,8 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_dependency "rails"
|
35
35
|
spec.homepage = 'https://blog.jasonfleetwoodboldt.com/common-core-js/'
|
36
36
|
spec.metadata = { "source_code_uri" => "https://github.com/jasonfb/common_core_js",
|
37
|
-
"documentation_uri" => "https://
|
38
|
-
"homepage_uri" => 'https://blog.jasonfleetwoodboldt.com/common-core-js/'
|
39
|
-
"course_material_uri" => "https://jfb.teachable.com/p/jason-s-open-source-work/"
|
40
|
-
}
|
37
|
+
"documentation_uri" => "https://jfb.teachable.com/p/gems-by-jason",
|
38
|
+
"homepage_uri" => 'https://blog.jasonfleetwoodboldt.com/common-core-js/'}
|
41
39
|
|
42
40
|
spec.add_runtime_dependency('kaminari')
|
43
41
|
spec.add_runtime_dependency('haml-rails')
|
@@ -285,7 +285,11 @@ module CommonCore
|
|
285
285
|
end
|
286
286
|
|
287
287
|
def path_helper_args
|
288
|
-
|
288
|
+
if @nested_args.any?
|
289
|
+
[(@nested_args).collect{|a| "@#{a}"} , singular].join(",")
|
290
|
+
else
|
291
|
+
singular
|
292
|
+
end
|
289
293
|
end
|
290
294
|
|
291
295
|
def path_helper_singular
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: common_core_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Fleetwood-Boldt
|
@@ -196,9 +196,8 @@ licenses:
|
|
196
196
|
- Commit to Social Justice
|
197
197
|
metadata:
|
198
198
|
source_code_uri: https://github.com/jasonfb/common_core_js
|
199
|
-
documentation_uri: https://
|
199
|
+
documentation_uri: https://jfb.teachable.com/p/gems-by-jason
|
200
200
|
homepage_uri: https://blog.jasonfleetwoodboldt.com/common-core-js/
|
201
|
-
course_material_uri: https://jfb.teachable.com/p/jason-s-open-source-work/
|
202
201
|
post_install_message: |
|
203
202
|
---------------------------------------------
|
204
203
|
Welcome to Common Core
|
@@ -230,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
229
|
- !ruby/object:Gem::Version
|
231
230
|
version: '0'
|
232
231
|
requirements: []
|
233
|
-
rubygems_version: 3.
|
232
|
+
rubygems_version: 3.2.7
|
234
233
|
signing_key:
|
235
234
|
specification_version: 4
|
236
235
|
summary: A gem build scaffolding.
|