jeff 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24de0bfe87f97a2aea2d0c061de58a2c84baadfa
4
- data.tar.gz: 64005a0efd8e83d49e5967dc17577610c9880833
3
+ metadata.gz: 4c7dc14e469ed9bff6b7b93326df76629ee207ff
4
+ data.tar.gz: a2a4c1e52d690d4bb8d21a10bfdac7d5a1b6d144
5
5
  SHA512:
6
- metadata.gz: 6323103376a7887a697808d401e5e98240811854ea0a9f2b099d87569b2e789a4684bfb658d2be159b43da008894cfac31a5d58a0ed1259623f147bf00acb732
7
- data.tar.gz: 57ec8babfe50c0d041ae0641880cbcd6573eb81d89b6264ee3cf17fdce7d273e2e12a9e3ed5cb751c18cac73cabad7827349320aa34a12082ee94e90f298768b
6
+ metadata.gz: 22f4c89066d57d64575ce4940b444a4de9b958aaaa1227892f75cda23c0add9226cba2be7c204e00078fdc26debd44cc71b518f7a4dfee5ea4334b9459f5941d
7
+ data.tar.gz: ca9944259a9f2f7a2156ba0677145031eacaa090ec851df55df69015f08a40ce714a3f88c1e33dd7f9c31b264e77e47630a0a2b6284e1fba08414042f2913da2
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # 1.0.1 18/12/2013
2
+
3
+ relax Excon dependency version
4
+
5
+ # 1.0.0 25/11/2013
6
+
7
+ first stable release
data/README.md CHANGED
@@ -1,46 +1,15 @@
1
1
  # Jeff
2
2
 
3
- Jeff mixes in client behaviour for Amazon Web Services (AWS) that require
4
- [Signature version 2 authentication][sig].
3
+ Jeff [signs requests][signature] to some Amazon Web Services.
5
4
 
6
- Jeff builds on [Excon][exc].
7
-
8
- ![jeff][jef]
5
+ [Vacuum][vacuum] and [Peddler][peddler] mix in Jeff.
9
6
 
10
7
  ## Usage
11
8
 
12
- A minimal example:
13
-
14
- ```ruby
15
- ProductsService = Struct.new(:aws_access_key_id, :aws_secret_access_key) do
16
- include Jeff
17
-
18
- PARSER = /Status>([^<]+)/
19
-
20
- def self.status
21
- new('foo', 'bar').status
22
- end
23
-
24
- def aws_endpoint
25
- 'https://mws.amazonservices.com/Products/2011-10-01'
26
- end
27
-
28
- def status
29
- get(query: { 'Action' => 'GetServiceStatus' })
30
- .body
31
- .match(PARSER)
32
- .[](1)
33
- end
34
- end
35
-
36
- ProductsService.status
37
- # => "GREEN"
38
- ```
39
-
40
- [Vacuum][vac] and [Peddler][ped] implement Jeff.
9
+ <img src="http://f.cl.ly/items/0q0X2f0U053F1U3h131N/jeff-2.jpg">
10
+ <img src="http://f.cl.ly/items/0I1U1p3E3r1z2V2x3l35/jeff-1.jpg">
11
+ <img src="http://f.cl.ly/items/161x3q280o0U3d3v352H/jeff-3.jpg">
41
12
 
42
- [sig]: http://docs.amazonwebservices.com/general/latest/gr/signature-version-2.html
43
- [exc]: https://github.com/geemus/excon
44
- [jef]: http://f.cl.ly/items/0a3R3J0k1R2f423k1q2l/jeff.jpg
45
- [vac]: https://github.com/hakanensari/vacuum
46
- [ped]: https://github.com/papercavalier/peddler
13
+ [signature]: http://docs.amazonwebservices.com/general/latest/gr/signature-version-2.html
14
+ [vacuum]: https://github.com/hakanensari/vacuum
15
+ [peddler]: https://github.com/papercavalier/peddler
data/jeff.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ['lib']
16
16
  gem.version = Jeff::VERSION
17
17
 
18
- gem.add_dependency 'excon', '~> 0.29.0'
18
+ gem.add_dependency 'excon', '>= 0.22.1'
19
19
  gem.add_development_dependency 'minitest'
20
20
  gem.add_development_dependency 'rake'
21
21
 
data/lib/jeff/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jeff
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/lib/jeff.rb CHANGED
@@ -11,7 +11,7 @@ require 'jeff/version'
11
11
  # Jeff mixes in client behaviour for Amazon Web Services (AWS) that require
12
12
  # Signature version 2 authentication.
13
13
  module Jeff
14
- # Converts a query value to a sorted query string.
14
+ # Converts query field-value pairs to a sorted query string.
15
15
  class Query
16
16
  attr :values
17
17
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hakan Ensari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-25 00:00:00.000000000 Z
11
+ date: 2013-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.29.0
19
+ version: 0.22.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.29.0
26
+ version: 0.22.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -61,6 +61,7 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - .gitignore
63
63
  - .travis.yml
64
+ - CHANGELOG.md
64
65
  - Gemfile
65
66
  - LICENSE
66
67
  - README.md
@@ -88,9 +89,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
89
  version: '0'
89
90
  requirements: []
90
91
  rubyforge_project:
91
- rubygems_version: 2.0.3
92
+ rubygems_version: 2.1.11
92
93
  signing_key:
93
94
  specification_version: 4
94
95
  summary: An AWS client
95
96
  test_files:
96
97
  - test/test_jeff.rb
98
+ has_rdoc: