thor-tropo 1.0.1 → 1.0.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -7,8 +7,6 @@ module ThorTropo
7
7
  require 'fog'
8
8
  require 'mime/types'
9
9
 
10
- require 'pry'
11
-
12
10
  no_commands {
13
11
 
14
12
  def initialize(opts={})
data/lib/thor-tropo.rb CHANGED
@@ -1,18 +1,18 @@
1
1
  module ThorTropo
2
2
 
3
3
 
4
- $:.unshift File.expand_path('../thor-tropo', __FILE__)
5
-
6
- require 'thor'
7
- require 'thor/actions'
8
- require 'thor/scmversion'
9
- require 'tmpdir'
10
- require 'archive/tar/minitar'
11
- require 'zlib'
12
- require 'berkshelf/thor'
13
- require 'berkshelf/chef'
14
- require 'uploader'
15
- require 'configuration'
4
+ $:.unshift File.expand_path('../thor-tropo', __FILE__)
5
+
6
+ require 'thor'
7
+ require 'thor/actions'
8
+ require 'thor/scmversion'
9
+ require 'tmpdir'
10
+ require 'archive/tar/minitar'
11
+ require 'zlib'
12
+ require 'berkshelf/thor'
13
+ require 'berkshelf/chef'
14
+ require 'uploader'
15
+ require 'configuration'
16
16
 
17
17
  class Tasks < Thor
18
18
  include Thor::Actions
@@ -93,9 +93,9 @@ require 'configuration'
93
93
 
94
94
  def upload_cookbook(local_file,path,opts={})
95
95
  uploader = ThorTropo::Uploader.new({
96
- :access_key => $config.aws_key,
97
- :secret_key => $config.aws_secret,
98
- :bucket => $config.bucket_name
96
+ :access_key => $config.aws_key,
97
+ :secret_key => $config.aws_secret,
98
+ :bucket => $config.bucket_name
99
99
  })
100
100
 
101
101
  uploader.upload :local_file => local_file, :path => path, :force => options[:force], :noop=>options[:noop]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-tropo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: