asset_sync 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AssetSync
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
@@ -1,16 +1,13 @@
1
- # Rails 3.2 compatibility
2
- if Rails.application.config.assets.digest
1
+ if Rake::Task.task_defined?("assets:precompile:nondigest")
3
2
  Rake::Task["assets:precompile:nondigest"].enhance do
4
- Rake::Task["assets:environment"].invoke if Rake::Task.task_defined?("assets:environment")
5
3
  AssetSync.sync
6
4
  end
7
- # Rails 3.1.x compatibility
8
5
  else
9
6
  Rake::Task["assets:precompile"].enhance do
10
7
  # rails 3.1.1 will clear out Rails.application.config if the env vars
11
8
  # RAILS_GROUP and RAILS_ENV are not defined. We need to reload the
12
9
  # assets environment in this case.
13
- Rake::Task["assets:environment"].invoke if Rake::Task.task_defined?("assets:environment")
10
+ # Rake::Task["assets:environment"].invoke if Rake::Task.task_defined?("assets:environment")
14
11
  AssetSync.sync
15
12
  end
16
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-03-04 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fog
18
- requirement: &70259782223240 !ruby/object:Gem::Requirement
18
+ requirement: &70142731459580 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: '0'
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *70259782223240
26
+ version_requirements: *70142731459580
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activemodel
29
- requirement: &70259782222820 !ruby/object:Gem::Requirement
29
+ requirement: &70142731459160 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *70259782222820
37
+ version_requirements: *70142731459160
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rspec
40
- requirement: &70259782222400 !ruby/object:Gem::Requirement
40
+ requirement: &70142731458740 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *70259782222400
48
+ version_requirements: *70142731458740
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
- requirement: &70259782221980 !ruby/object:Gem::Requirement
51
+ requirement: &70142731458320 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *70259782221980
59
+ version_requirements: *70142731458320
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: jeweler
62
- requirement: &70259782221560 !ruby/object:Gem::Requirement
62
+ requirement: &70142731457900 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *70259782221560
70
+ version_requirements: *70142731457900
71
71
  description: After you run assets:precompile your compiled assets will be synchronised
72
72
  with your S3 bucket.
73
73
  email: