waz-storage 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -1
- data/Gemfile.lock +8 -4
- data/README.rdoc +3 -0
- data/rakefile +1 -3
- data/tests/configuration.rb +8 -0
- data/tests/waz/blobs/blob_object_test.rb +2 -2
- data/waz-storage.gemspec +2 -2
- metadata +99 -90
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
waz-storage (1.1.
|
4
|
+
waz-storage (1.1.2)
|
5
5
|
rest-client
|
6
6
|
ruby-hmac
|
7
7
|
|
@@ -10,10 +10,10 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
diff-lcs (1.1.3)
|
12
12
|
metaclass (0.0.1)
|
13
|
-
mime-types (1.
|
13
|
+
mime-types (1.19)
|
14
14
|
mocha (0.10.5)
|
15
15
|
metaclass (~> 0.0.1)
|
16
|
-
|
16
|
+
multi_json (1.5.0)
|
17
17
|
rest-client (1.6.7)
|
18
18
|
mime-types (>= 1.16)
|
19
19
|
rspec (2.9.0)
|
@@ -25,12 +25,16 @@ GEM
|
|
25
25
|
diff-lcs (~> 1.1.3)
|
26
26
|
rspec-mocks (2.9.0)
|
27
27
|
ruby-hmac (0.4.0)
|
28
|
+
simplecov (0.7.1)
|
29
|
+
multi_json (~> 1.0)
|
30
|
+
simplecov-html (~> 0.7.1)
|
31
|
+
simplecov-html (0.7.1)
|
28
32
|
|
29
33
|
PLATFORMS
|
30
34
|
ruby
|
31
35
|
|
32
36
|
DEPENDENCIES
|
33
37
|
mocha
|
34
|
-
rcov
|
35
38
|
rspec
|
39
|
+
simplecov
|
36
40
|
waz-storage!
|
data/README.rdoc
CHANGED
@@ -15,6 +15,9 @@ Full documentation for the gem is available at http://waz-storage.heroku.com
|
|
15
15
|
Well, this is a sum up of the whole experience of writing those gems and getting them to work together to simplify
|
16
16
|
end user experience. Although there're some breaking changes, it's pretty backward compatible with existing gems.
|
17
17
|
|
18
|
+
=== What's new on v1.1.4?
|
19
|
+
- Fixes an issue with Double Encoding (thanks Phil Ibis!)
|
20
|
+
|
18
21
|
=== What's new on v1.1.2?
|
19
22
|
|
20
23
|
The main difference with the original library is the adding of the method "railsetag".
|
data/rakefile
CHANGED
@@ -6,8 +6,6 @@ require 'bundler/gem_tasks'
|
|
6
6
|
RSpec::Core::RakeTask.new do |t|
|
7
7
|
t.name = :specs
|
8
8
|
t.pattern = "tests/**/*_test.rb"
|
9
|
-
t.rcov = true
|
10
|
-
t.rcov_opts = ['--text-report', '--exclude', "exclude.*/.gem,test,Library,#{ENV['GEM_HOME']}", '--sort', 'coverage' ]
|
11
9
|
t.rspec_opts = ['-cfn']
|
12
10
|
end
|
13
11
|
|
@@ -20,4 +18,4 @@ namespace :docs do
|
|
20
18
|
t.rdoc_files.include('README.rdoc')
|
21
19
|
t.rdoc_files.include('lib/**/*.rb')
|
22
20
|
end
|
23
|
-
end
|
21
|
+
end
|
data/tests/configuration.rb
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
SimpleCov.start do
|
3
|
+
add_group "Gem files" do |src_file|
|
4
|
+
lib_path = File.expand_path("../lib", File.dirname(__FILE__))
|
5
|
+
src_file.filename.start_with?(lib_path)
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
1
9
|
require 'rubygems'
|
2
10
|
require 'rspec'
|
3
11
|
require 'rspec/autorun'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# enabling the load of files from root (on RSpec)
|
2
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__) + '
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../../')
|
3
3
|
require 'tests/configuration'
|
4
4
|
require 'lib/waz-blobs'
|
5
5
|
|
@@ -77,4 +77,4 @@ describe "Windows Azure Blobs interface API" do
|
|
77
77
|
blob = WAZ::Blobs::BlobObject.new(:name => "blob_name", :url => "http://localhost/container/blob?snapshot=foo", :content_type => "application/xml")
|
78
78
|
blob.path.should == "container/blob?snapshot=foo"
|
79
79
|
end
|
80
|
-
end
|
80
|
+
end
|
data/waz-storage.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
12
12
|
gem.name = "waz-storage"
|
13
13
|
gem.require_paths = ["lib"]
|
14
|
-
gem.version = "1.
|
14
|
+
gem.version = "1.2.0"
|
15
15
|
|
16
16
|
gem.test_files = Dir['tests/**/*']
|
17
17
|
|
@@ -22,6 +22,6 @@ Gem::Specification.new do |gem|
|
|
22
22
|
gem.add_dependency 'ruby-hmac'
|
23
23
|
|
24
24
|
gem.add_development_dependency 'rspec'
|
25
|
-
gem.add_development_dependency '
|
25
|
+
gem.add_development_dependency 'simplecov'
|
26
26
|
gem.add_development_dependency 'mocha'
|
27
27
|
end
|
metadata
CHANGED
@@ -1,92 +1,106 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: waz-storage
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 1
|
8
|
-
- 4
|
9
|
-
version: 1.1.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Johnny G. Halife
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-12-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rest-client
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 0
|
29
|
-
version: "0"
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
30
22
|
type: :runtime
|
31
|
-
version_requirements: *id001
|
32
|
-
- !ruby/object:Gem::Dependency
|
33
|
-
name: ruby-hmac
|
34
23
|
prerelease: false
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: ruby-hmac
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
42
38
|
type: :runtime
|
43
|
-
version_requirements: *id002
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: rspec
|
46
39
|
prerelease: false
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
54
|
type: :development
|
55
|
-
version_requirements: *id003
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: rcov
|
58
55
|
prerelease: false
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: simplecov
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
66
70
|
type: :development
|
67
|
-
version_requirements: *id004
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: mocha
|
70
71
|
prerelease: false
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: mocha
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
78
86
|
type: :development
|
79
|
-
|
80
|
-
|
81
|
-
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
description: A simple implementation of Windows Azure Storage API for Ruby, inspired
|
95
|
+
by the S3 gems and self experience of dealing with queues. The major goal of the
|
96
|
+
whole gem is to enable ruby developers [like me =)] to leverage Windows Azure Storage
|
97
|
+
features and have another option for cloud storage.
|
98
|
+
email:
|
82
99
|
- johnny.halife@me.com
|
83
100
|
executables: []
|
84
|
-
|
85
101
|
extensions: []
|
86
|
-
|
87
102
|
extra_rdoc_files: []
|
88
|
-
|
89
|
-
files:
|
103
|
+
files:
|
90
104
|
- .gitignore
|
91
105
|
- CHANGELOG.rdoc
|
92
106
|
- Gemfile
|
@@ -127,39 +141,34 @@ files:
|
|
127
141
|
- tests/waz/tables/service_test.rb
|
128
142
|
- tests/waz/tables/table_test.rb
|
129
143
|
- waz-storage.gemspec
|
130
|
-
has_rdoc: true
|
131
144
|
homepage: http://waz-storage.heroku.com
|
132
145
|
licenses: []
|
133
|
-
|
134
146
|
post_install_message:
|
135
|
-
rdoc_options:
|
147
|
+
rdoc_options:
|
136
148
|
- --line-numbers
|
137
149
|
- --inline-source
|
138
150
|
- -A cattr_accessor=object
|
139
|
-
require_paths:
|
151
|
+
require_paths:
|
140
152
|
- lib
|
141
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
requirements:
|
150
|
-
- -
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
|
153
|
-
- 0
|
154
|
-
version: "0"
|
153
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ! '>='
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
155
165
|
requirements: []
|
156
|
-
|
157
166
|
rubyforge_project:
|
158
|
-
rubygems_version: 1.
|
167
|
+
rubygems_version: 1.8.24
|
159
168
|
signing_key:
|
160
169
|
specification_version: 3
|
161
170
|
summary: Client library for Windows Azure's Storage Service REST API
|
162
|
-
test_files:
|
171
|
+
test_files:
|
163
172
|
- tests/configuration.rb
|
164
173
|
- tests/waz/blobs/blob_object_test.rb
|
165
174
|
- tests/waz/blobs/container_test.rb
|