streamio-cli 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.7.5 2012-12-03
2
+
3
+ * Fix audio downloading.
4
+
1
5
  ## 0.7.4 2012-12-03
2
6
 
3
7
  * Use the skip_ssl_verification option on the updated Streamio gem.
@@ -1,5 +1,5 @@
1
1
  module Streamio
2
2
  module CLI
3
- VERSION = "0.7.4"
3
+ VERSION = "0.7.5"
4
4
  end
5
5
  end
data/lib/streamio-cli.rb CHANGED
@@ -77,7 +77,7 @@ module Streamio::CLI
77
77
  path = FileUtils.mkdir_p("streamio-export/audios/#{audio.id}").first
78
78
  progress_bar_title = "Original (#{bytes_to_megabytes(audio.original_file['size'])})"
79
79
  File.open("#{path}/#{audio.id}.json", "w:utf-8") { |file| file.write(audio.attributes.to_json) }
80
- download("http://#{audio.original_file['http_uri']}", progress_bar_title)
80
+ download("http://#{audio.original_file['http_uri']}", path, progress_bar_title)
81
81
  end
82
82
  end
83
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streamio-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-03 00:00:00.000000000 Z
12
+ date: 2012-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: streamio
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.6
21
+ version: 1.0.7
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.6
29
+ version: 1.0.7
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: thor
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -91,6 +91,22 @@ dependencies:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
93
  version: '2.7'
94
+ - !ruby/object:Gem::Dependency
95
+ name: webmock
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: '1.9'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '1.9'
94
110
  description:
95
111
  email:
96
112
  - david.backeus@streamio.com
@@ -119,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
135
  version: '0'
120
136
  segments:
121
137
  - 0
122
- hash: 373271147543857237
138
+ hash: -4152253763148155726
123
139
  required_rubygems_version: !ruby/object:Gem::Requirement
124
140
  none: false
125
141
  requirements:
@@ -128,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
144
  version: '0'
129
145
  segments:
130
146
  - 0
131
- hash: 373271147543857237
147
+ hash: -4152253763148155726
132
148
  requirements: []
133
149
  rubyforge_project:
134
150
  rubygems_version: 1.8.24