rakumarket 0.0.1

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.
data/.gitignore ADDED
@@ -0,0 +1,24 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ *.gem
5
+ dist
6
+ .yardopts
7
+ .yardoc
8
+
9
+ ## TEXTMATE
10
+ *.tmproj
11
+ tmtags
12
+
13
+ ## EMACS
14
+ *~
15
+ \#*
16
+ .\#*
17
+
18
+ ## VIM
19
+ *.swp
20
+
21
+ ## PROJECT::GENERAL
22
+ coverage
23
+ rdoc
24
+ pkg
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source :rubygems
2
+
3
+ # Specify your gem's dependencies in rakumarket.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,43 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rakumarket (0.0.1)
5
+ activesupport (~> 2.3.2)
6
+ hashie (>= 0.1.3)
7
+ httparty (>= 0.1.0)
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ activesupport (2.3.14)
13
+ addressable (2.2.8)
14
+ crack (0.3.1)
15
+ diff-lcs (1.1.3)
16
+ hashie (1.2.0)
17
+ httparty (0.8.3)
18
+ multi_json (~> 1.0)
19
+ multi_xml
20
+ multi_json (1.3.6)
21
+ multi_xml (0.5.1)
22
+ rspec (2.8.0)
23
+ rspec-core (~> 2.8.0)
24
+ rspec-expectations (~> 2.8.0)
25
+ rspec-mocks (~> 2.8.0)
26
+ rspec-core (2.8.0)
27
+ rspec-expectations (2.8.0)
28
+ diff-lcs (~> 1.1.2)
29
+ rspec-mocks (2.8.0)
30
+ vcr (2.2.0)
31
+ webmock (1.8.7)
32
+ addressable (>= 2.2.7)
33
+ crack (>= 0.1.7)
34
+
35
+ PLATFORMS
36
+ ruby
37
+
38
+ DEPENDENCIES
39
+ bundler (>= 1.0.0)
40
+ rakumarket!
41
+ rspec (~> 2.6)
42
+ vcr
43
+ webmock
data/README.rdoc ADDED
@@ -0,0 +1,79 @@
1
+ = Rakumarket
2
+
3
+ A reader-friendly Ruby abstraction of the Rakuten Market API.
4
+
5
+
6
+ == DESCRIPTION:
7
+
8
+ The goal was to abstract Rakuten's complex API away from users and provide a simpler, easier-to-read Ruby interface in its place.
9
+
10
+
11
+ == FEATURES:
12
+
13
+ * Idiomatic Ruby
14
+ * Simpler and more readable representation of the underlying API
15
+ * Returns Hashie::Mash[https://github.com/intridea/hashie]
16
+
17
+
18
+ == GOALS:
19
+
20
+ * Completeness
21
+
22
+
23
+ == CONFIGURATION:
24
+
25
+ Rakumarket.developer_id = 'your_developer_id'
26
+
27
+ == INTERFACE:
28
+
29
+ === {Item Search}[https://github.com/bonsaiben/rakumarket/wiki/Item-Search]
30
+
31
+ Rakumarket.item_search "roomba", options
32
+
33
+
34
+
35
+
36
+ == TODO:
37
+
38
+ * remaining APIs
39
+
40
+
41
+ == DEPENDENCIES:
42
+
43
+ * HTTParty[https://github.com/jnunemaker/httparty]
44
+ * Hashie::Mash[https://github.com/intridea/hashie]
45
+ * ActiveSupport[https://github.com/rails/rails/tree/master/activesupport]
46
+
47
+
48
+ == INSTALL:
49
+
50
+
51
+ == LICENSE:
52
+
53
+ (The MIT License)
54
+
55
+ Copyright (c) 2012 Benjamin Sullivan
56
+
57
+ Permission is hereby granted, free of charge, to any person obtaining
58
+ a copy of this software and associated documentation files (the
59
+ 'Software'), to deal in the Software without restriction, including
60
+ without limitation the rights to use, copy, modify, merge, publish,
61
+ distribute, sublicense, and/or sell copies of the Software, and to
62
+ permit persons to whom the Software is furnished to do so, subject to
63
+ the following conditions:
64
+
65
+ The above copyright notice and this permission notice shall be
66
+ included in all copies or substantial portions of the Software.
67
+
68
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
69
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
71
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
72
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
73
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
74
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
75
+
76
+
77
+ == CREDIT:
78
+
79
+ Rakumarket is inspired by multiple other Ruby API wrappers including groupon[https://github.com/pengwynn/groupon] and facebooker[https://github.com/mmangino/facebooker].
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks