turbo-sprockets-rails3 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md
CHANGED
@@ -44,6 +44,14 @@ An expiry time of 2 weeks could be configured with the following code:
|
|
44
44
|
config.assets.expire_after 2.weeks
|
45
45
|
```
|
46
46
|
|
47
|
+
## Versioning
|
48
|
+
|
49
|
+
The gem needs to support multiple changes to Rails and sprockets, so the following versioning is used:
|
50
|
+
|
51
|
+
* Rails 3.2.0 to 3.2.8 uses `turbo-sprockets-rails3` `0.2.x`
|
52
|
+
* Rails 3.2.9 and higher uses `turbo-sprockets-rails3` `0.3.x`
|
53
|
+
|
54
|
+
|
47
55
|
## Compatibility
|
48
56
|
|
49
57
|
### [asset_sync](https://github.com/rumblelabs/asset_sync)
|
@@ -77,7 +77,9 @@ namespace :assets do
|
|
77
77
|
known_assets.each do |asset|
|
78
78
|
full_path = File.join(target, asset)
|
79
79
|
if File.exist?(full_path)
|
80
|
-
File.utime
|
80
|
+
# File.utime raises 'Operation not permitted' unless user is owner of file.
|
81
|
+
# Non-owners have permission to update mtime to the current time using 'touch'.
|
82
|
+
`touch #{full_path}`
|
81
83
|
end
|
82
84
|
end
|
83
85
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turbo-sprockets-rails3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sprockets
|
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash: -
|
111
|
+
hash: -763865722700381702
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
segments:
|
119
119
|
- 0
|
120
|
-
hash: -
|
120
|
+
hash: -763865722700381702
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
123
|
rubygems_version: 1.8.24
|