jefferies_tube 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8d0e78d1c18a150efa58ce50cfe20220fa41714
4
- data.tar.gz: fb7fd3c2e06a1852d1c9d4bde6cf9378b050d516
3
+ metadata.gz: d06cfabdade9e68241e375646fa6f493c89db7ef
4
+ data.tar.gz: d99e67ed69c4d05d85ee990fc3dd1576e4b73ac8
5
5
  SHA512:
6
- metadata.gz: 2d43788cdc2635e7bbeeeb810c675498a233383b1e09973a57e01b5b0214b6da581d02210eaba07af3f40bdb6827f9b3c2473e9c731d92e956008fa7c9ab241e
7
- data.tar.gz: a4418e55e2fafa16ef2f961bdacd0967677bb1c173f4f1b3c13a304525d166a0407418b9c30da770e82ee233ee5ad297bbbe05fcf41549069eb0cd791dc33bd5
6
+ metadata.gz: cc5f699e1c580546d2bf840e97a587cf2a3a8fa3deec44aa62de5693a1cfc46bd9b781ced14bee690aceffe296eefc2668fee63c3a9d0b3d20c9b9230ff35e68
7
+ data.tar.gz: 0968e69405a4a132f37f1f01db0b4b59cbc272989af06ccd398933189fb24b4ad6a1100bf7c3b86646e53e4ebac1900cd138e762ed067f9805121d48a2a01803
@@ -1,13 +1,9 @@
1
- task :precompile_and_upload_assets do
2
- on roles(:assets_precompiler) do
1
+ task :upload_assets_to_s3 do
2
+ on roles(fetch(:assets_roles)) do
3
3
  within release_path do
4
- with rails_env: fetch(:rails_env), rails_groups: fetch(:rails_assets_groups) do
5
- execute :rake, "assets:precompile"
6
- end
7
-
8
4
  appyml_text = capture :cat, "#{deploy_to}/shared/config/application.yml"
9
5
  appyml = YAML.load appyml_text
10
- execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/assets/', 's3://mobile-doorman-dev/assets'
6
+ execute "AWS_ACCESS_KEY_ID=#{appyml['AWS_ACCESS_KEY_ID']}", "AWS_SECRET_ACCESS_KEY=#{appyml["AWS_SECRET_ACCESS_KEY"]}", 'aws', 's3', 'sync', 'public/assets/', fetch(:s3_destination)
11
7
  end
12
8
  end
13
9
  end
@@ -1,5 +1,5 @@
1
1
  module JefferiesTube
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
 
4
4
  def self.latest_rubygems_version
5
5
  JSON.parse(URI.parse("https://rubygems.org/api/v1/versions/jefferies_tube/latest.json").read)["version"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jefferies_tube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson