rails-frontend 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/rails-frontend/version.rb +1 -1
- data/rails-frontend.gemspec +2 -2
- data/template/Gemfile +1 -1
- data/template/Rakefile +1 -1
- data/template/boot.rb.erb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Yzg0M2Y3YWFjNGMwZTUyNWZmNjU1ODM0MzlhYmFkNThhOTMyNmQxNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGIwNzhmZTczMGQwM2E1M2VhMjEyOWNmNTYzZmQwMDBmOGZjYWI2MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDYxM2RiYmRkYmJiMjQ1ZDk0ODQzZWIwYzQ4NzVmOTYxNGFjMDc3N2EwZTE4
|
10
|
+
ZTQ4ODJkZTFmZWZlYzU5ZmNhMDk2NzlmNjBhYmQ1ZTdmMTkyNjhkYzI2Yjc2
|
11
|
+
ZGYyZDhiZjZkNTIzNjkxOWMyY2Y2NjE5OTY3NGY2ODZiOGIxODA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTRkNDQzMTgyZjZhMDMwNDg5MTBiMGM3ZGI5MDdjYTZiNGY5ODMwYzk0NmZl
|
14
|
+
NjYzNGNkYjc2MzU4MmUwNjUyMDg3MWQzMDQ2NGU1ZWRjNzdjOTJjZGFiNDFl
|
15
|
+
ZGY5NzVkOTJkNjQwNDA2ZTQxMTAxZDAzNDcwZTYzYWRlYWQwZTI=
|
data/rails-frontend.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rails-frontend 0.1.
|
5
|
+
# stub: rails-frontend 0.1.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rails-frontend"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Michael Bensoussan"]
|
data/template/Gemfile
CHANGED
data/template/Rakefile
CHANGED
@@ -16,7 +16,7 @@ task :dist do
|
|
16
16
|
sleep(3)
|
17
17
|
|
18
18
|
puts "scrap the website..."
|
19
|
-
`wget --recursive --page-requisites --html-extension --convert-links
|
19
|
+
`wget --recursive --page-requisites --html-extension --convert-links --no-host-directories --domains localhost -P dist/ localhost:3002`
|
20
20
|
|
21
21
|
puts "killing the server..."
|
22
22
|
`kill \`cat rack-dist.pid\``
|
data/template/boot.rb.erb
CHANGED
@@ -17,6 +17,7 @@ Rails.application.configure do
|
|
17
17
|
config.consider_all_requests_local = true
|
18
18
|
config.assets.debug = true
|
19
19
|
config.assets.raise_runtime_errors = true
|
20
|
+
config.middleware.use Rack::LiveReload
|
20
21
|
elsif Rails.env == "production"
|
21
22
|
config.consider_all_requests_local = false
|
22
23
|
config.assets.compress = true
|