zazzle_rails 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +11 -0
- data/README.md +22 -18
- data/lib/zazzle_rails/version.rb +1 -1
- metadata +3 -2
data/.travis.yml
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- "1.8.7"
|
4
|
+
- "1.9.2"
|
5
|
+
- "1.9.3"
|
6
|
+
- jruby-18mode # JRuby in 1.8 mode
|
7
|
+
- jruby-19mode # JRuby in 1.9 mode
|
8
|
+
- rbx-18mode
|
9
|
+
- rbx-19mode
|
10
|
+
# uncomment this line if your project needs to run something other than `rake`:
|
11
|
+
script: bundle exec rspec spec
|
data/README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# ZazzleRails
|
2
2
|
|
3
3
|
A gem geared towards parsing the Zazzle RSS feeds for a given store.
|
4
|
-
|
4
|
+
|
5
5
|
Ideally this will use their api instead of their RSS when they enable that kind of functionality.
|
6
6
|
|
7
|
+
[![Gem Version](https://badge.fury.io/rb/zazzle_rails.png)](http://badge.fury.io/rb/zazzle_rails)
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
Add this line to your application's Gemfile:
|
@@ -27,23 +29,25 @@ To use it, simply install and then you can get back your list of products using
|
|
27
29
|
This will return a hash of products from that store in the format of:
|
28
30
|
|
29
31
|
{:items=>
|
30
|
-
|
31
|
-
{
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
32
|
+
[
|
33
|
+
{
|
34
|
+
:guid=>"256512229341746841",
|
35
|
+
:pubDate=>"Wed, 30 Jan 2013 06:10:16 GMT",
|
36
|
+
:title=>"justNeph Messenger Bag",
|
37
|
+
:link=>
|
38
|
+
"http://www.zazzle.com/justneph_messenger_bag_computer_bag-256512229341746841",
|
39
|
+
:author=>"justNeph",
|
40
|
+
:description=>
|
41
|
+
"Got stuff to carry. Got drugs to move. Got a copy of 50 Shades you're embarassed to carry. Get the justNeph Messenger Bag! It's comfortable, spacious and lets people kn
|
42
|
+
:price=>"$169.95",
|
43
|
+
:thumbnail=>
|
44
|
+
"http://rlv.zcache.com/justneph_messenger_bag_computer_bag-r53e6c2d36ac64d40aa15b71a7175d704_vxzzv_8byvr_152.jpg",
|
45
|
+
:content=>
|
46
|
+
"http://rlv.zcache.com/justneph_messenger_bag_computer_bag-r53e6c2d36ac64d40aa15b71a7175d704_vxzzv_8byvr_500.jpg",
|
47
|
+
:keywords=>"justneph, bag, messenger-bag, youtube",
|
48
|
+
:rating=>"g"
|
49
|
+
}
|
50
|
+
]
|
47
51
|
}
|
48
52
|
|
49
53
|
With the attributes for each product being
|
data/lib/zazzle_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zazzle_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.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: 2013-05-
|
12
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -84,6 +84,7 @@ extra_rdoc_files: []
|
|
84
84
|
files:
|
85
85
|
- .gitignore
|
86
86
|
- .rspec
|
87
|
+
- .travis.yml
|
87
88
|
- Gemfile
|
88
89
|
- LICENSE.txt
|
89
90
|
- README.md
|