turbo-rails 1.0.1 → 1.4.0

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: d890d3ecb3aa10865bcd3089e5c796273f3e21ecbbfc0848ded57815a75812ad
4
- data.tar.gz: cadd7d84016b754279b64893e432e5d3a639622813f058b44955f9285ad2bf49
3
+ metadata.gz: 40ccdc123db34929af83c559e6bf6c65ca3027b5fd765546143f6093d34662a7
4
+ data.tar.gz: 7236691e0dbf00c61fb51039212c9316b7d0fc5d03370e939c5c318b56ab70c7
5
5
  SHA512:
6
- metadata.gz: dc00a86d75a765b9273fcd58bbf4bac83f9f606419f6cb2c154c72fda6f8fb141ecd11bd668e2077d766927679bafd0e7b729d115ef4f2d79ecda66744af1597
7
- data.tar.gz: eaf76ae96d56acac33977099c9cefb77ab81bd46e7add1838fa5ebbc3469e6a96cd07dbc4c885d6d5d98005fa3a3a44d219cd93c7f2445d6c0e53461856a70c8
6
+ metadata.gz: e7b6bdb711d3e712ac96bd52fc6f909d2ea5beaa2ba664d10e4678792afc58bb61ecce45ccb9b745e8f3706e5221917c754c2a461caff4be864e294050aba10d
7
+ data.tar.gz: a6d86dc5249f31161e4f7c3e31cfcda725b1173f0c63348c81f0cd62135688408b4b963540f80564d5eec1fb86f7601090e24c00ed5a55fa5e9c5277a18d75a4
data/README.md CHANGED
@@ -32,7 +32,7 @@ Turbo reinvents the old HTML technique of frames without any of the drawbacks th
32
32
 
33
33
  It also makes it dead easy to carve a single page into smaller pieces that can all live on their own cache timeline. While the bulk of the page might easily be cached between users, a small personalized toolbar perhaps cannot. With Turbo::Frames, you can designate the toolbar as a frame, which will be **lazy-loaded automatically** by the publicly-cached root page. This means simpler pages, easier caching schemes with fewer dependent keys, and all without needing to write a lick of custom JavaScript.
34
34
 
35
- This gem provides a `turbo_frame_tag` helper to create those frame.
35
+ This gem provides a `turbo_frame_tag` helper to create those frames.
36
36
 
37
37
  For instance:
38
38
  ```erb
data/Rakefile CHANGED
@@ -9,7 +9,20 @@ load "rails/tasks/statistics.rake"
9
9
  Rake::TestTask.new do |test|
10
10
  test.libs << "test"
11
11
  test.test_files = FileList["test/**/*_test.rb"]
12
- test.warning = false
13
12
  end
14
13
 
15
- task default: :test
14
+ task :test_prereq do
15
+ puts "Installing Ruby dependencies"
16
+ `bundle install`
17
+
18
+ puts "Installing JavaScript dependencies"
19
+ `yarn install`
20
+
21
+ puts "Building JavaScript"
22
+ `yarn build`
23
+
24
+ puts "Preparing test database"
25
+ `cd test/dummy; ./bin/rails db:test:prepare; cd ../..`
26
+ end
27
+
28
+ task default: [:test_prereq, :test]