shimmer 0.0.27 → 0.0.29

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: 9e35d3ffd274eed6d097eecc2063480939a12f02fce8ebed8fdb044eb3d1803d
4
- data.tar.gz: 4e13f28ce0fd611a7c1c64304f3f74e16a3858bb74b5b0ff95c08ca1a4510e39
3
+ metadata.gz: e77dab032d0ec3a48d22321c020868645d0a6d8649821518189decd58ebffb0f
4
+ data.tar.gz: 1a6957d6dea3f04288166eaf4a7cbb011ebfdd9b26bb2675f0b1faaffa7eda3f
5
5
  SHA512:
6
- metadata.gz: b729abf735db7fe90b129af95bbe00447bce77031a6e3c92fe4d467559ec23d4a6aae69076d40cad1c176902046f83b4905898ff87d7ce5d86d183b315b4a652
7
- data.tar.gz: c3cc9de1117a71a9711522cc73c072edfc018508cf2d040c52d84f25cb5295927b1e4c3e01455849ef2ad76d9fc051ca38250c54d8882e724e9d8b5a3fcc63e5
6
+ metadata.gz: 0a479f55de54862deb63928a2be5f58ccd3b142b059db16e4405c958f527758e348bbd1d82147646705492aa7d28ea2702549075de34522900d1eda83c5d0802
7
+ data.tar.gz: 6c493df14ce2242f4e735d04a2a5e398ae3cf1cb8c2d7d081a8061be6f08d0d552627d85753f542a97a4075a7acfb58c0bfa64bd5c708c4ca0344793ff047602
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.rubocop.yml CHANGED
@@ -1,5 +1,12 @@
1
1
  inherit_from: config/rubocop_base.yml
2
2
 
3
+ AllCops:
4
+ Exclude:
5
+ - "bin/**/*"
6
+ - "spec/rails_app/bin/**/*"
7
+ - "spec/rails_app/db/schema.rb"
8
+ - "vendor/**/*"
9
+
3
10
  # Allow controllers created in this library to inherit directly from ActionController::Base.
4
11
  Rails/ApplicationController:
5
12
  Enabled: false
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.3
1
+ 2.7.7
@@ -1,9 +1,12 @@
1
1
  {
2
- "solargraph.useBundler": false,
3
- "solargraph.formatting": true,
4
2
  "[ruby]": {
5
3
  "editor.formatOnSave": false,
6
- "editor.defaultFormatter": "castwide.solargraph"
4
+ "editor.defaultFormatter": "rebornix.ruby"
7
5
  },
8
- "typescript.tsdk": "node_modules/typescript/lib"
6
+ "ruby.format": "rubocop",
7
+ "ruby.lint": {
8
+ "rubocop": true
9
+ },
10
+ "ruby.useLanguageServer": true,
11
+ "typescript.tsdk": "node_modules/typescript/lib",
9
12
  }
data/Gemfile CHANGED
@@ -4,3 +4,45 @@ source "https://rubygems.org"
4
4
 
5
5
  # Specify your gem's dependencies in shimmer.gemspec
6
6
  gemspec
7
+
8
+ gem "rails"
9
+ gem "propshaft"
10
+ gem "sqlite3"
11
+ gem "puma"
12
+ gem "jsbundling-rails"
13
+ gem "turbo-rails"
14
+ gem "stimulus-rails"
15
+ gem "cssbundling-rails"
16
+ gem "jbuilder"
17
+ gem "bootsnap", require: false
18
+ gem "dotenv"
19
+ gem "slim-rails"
20
+ gem "awesome_print"
21
+ gem "dotenv-rails"
22
+
23
+ group :development, :test do
24
+ gem "debug", platforms: [:mri, :mingw, :x64_mingw]
25
+ gem "rake"
26
+ gem "rspec-rails"
27
+ gem "rspec-retry"
28
+ gem "pry"
29
+ gem "pry-rails"
30
+ gem "pry-byebug"
31
+ gem "pry-doc"
32
+ gem "guard"
33
+ gem "guard-rspec"
34
+ gem "capybara"
35
+ gem "rack_session_access"
36
+ gem "cuprite"
37
+ gem "standard"
38
+ gem "rubocop"
39
+ gem "rubocop-rails"
40
+ gem "rubocop-performance"
41
+ gem "rubocop-rspec"
42
+ gem "rubocop-rake"
43
+ end
44
+
45
+ group :development do
46
+ gem "web-console"
47
+ gem "annotate"
48
+ end
data/Gemfile.lock CHANGED
@@ -6,69 +6,381 @@ PATH
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- activesupport (7.0.2.3)
9
+ actioncable (7.0.4.2)
10
+ actionpack (= 7.0.4.2)
11
+ activesupport (= 7.0.4.2)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (7.0.4.2)
15
+ actionpack (= 7.0.4.2)
16
+ activejob (= 7.0.4.2)
17
+ activerecord (= 7.0.4.2)
18
+ activestorage (= 7.0.4.2)
19
+ activesupport (= 7.0.4.2)
20
+ mail (>= 2.7.1)
21
+ net-imap
22
+ net-pop
23
+ net-smtp
24
+ actionmailer (7.0.4.2)
25
+ actionpack (= 7.0.4.2)
26
+ actionview (= 7.0.4.2)
27
+ activejob (= 7.0.4.2)
28
+ activesupport (= 7.0.4.2)
29
+ mail (~> 2.5, >= 2.5.4)
30
+ net-imap
31
+ net-pop
32
+ net-smtp
33
+ rails-dom-testing (~> 2.0)
34
+ actionpack (7.0.4.2)
35
+ actionview (= 7.0.4.2)
36
+ activesupport (= 7.0.4.2)
37
+ rack (~> 2.0, >= 2.2.0)
38
+ rack-test (>= 0.6.3)
39
+ rails-dom-testing (~> 2.0)
40
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
41
+ actiontext (7.0.4.2)
42
+ actionpack (= 7.0.4.2)
43
+ activerecord (= 7.0.4.2)
44
+ activestorage (= 7.0.4.2)
45
+ activesupport (= 7.0.4.2)
46
+ globalid (>= 0.6.0)
47
+ nokogiri (>= 1.8.5)
48
+ actionview (7.0.4.2)
49
+ activesupport (= 7.0.4.2)
50
+ builder (~> 3.1)
51
+ erubi (~> 1.4)
52
+ rails-dom-testing (~> 2.0)
53
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
54
+ activejob (7.0.4.2)
55
+ activesupport (= 7.0.4.2)
56
+ globalid (>= 0.3.6)
57
+ activemodel (7.0.4.2)
58
+ activesupport (= 7.0.4.2)
59
+ activerecord (7.0.4.2)
60
+ activemodel (= 7.0.4.2)
61
+ activesupport (= 7.0.4.2)
62
+ activestorage (7.0.4.2)
63
+ actionpack (= 7.0.4.2)
64
+ activejob (= 7.0.4.2)
65
+ activerecord (= 7.0.4.2)
66
+ activesupport (= 7.0.4.2)
67
+ marcel (~> 1.0)
68
+ mini_mime (>= 1.1.0)
69
+ activesupport (7.0.4.2)
10
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
11
71
  i18n (>= 1.6, < 2)
12
72
  minitest (>= 5.1)
13
73
  tzinfo (~> 2.0)
74
+ addressable (2.8.1)
75
+ public_suffix (>= 2.0.2, < 6.0)
76
+ annotate (3.2.0)
77
+ activerecord (>= 3.2, < 8.0)
78
+ rake (>= 10.4, < 14.0)
14
79
  ast (2.4.2)
15
- concurrent-ruby (1.1.10)
16
- i18n (1.10.0)
80
+ awesome_print (1.9.2)
81
+ bindex (0.8.1)
82
+ bootsnap (1.16.0)
83
+ msgpack (~> 1.2)
84
+ builder (3.2.4)
85
+ byebug (11.1.3)
86
+ capybara (3.38.0)
87
+ addressable
88
+ matrix
89
+ mini_mime (>= 0.1.3)
90
+ nokogiri (~> 1.8)
91
+ rack (>= 1.6.0)
92
+ rack-test (>= 0.6.3)
93
+ regexp_parser (>= 1.5, < 3.0)
94
+ xpath (~> 3.2)
95
+ coderay (1.1.3)
96
+ concurrent-ruby (1.2.0)
97
+ crass (1.0.6)
98
+ cssbundling-rails (1.1.2)
99
+ railties (>= 6.0.0)
100
+ cuprite (0.14.3)
101
+ capybara (~> 3.0)
102
+ ferrum (~> 0.13.0)
103
+ date (3.3.3)
104
+ debug (1.7.1)
105
+ irb (>= 1.5.0)
106
+ reline (>= 0.3.1)
107
+ diff-lcs (1.5.0)
108
+ dotenv (2.8.1)
109
+ dotenv-rails (2.8.1)
110
+ dotenv (= 2.8.1)
111
+ railties (>= 3.2)
112
+ erubi (1.12.0)
113
+ ferrum (0.13)
114
+ addressable (~> 2.5)
115
+ concurrent-ruby (~> 1.1)
116
+ webrick (~> 1.7)
117
+ websocket-driver (>= 0.6, < 0.8)
118
+ ffi (1.15.5)
119
+ formatador (1.1.0)
120
+ globalid (1.1.0)
121
+ activesupport (>= 5.0)
122
+ guard (2.18.0)
123
+ formatador (>= 0.2.4)
124
+ listen (>= 2.7, < 4.0)
125
+ lumberjack (>= 1.0.12, < 2.0)
126
+ nenv (~> 0.1)
127
+ notiffany (~> 0.0)
128
+ pry (>= 0.13.0)
129
+ shellany (~> 0.0)
130
+ thor (>= 0.18.1)
131
+ guard-compat (1.2.1)
132
+ guard-rspec (4.7.3)
133
+ guard (~> 2.1)
134
+ guard-compat (~> 1.1)
135
+ rspec (>= 2.99.0, < 4.0)
136
+ i18n (1.12.0)
17
137
  concurrent-ruby (~> 1.0)
18
- minitest (5.15.0)
19
- parallel (1.21.0)
20
- parser (3.0.3.2)
138
+ io-console (0.6.0)
139
+ irb (1.6.2)
140
+ reline (>= 0.3.0)
141
+ jbuilder (2.11.5)
142
+ actionview (>= 5.0.0)
143
+ activesupport (>= 5.0.0)
144
+ jsbundling-rails (1.1.1)
145
+ railties (>= 6.0.0)
146
+ json (2.6.3)
147
+ language_server-protocol (3.17.0.3)
148
+ lint_roller (1.0.0)
149
+ listen (3.8.0)
150
+ rb-fsevent (~> 0.10, >= 0.10.3)
151
+ rb-inotify (~> 0.9, >= 0.9.10)
152
+ loofah (2.19.1)
153
+ crass (~> 1.0.2)
154
+ nokogiri (>= 1.5.9)
155
+ lumberjack (1.2.8)
156
+ mail (2.8.1)
157
+ mini_mime (>= 0.1.1)
158
+ net-imap
159
+ net-pop
160
+ net-smtp
161
+ marcel (1.0.2)
162
+ matrix (0.4.2)
163
+ method_source (1.0.0)
164
+ mini_mime (1.1.2)
165
+ minitest (5.17.0)
166
+ msgpack (1.6.0)
167
+ nenv (0.3.0)
168
+ net-imap (0.3.4)
169
+ date
170
+ net-protocol
171
+ net-pop (0.1.2)
172
+ net-protocol
173
+ net-protocol (0.2.1)
174
+ timeout
175
+ net-smtp (0.3.3)
176
+ net-protocol
177
+ nio4r (2.5.8)
178
+ nokogiri (1.14.1-x86_64-darwin)
179
+ racc (~> 1.4)
180
+ notiffany (0.1.3)
181
+ nenv (~> 0.1)
182
+ shellany (~> 0.0)
183
+ parallel (1.23.0)
184
+ parser (3.2.2.1)
21
185
  ast (~> 2.4.1)
22
- rack (2.2.3)
23
- rainbow (3.0.0)
186
+ propshaft (0.6.4)
187
+ actionpack (>= 7.0.0)
188
+ activesupport (>= 7.0.0)
189
+ rack
190
+ railties (>= 7.0.0)
191
+ pry (0.14.2)
192
+ coderay (~> 1.1)
193
+ method_source (~> 1.0)
194
+ pry-byebug (3.10.1)
195
+ byebug (~> 11.0)
196
+ pry (>= 0.13, < 0.15)
197
+ pry-doc (1.4.0)
198
+ pry (~> 0.11)
199
+ yard (~> 0.9.11)
200
+ pry-rails (0.3.9)
201
+ pry (>= 0.10.4)
202
+ public_suffix (5.0.1)
203
+ puma (6.0.2)
204
+ nio4r (~> 2.0)
205
+ racc (1.6.2)
206
+ rack (2.2.6.2)
207
+ rack-test (2.0.2)
208
+ rack (>= 1.3)
209
+ rack_session_access (0.2.0)
210
+ builder (>= 2.0.0)
211
+ rack (>= 1.0.0)
212
+ rails (7.0.4.2)
213
+ actioncable (= 7.0.4.2)
214
+ actionmailbox (= 7.0.4.2)
215
+ actionmailer (= 7.0.4.2)
216
+ actionpack (= 7.0.4.2)
217
+ actiontext (= 7.0.4.2)
218
+ actionview (= 7.0.4.2)
219
+ activejob (= 7.0.4.2)
220
+ activemodel (= 7.0.4.2)
221
+ activerecord (= 7.0.4.2)
222
+ activestorage (= 7.0.4.2)
223
+ activesupport (= 7.0.4.2)
224
+ bundler (>= 1.15.0)
225
+ railties (= 7.0.4.2)
226
+ rails-dom-testing (2.0.3)
227
+ activesupport (>= 4.2.0)
228
+ nokogiri (>= 1.6)
229
+ rails-html-sanitizer (1.5.0)
230
+ loofah (~> 2.19, >= 2.19.1)
231
+ railties (7.0.4.2)
232
+ actionpack (= 7.0.4.2)
233
+ activesupport (= 7.0.4.2)
234
+ method_source
235
+ rake (>= 12.2)
236
+ thor (~> 1.0)
237
+ zeitwerk (~> 2.5)
238
+ rainbow (3.1.1)
24
239
  rake (13.0.6)
25
- regexp_parser (2.2.0)
240
+ rb-fsevent (0.11.2)
241
+ rb-inotify (0.10.1)
242
+ ffi (~> 1.0)
243
+ regexp_parser (2.8.0)
244
+ reline (0.3.2)
245
+ io-console (~> 0.5)
26
246
  rexml (3.2.5)
27
- rubocop (1.23.0)
247
+ rspec (3.12.0)
248
+ rspec-core (~> 3.12.0)
249
+ rspec-expectations (~> 3.12.0)
250
+ rspec-mocks (~> 3.12.0)
251
+ rspec-core (3.12.1)
252
+ rspec-support (~> 3.12.0)
253
+ rspec-expectations (3.12.2)
254
+ diff-lcs (>= 1.2.0, < 2.0)
255
+ rspec-support (~> 3.12.0)
256
+ rspec-mocks (3.12.3)
257
+ diff-lcs (>= 1.2.0, < 2.0)
258
+ rspec-support (~> 3.12.0)
259
+ rspec-rails (6.0.1)
260
+ actionpack (>= 6.1)
261
+ activesupport (>= 6.1)
262
+ railties (>= 6.1)
263
+ rspec-core (~> 3.11)
264
+ rspec-expectations (~> 3.11)
265
+ rspec-mocks (~> 3.11)
266
+ rspec-support (~> 3.11)
267
+ rspec-retry (0.6.2)
268
+ rspec-core (> 3.3)
269
+ rspec-support (3.12.0)
270
+ rubocop (1.50.2)
271
+ json (~> 2.3)
28
272
  parallel (~> 1.10)
29
- parser (>= 3.0.0.0)
273
+ parser (>= 3.2.0.0)
30
274
  rainbow (>= 2.2.2, < 4.0)
31
275
  regexp_parser (>= 1.8, < 3.0)
32
- rexml
33
- rubocop-ast (>= 1.12.0, < 2.0)
276
+ rexml (>= 3.2.5, < 4.0)
277
+ rubocop-ast (>= 1.28.0, < 2.0)
34
278
  ruby-progressbar (~> 1.7)
35
- unicode-display_width (>= 1.4.0, < 3.0)
36
- rubocop-ast (1.15.0)
37
- parser (>= 3.0.1.1)
38
- rubocop-performance (1.12.0)
279
+ unicode-display_width (>= 2.4.0, < 3.0)
280
+ rubocop-ast (1.28.0)
281
+ parser (>= 3.2.1.0)
282
+ rubocop-capybara (2.18.0)
283
+ rubocop (~> 1.41)
284
+ rubocop-performance (1.16.0)
39
285
  rubocop (>= 1.7.0, < 2.0)
40
286
  rubocop-ast (>= 0.4.0)
41
- rubocop-rails (2.14.2)
287
+ rubocop-rails (2.17.4)
42
288
  activesupport (>= 4.2.0)
43
289
  rack (>= 1.1)
44
- rubocop (>= 1.7.0, < 2.0)
290
+ rubocop (>= 1.33.0, < 2.0)
45
291
  rubocop-rake (0.6.0)
46
292
  rubocop (~> 1.0)
47
- rubocop-rspec (2.9.0)
48
- rubocop (~> 1.19)
49
- ruby-progressbar (1.11.0)
50
- standard (1.5.0)
51
- rubocop (= 1.23.0)
52
- rubocop-performance (= 1.12.0)
53
- standardrb (1.0.1)
54
- standard
55
- tzinfo (2.0.4)
293
+ rubocop-rspec (2.20.0)
294
+ rubocop (~> 1.33)
295
+ rubocop-capybara (~> 2.17)
296
+ ruby-progressbar (1.13.0)
297
+ shellany (0.0.1)
298
+ slim (4.1.0)
299
+ temple (>= 0.7.6, < 0.9)
300
+ tilt (>= 2.0.6, < 2.1)
301
+ slim-rails (3.5.1)
302
+ actionpack (>= 3.1)
303
+ railties (>= 3.1)
304
+ slim (>= 3.0, < 5.0)
305
+ sqlite3 (1.6.0-x86_64-darwin)
306
+ standard (1.28.0)
307
+ language_server-protocol (~> 3.17.0.2)
308
+ lint_roller (~> 1.0)
309
+ rubocop (~> 1.50.2)
310
+ standard-custom (~> 1.0.0)
311
+ standard-performance (~> 1.0.1)
312
+ standard-custom (1.0.0)
313
+ lint_roller (~> 1.0)
314
+ standard-performance (1.0.1)
315
+ lint_roller (~> 1.0)
316
+ rubocop-performance (~> 1.16.0)
317
+ stimulus-rails (1.2.1)
318
+ railties (>= 6.0.0)
319
+ temple (0.8.2)
320
+ thor (1.2.1)
321
+ tilt (2.0.11)
322
+ timeout (0.3.1)
323
+ turbo-rails (1.3.3)
324
+ actionpack (>= 6.0.0)
325
+ activejob (>= 6.0.0)
326
+ railties (>= 6.0.0)
327
+ tzinfo (2.0.6)
56
328
  concurrent-ruby (~> 1.0)
57
- unicode-display_width (2.1.0)
329
+ unicode-display_width (2.4.2)
330
+ web-console (4.2.0)
331
+ actionview (>= 6.0.0)
332
+ activemodel (>= 6.0.0)
333
+ bindex (>= 0.4.0)
334
+ railties (>= 6.0.0)
335
+ webrick (1.8.1)
336
+ websocket-driver (0.7.5)
337
+ websocket-extensions (>= 0.1.0)
338
+ websocket-extensions (0.1.5)
339
+ xpath (3.2.0)
340
+ nokogiri (~> 1.8)
341
+ yard (0.9.26)
342
+ zeitwerk (2.6.6)
58
343
 
59
344
  PLATFORMS
60
- x86_64-darwin-21
61
- x86_64-linux
345
+ x86_64-darwin-22
62
346
 
63
347
  DEPENDENCIES
64
- rake (~> 13.0)
348
+ annotate
349
+ awesome_print
350
+ bootsnap
351
+ capybara
352
+ cssbundling-rails
353
+ cuprite
354
+ debug
355
+ dotenv
356
+ dotenv-rails
357
+ guard
358
+ guard-rspec
359
+ jbuilder
360
+ jsbundling-rails
361
+ propshaft
362
+ pry
363
+ pry-byebug
364
+ pry-doc
365
+ pry-rails
366
+ puma
367
+ rack_session_access
368
+ rails
369
+ rake
370
+ rspec-rails
371
+ rspec-retry
65
372
  rubocop
66
373
  rubocop-performance
67
374
  rubocop-rails
68
375
  rubocop-rake
69
376
  rubocop-rspec
70
377
  shimmer!
71
- standardrb
378
+ slim-rails
379
+ sqlite3
380
+ standard
381
+ stimulus-rails
382
+ turbo-rails
383
+ web-console
72
384
 
73
385
  BUNDLED WITH
74
- 2.2.32
386
+ 2.3.26
data/Guardfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ clearing :on
4
+
5
+ guard :rspec, cmd: "bin/rspec" do
6
+ require "guard/rspec/dsl"
7
+ dsl = Guard::RSpec::Dsl.new(self)
8
+
9
+ # RSpec files
10
+ rspec = dsl.rspec
11
+ watch(rspec.spec_files)
12
+ end
data/README.md CHANGED
@@ -203,6 +203,30 @@ import { application } from "controllers/application";
203
203
  start({ application });
204
204
  ```
205
205
 
206
+ ## Testing & Demo
207
+
208
+ This library is tested using _RSpec_.
209
+
210
+ ```bash
211
+ bin/rspec
212
+ ```
213
+
214
+ A **system test** suite is included and is performed against a demo _Rails_ application in `spec/rails_app`. This
215
+ application can be started in development mode for "playing around" with _Shimmer_ during its development and add
216
+ more system tests. The `bin/dev` script starts that demo application.
217
+
218
+ The first time, you want to initialize the database and seed it some data.
219
+
220
+ ```bash
221
+ bin/setup
222
+ ```
223
+
224
+ Then you can start the development server.
225
+
226
+ ```bash
227
+ bin/dev
228
+ ```
229
+
206
230
  ## Contributing
207
231
 
208
232
  Bug reports and pull requests are welcome on GitHub at https://github.com/nerdgeschoss/shimmer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/nerdgeschoss/shimmer/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "bundler/gem_tasks"
4
- task default: %i[]
4
+ task default: []
data/bin/_guard-core ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application '_guard-core' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem.bin_path("guard", "_guard-core")
data/bin/dev ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bash
2
+ (cd spec/rails_app && bin/dev)
data/bin/guard ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'guard' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem.bin_path("guard", "guard")
data/bin/rake ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rake' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem.bin_path("rake", "rake")
data/bin/rspec ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem.bin_path("rspec-core", "rspec")
data/bin/setup CHANGED
@@ -6,3 +6,6 @@ set -vx
6
6
  bundle install
7
7
 
8
8
  # Do any other automated setup that you need to do here
9
+
10
+ # Initialize the Rails demo & tests app.
11
+ (cd spec/rails_app && bin/setup)