smock 0.1.70 → 0.1.71

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.
Files changed (3) hide show
  1. data/Gemfile.lock +1 -1
  2. data/Rakefile +5 -3
  3. metadata +3 -3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smock (0.1.70)
4
+ smock (0.1.71)
5
5
  sass (= 3.2.19)
6
6
  thor (= 0.19.1)
7
7
 
data/Rakefile CHANGED
@@ -44,7 +44,9 @@ task :sasswatch => :build_version do
44
44
  end
45
45
 
46
46
  desc "deploy to S3 (Depends on the AWS CLI being available)"
47
- task :deploy_to_aws do
48
- sh "aws s3 sync versions/latest s3://studio-app.envato.com/smock/latest --delete --recursive --cache-control 'max-age=0, must-revalidate'"
49
- sh "aws s3 sync versions s3://studio-app.envato.com/smock"
47
+ task :deploy_to_aws do
48
+ if ENV["SNAP_BRANCH"] == 'master'
49
+ sh "aws s3 sync versions/latest s3://studio-app.envato.com/smock/latest --delete --recursive --cache-control 'max-age=0, must-revalidate'"
50
+ sh "aws s3 sync versions s3://studio-app.envato.com/smock"
51
+ end
50
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.70
4
+ version: 0.1.71
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -360,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
360
360
  version: '0'
361
361
  segments:
362
362
  - 0
363
- hash: 506786928679441149
363
+ hash: 2733042301499394048
364
364
  required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  none: false
366
366
  requirements:
@@ -369,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
369
369
  version: '0'
370
370
  segments:
371
371
  - 0
372
- hash: 506786928679441149
372
+ hash: 2733042301499394048
373
373
  requirements: []
374
374
  rubyforge_project: smock
375
375
  rubygems_version: 1.8.21