aws-url 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -2
- data/lib/aws/url.rb +3 -2
- data/lib/aws/url/version.rb +1 -1
- data/spec/aws/url_spec.rb +4 -0
- metadata +6 -6
data/README.md
CHANGED
@@ -4,10 +4,12 @@
|
|
4
4
|
|
5
5
|
A minimum-viable URL builder for [Amazon Web Services (AWS)][aws].
|
6
6
|
|
7
|
-
[Vacuum][vacuum] and [Peddler][peddler] implement AWS URL. [Fog][fog] doesn't.
|
8
|
-
|
9
7
|
![bezos][bezos]
|
10
8
|
|
9
|
+
[Vacuum][vacuum] and [Peddler][peddler] use AWS URL.
|
10
|
+
|
11
|
+
[Fog][fog] doesn't.
|
12
|
+
|
11
13
|
[status]: https://secure.travis-ci.org/hakanensari/aws-url.png
|
12
14
|
[travis]: http://travis-ci.org/hakanensari/aws-url
|
13
15
|
[aws]: http://aws.amazon.com/
|
data/lib/aws/url.rb
CHANGED
@@ -56,16 +56,17 @@ module AWS
|
|
56
56
|
#
|
57
57
|
# hash - A Hash.
|
58
58
|
#
|
59
|
-
# Returns
|
59
|
+
# Returns self.
|
60
60
|
def update(hash)
|
61
61
|
hash.each do |key, val|
|
62
62
|
# Syntactic sugar: Camelize symbol keys.
|
63
63
|
if key.is_a? Symbol
|
64
64
|
key = key.to_s.split('_').map(&:capitalize).join
|
65
65
|
end
|
66
|
-
|
67
66
|
@params[key] = val
|
68
67
|
end
|
68
|
+
|
69
|
+
self
|
69
70
|
end
|
70
71
|
|
71
72
|
private
|
data/lib/aws/url/version.rb
CHANGED
data/spec/aws/url_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-url
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70339646668100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.9'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70339646668100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &70339646667600 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '2.9'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70339646667600
|
36
36
|
description: A minimum-viable URL builder for Amazon Web Services (AWS)
|
37
37
|
email:
|
38
38
|
- hakan.ensari@papercavalier.com
|