turbo-sprockets-rails3 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MzQ3MTExMTMzYjYyMDhmMmQ3ZGQ4N2U3OGI3NjMwN2ZlMjNmMDIwZg==
5
- data.tar.gz: !binary |-
6
- ODBhNjRiZTkwNDBjYzA4NDk0OTIyYTE1YjI5OTVjMjc2YzE3MjZiOQ==
2
+ SHA1:
3
+ metadata.gz: c919c4bbf41ec7d7756df849d74a3b67cb82817c
4
+ data.tar.gz: f9f82c2dbf9460304c7521d30194f08011cf816e
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWE0ZTljMTdmZGRjZGU1MGY4Y2FjYTZiY2UyYWQ0ZTViZWY2ZTFiMWViNjll
10
- MjE5ZmUyODViYWIxY2Y4NGMzMjcxOGUzNTRiODI1NWI5NTgxNWY0NjcxNjI4
11
- ZmMyNWQ3ODk4OTA0YzE0NzM3NDliMTU2MWRlMDMwZGJmYzA4MTc=
12
- data.tar.gz: !binary |-
13
- ZjBmOTMwNWNhNzI4NjI0YjdiM2Y3Nzk4ODViOTRjMmM5YmViMzA5NWVhNmZi
14
- NTkwMmViYmEyOGEyM2QzNGVjN2I5ZmZkNzM1OTEwNzg1OWMwODhlYjJiZGVh
15
- NTI1YzliZGY0OTUyNTFhNzhlZGM2NjVhNDM4ZmM2MWUxNmI3NTU=
6
+ metadata.gz: d4f60f570fc31150eea73ffc3f58220d2190e7dd09fc18287a4363310be67eea5018cf348197c3c973ea881870b5f175f35936e111f294260ac69e95c8729177
7
+ data.tar.gz: 21fa24ceaf22f45c2491e6ae9a0640bd29c453e87afe6e2923a8972ac9aa27c85ddf2c105d19bcd36debebf12dbcb006a23222f7e9b5f161e926080825bea00a
data/README.md CHANGED
@@ -79,6 +79,17 @@ Please let me know if you have any problems with other gems, and I will either f
79
79
 
80
80
  `turbo-sprockets-rails3` should work out of the box with the latest version of Capistrano.
81
81
 
82
+ Issue with Capistrano 2: Since the default behavior of Capistrano consists of creating "releases" every time a deploy occurs, one strategy might be to create a "shared assets" folder. You could create a symlink to the shared assets folder, every time you deploy.
83
+
84
+ Capfile:
85
+
86
+ load 'deploy/assets'
87
+
88
+ or in your Capistrano precompile task:
89
+
90
+ run "ln -s #{shared_path}/assets #{release_path}/public/assets"
91
+ run "cd #{current_path} && bundle exec rake assets:precompile RAILS_ENV=#{rails_env}"
92
+
82
93
  ### Heroku
83
94
 
84
95
  I've created a Heroku Buildpack for `turbo-sprockets-rails3` that keeps your assets cached between deploys, so you only need to recompile changed assets. It will automatically expire old assets that are no longer referenced by `manifest.yml` after 7 days, so your `public/assets` folder won't grow out of control.
@@ -1,3 +1,3 @@
1
1
  module TurboSprockets
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + "/sprockets_helpers_abstract_unit")
2
2
  require 'sprockets'
3
3
  require 'sprockets/helpers/rails_helper'
4
- require 'mocha'
4
+ require 'mocha/setup'
5
5
 
6
6
  class SprocketsHelperTest < ActionView::TestCase
7
7
  include Sprockets::Helpers::RailsHelper
@@ -1,7 +1,7 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + "/sprockets_helpers_abstract_unit")
2
2
  require 'sprockets'
3
3
  require 'sprockets/helpers/rails_helper'
4
- require 'mocha'
4
+ require 'mocha/setup'
5
5
 
6
6
  class SprocketsHelperWithRoutesTest < ActionView::TestCase
7
7
  include Sprockets::Helpers::RailsHelper
@@ -54,4 +54,4 @@ class SprocketsHelperWithRoutesTest < ActionView::TestCase
54
54
  stylesheet_link_tag(:application)
55
55
  end
56
56
 
57
- end
57
+ end
@@ -27,7 +27,6 @@ if "ruby".encoding_aware?
27
27
  end
28
28
  end
29
29
 
30
- require 'test/unit'
31
30
  require 'abstract_controller'
32
31
  require 'action_controller'
33
32
  require 'action_view'
metadata CHANGED
@@ -1,49 +1,77 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo-sprockets-rails3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Broadbent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-08 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>'
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.2.8
34
- - - <
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 4.0.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ! '>'
41
+ - - ">"
42
42
  - !ruby/object:Gem::Version
43
43
  version: 3.2.8
44
- - - <
44
+ - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 4.0.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: minitest
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 2.3.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 2.3.0
61
+ - !ruby/object:Gem::Dependency
62
+ name: mocha
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 0.13.3
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: 0.13.3
47
75
  description: Speeds up the Rails 3 asset pipeline by only recompiling changed assets
48
76
  email:
49
77
  - nathan.f77@gmail.com
@@ -51,9 +79,13 @@ executables: []
51
79
  extensions: []
52
80
  extra_rdoc_files: []
53
81
  files:
82
+ - MIT-LICENSE
83
+ - README.md
84
+ - Rakefile
54
85
  - lib/sprockets/asset_with_dependencies.rb
55
86
  - lib/sprockets/static_non_digest_generator.rb
56
87
  - lib/sprockets/unprocessed_asset.rb
88
+ - lib/turbo-sprockets-rails3.rb
57
89
  - lib/turbo-sprockets/railtie.rb
58
90
  - lib/turbo-sprockets/sprockets_overrides/asset.rb
59
91
  - lib/turbo-sprockets/sprockets_overrides/base.rb
@@ -64,10 +96,6 @@ files:
64
96
  - lib/turbo-sprockets/sprockets_overrides/static_compiler.rb
65
97
  - lib/turbo-sprockets/tasks/assets.rake
66
98
  - lib/turbo-sprockets/version.rb
67
- - lib/turbo-sprockets-rails3.rb
68
- - MIT-LICENSE
69
- - Rakefile
70
- - README.md
71
99
  - test/abstract_unit.rb
72
100
  - test/assets_debugging_test.rb
73
101
  - test/assets_test.rb
@@ -98,17 +126,17 @@ require_paths:
98
126
  - lib
99
127
  required_ruby_version: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - ! '>='
129
+ - - ">="
102
130
  - !ruby/object:Gem::Version
103
131
  version: '0'
104
132
  required_rubygems_version: !ruby/object:Gem::Requirement
105
133
  requirements:
106
- - - ! '>='
134
+ - - ">="
107
135
  - !ruby/object:Gem::Version
108
136
  version: '0'
109
137
  requirements: []
110
138
  rubyforge_project:
111
- rubygems_version: 2.1.11
139
+ rubygems_version: 2.2.2
112
140
  signing_key:
113
141
  specification_version: 4
114
142
  summary: Supercharge your Rails 3 asset pipeline