middleman-s3_sync 3.0.38 → 3.0.39

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: 45f758d7d204535650c4e825a52abc4e69bcf086
4
- data.tar.gz: 3462381561ce1d269f3dc39a9786237d9c9bef9d
3
+ metadata.gz: 19565c551c839ccf72e2dc38f9306968abb2ff64
4
+ data.tar.gz: 31734b96d66ac9573d9a5f4360d7af281d4be2ca
5
5
  SHA512:
6
- metadata.gz: abc5a66bbd74569d75078288b52cabaf77c1e9afd9b5a687efb9033b2ec879e5f72fa9f722097107e625cc91bdb9cf1ef6c8c8c15e7176338118ad073a3e6185
7
- data.tar.gz: 9953b988d69940aa385e23a1182fdaa60ce215de6dd05e20702fc2ccc5f6e32725415c586b2923bc27efdfca9c3f6aba1c93203086fd25c0a80a2d02dfb01bec
6
+ metadata.gz: f51684b180431b92e02ed09d164f5f08879e6d4c98aa47cd18fd4e40fd5c00d4db7caa8c0739bd6a0914587286ad43b514b4006ec7c340594968f6c2e64523ae
7
+ data.tar.gz: 9fe2ca246a6f5954a46c79b014b596b147e6e76dc96f61030f31a296dca94ca27b28d524665f0246e37bf4737190a73917270f5db23af1cbc4ff9f1221144baa
data/README.md CHANGED
@@ -87,6 +87,9 @@ There are a few ways to provide the AWS credentials for s3_sync:
87
87
  You can set the aws_access_key_id and aws_secret_access_key in the block
88
88
  that is passed to the activate method.
89
89
 
90
+ > I strongly discourage using this method. This will lead you to add and commit these changes
91
+ > to your SCM and potentially expose sensitive information to the world.
92
+
90
93
  #### Through ```.s3_sync``` File
91
94
 
92
95
  You can create a ```.s3_sync``` at the root of your middleman project.
@@ -98,6 +101,9 @@ activate method.
98
101
 
99
102
  A sample ```.s3_sync``` file is included at the root of this repo.
100
103
 
104
+ > Make sure to add .s3_sync to your ignore list if you choose this approach. Not doing so may expose
105
+ > credentials to the world.
106
+
101
107
  #### Through Environment
102
108
 
103
109
  You can also pass the credentials through environment variables. They
@@ -1,10 +1,11 @@
1
- require 'colorize'
1
+ require 'ansi/code'
2
+ require 'ansi/string'
2
3
 
3
4
  module Middleman
4
5
  module S3Sync
5
6
  module Status
6
7
  def say_status(status)
7
- puts :s3_sync.to_s.rjust(12).light_green + " #{status}"
8
+ puts :s3_sync.to_s.rjust(12).green + " #{status}"
8
9
  end
9
10
  end
10
11
  end
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module S3Sync
3
- VERSION = "3.0.38"
3
+ VERSION = "3.0.39"
4
4
  end
5
5
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
24
24
  gem.add_runtime_dependency 'map'
25
25
  gem.add_runtime_dependency 'pmap'
26
26
  gem.add_runtime_dependency 'ruby-progressbar'
27
- gem.add_runtime_dependency 'colorize'
27
+ gem.add_runtime_dependency 'ansi', "~> 1.4.3"
28
28
 
29
29
  gem.add_development_dependency 'rake'
30
30
  gem.add_development_dependency 'pry'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-s3_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.38
4
+ version: 3.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederic Jean
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-30 00:00:00.000000000 Z
12
+ date: 2014-12-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: middleman-core
@@ -96,19 +96,19 @@ dependencies:
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
- name: colorize
99
+ name: ansi
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">="
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
104
+ version: 1.4.3
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 1.4.3
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rake
114
114
  requirement: !ruby/object:Gem::Requirement