handy 0.0.4 → 0.0.5

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.
@@ -21,10 +21,6 @@ module Handy
21
21
  end
22
22
  end
23
23
 
24
- def list
25
- @bucket_instance.keys
26
- end
27
-
28
24
  def store(file_name, file_data)
29
25
  @bucket_instance.put(file_name, file_data)
30
26
  end
@@ -65,8 +61,8 @@ module Handy
65
61
 
66
62
  def self.list(env)
67
63
  s3 = Handy::S3.new(Rails.env)
68
- Handy::Util.pretty_msg("List of files on s3")
69
- s3.list.each {|e| puts e}
64
+ Handy::Util.pretty_msg("List of files on s3 for bucket #{s3.bucket_name}")
65
+ s3.bucket_instance.keys.each {|e| puts e}
70
66
  end
71
67
 
72
68
  def self.restore(env, file_name)
@@ -1,3 +1,3 @@
1
1
  module Handy
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Neeraj Singh