tipsanity_merchant_extractor 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,2 @@
1
+ rvm:
2
+ - 1.9.3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
- ## v0.0.1
1
+ ## v0.0.2
2
2
 
3
3
  * initial release with amazon api derivatives.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # TipsanityMerchantExtractor
1
+ # TipsanityMerchantExtractor [![Build Status](https://www.travis-ci.org/umeshblader3/TipsanityMerchantExtractor.png)](https://www.travis-ci.org/umeshblader3/TipsanityMerchantExtractor)
2
2
 
3
3
  TODO: Write a gem description
4
4
 
@@ -18,7 +18,27 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ Initiate a file with config/initializers/asin.rb
22
+
23
+ require 'asin'
24
+
25
+ require 'httpi'
26
+
27
+ HTTPI.adapter = :httpclient
28
+
29
+ HTTPI.logger = Rails.logger
30
+
31
+ ASIN::Configuration.configure do |config|
32
+
33
+ config.secret = 'your secret'
34
+
35
+ config.key = 'your key'
36
+
37
+ config.associate_tag = 'your tag provided by amazon'
38
+
39
+ config.version = 'version provided by amazon' # every details you can simply get from amazon profile.
40
+
41
+ Then start server and have some basic test.
22
42
 
23
43
  ## Contributing
24
44
 
@@ -1,3 +1,3 @@
1
1
  module TipsanityMerchantExtractor
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,6 +1,8 @@
1
1
  require "tipsanity_merchant_extractor/version"
2
2
  require 'uri'
3
- require 'asin_configuration'
3
+ # $LOAD_PATH << './lib'
4
+
5
+ # require 'asin_configuration'
4
6
 
5
7
  module TipsanityMerchantExtractor
6
8
  module UrlFormatter
@@ -17,7 +17,12 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
+ gem.add_dependency "asin"
21
+
22
+ gem.add_dependency 'httpclient'
23
+
24
+ gem.add_development_dependency "rake"
20
25
  gem.add_development_dependency "rspec"
21
- gem.add_development_dependency "asin"
26
+ # gem.add_development_dependency "asin"
22
27
  gem.add_development_dependency "httpclient"
23
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tipsanity_merchant_extractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-06 00:00:00.000000000 Z
12
+ date: 2013-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rspec
16
- requirement: &84387350 !ruby/object:Gem::Requirement
15
+ name: asin
16
+ requirement: &76184940 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *76184940
25
+ - !ruby/object:Gem::Dependency
26
+ name: httpclient
27
+ requirement: &76184510 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *76184510
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake
38
+ requirement: &76184150 !ruby/object:Gem::Requirement
17
39
  none: false
18
40
  requirements:
19
41
  - - ! '>='
@@ -21,10 +43,10 @@ dependencies:
21
43
  version: '0'
22
44
  type: :development
23
45
  prerelease: false
24
- version_requirements: *84387350
46
+ version_requirements: *76184150
25
47
  - !ruby/object:Gem::Dependency
26
- name: asin
27
- requirement: &84319480 !ruby/object:Gem::Requirement
48
+ name: rspec
49
+ requirement: &76183800 !ruby/object:Gem::Requirement
28
50
  none: false
29
51
  requirements:
30
52
  - - ! '>='
@@ -32,10 +54,10 @@ dependencies:
32
54
  version: '0'
33
55
  type: :development
34
56
  prerelease: false
35
- version_requirements: *84319480
57
+ version_requirements: *76183800
36
58
  - !ruby/object:Gem::Dependency
37
59
  name: httpclient
38
- requirement: &84319180 !ruby/object:Gem::Requirement
60
+ requirement: &76183320 !ruby/object:Gem::Requirement
39
61
  none: false
40
62
  requirements:
41
63
  - - ! '>='
@@ -43,7 +65,7 @@ dependencies:
43
65
  version: '0'
44
66
  type: :development
45
67
  prerelease: false
46
- version_requirements: *84319180
68
+ version_requirements: *76183320
47
69
  description: Tipsanity website uses this gem to extract their marchant related information
48
70
  email:
49
71
  - umeshblader@gmail.com
@@ -53,6 +75,7 @@ extra_rdoc_files: []
53
75
  files:
54
76
  - .gitignore
55
77
  - .rspec
78
+ - .travis.yml
56
79
  - CHANGELOG.md
57
80
  - Gemfile
58
81
  - LICENSE.txt