turbo-sprockets-rails3 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ require 'sprockets'
1
2
  require 'sprockets/base'
2
3
 
3
4
  module Sprockets
@@ -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(Time.now, Time.now, full_path)
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
@@ -1,3 +1,3 @@
1
1
  module TurboSprockets
2
- VERSION = "0.2.12"
2
+ VERSION = "0.2.13"
3
3
  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.2.12
4
+ version: 0.2.13
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-10-31 00:00:00.000000000 Z
12
+ date: 2012-12-08 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: -2622737006971961364
111
+ hash: -456945734169101305
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: -2622737006971961364
120
+ hash: -456945734169101305
121
121
  requirements: []
122
122
  rubyforge_project:
123
123
  rubygems_version: 1.8.24