metric_tools 0.0.5 → 0.0.6

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 +21 -9
  2. data/lib/metric_tools/s3.rb +1 -2
  3. metadata +1 -1
data/Gemfile.lock CHANGED
@@ -1,29 +1,41 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- faraday (0.8.4)
4
+ aws-s3 (0.6.3)
5
+ builder
6
+ mime-types
7
+ xml-simple
8
+ builder (3.2.0)
9
+ faraday (0.8.6)
5
10
  multipart-post (~> 1.1)
6
- google_drive (0.3.2)
11
+ google_drive (0.3.4)
7
12
  nokogiri (>= 1.4.4, != 1.5.2, != 1.5.1)
8
13
  oauth (>= 0.3.6)
9
14
  oauth2 (>= 0.5.0)
15
+ hirb (0.7.1)
10
16
  httpauth (0.2.0)
11
- jwt (0.1.5)
12
- multi_json (>= 1.0)
13
- multi_json (1.5.0)
14
- multipart-post (1.1.5)
15
- nokogiri (1.5.6)
17
+ jwt (0.1.8)
18
+ multi_json (>= 1.5)
19
+ mime-types (1.21)
20
+ multi_json (1.7.1)
21
+ multi_xml (0.5.3)
22
+ multipart-post (1.2.0)
23
+ nokogiri (1.5.8)
16
24
  oauth (0.4.7)
17
- oauth2 (0.8.0)
25
+ oauth2 (0.9.1)
18
26
  faraday (~> 0.8)
19
27
  httpauth (~> 0.1)
20
28
  jwt (~> 0.1.4)
21
29
  multi_json (~> 1.0)
30
+ multi_xml (~> 0.5)
22
31
  rack (~> 1.2)
23
- rack (1.5.1)
32
+ rack (1.5.2)
33
+ xml-simple (1.1.2)
24
34
 
25
35
  PLATFORMS
26
36
  ruby
27
37
 
28
38
  DEPENDENCIES
39
+ aws-s3 (~> 0)
29
40
  google_drive (~> 0)
41
+ hirb (~> 0)
@@ -33,7 +33,7 @@ module MetricTools
33
33
  # loginしているかどうかを返します
34
34
  #
35
35
  def login?
36
- return !bucket.nil?
36
+ return !@bucket.nil?
37
37
  end
38
38
 
39
39
  #
@@ -61,7 +61,6 @@ module MetricTools
61
61
  objects_in_dir = @bucket.objects(prefix: dir_key)
62
62
  remote_files = objects_in_dir
63
63
  .select{|obj|
64
- puts obj.key
65
64
  key = obj.key
66
65
  is_dir = (key[key.length-1] == '/')
67
66
  cond = condition.nil? ? true : condition.call(obj)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metric_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: