goldshark_gem 0.1.2 → 0.2.3
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 +1 -0
- data/Gemfile +1 -1
- data/README.md +13 -3
- data/goldshark_gem.gemspec +5 -3
- metadata +6 -7
- data/Gemfile.lock +0 -35
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -67,13 +67,23 @@ After the text object is initialized. The find method returns the value as a str
|
|
67
67
|
|
68
68
|
texts.load_texts
|
69
69
|
|
70
|
-
|
70
|
+
texts.find(text_type)
|
71
71
|
|
72
72
|
###Example:
|
73
73
|
|
74
|
-
|
74
|
+
texts.find('buy_now')
|
75
75
|
=> 'Buy Now'
|
76
76
|
|
77
|
+
**Introduced in v0.2.1 a more forgiving ability to look up tool text type. The tool text type is not case sensitive anymore and can also be looked up as ddowncased and underscored.**
|
78
|
+
|
79
|
+
**Example: if the tool_type = 'Buy Now' all the following are valid
|
80
|
+
options**
|
81
|
+
|
82
|
+
texts.find('Buy Now')
|
83
|
+
texts.find('buy now')
|
84
|
+
texts.find('buy_now')
|
85
|
+
|
86
|
+
|
77
87
|
###Grab the tool object with session id if defined, without session id if not defined
|
78
88
|
|
79
89
|
gs.get_tool
|
@@ -126,7 +136,7 @@ The following call will record microconversion based on the gs.session\_id and t
|
|
126
136
|
###PG CI interaction
|
127
137
|
|
128
138
|
Since we often need to pull CI buy now info for PG products. The GS::Ci module will allow you to pass a sku and an rgid value (usually provided
|
129
|
-
by the vendor to
|
139
|
+
by the vendor to retrieve an array of vendors, vendor logo images and buy now links to build the buy now button for a
|
130
140
|
specific product.
|
131
141
|
|
132
142
|
ci = GS::Ci.new
|
data/goldshark_gem.gemspec
CHANGED
@@ -6,12 +6,14 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.email = ["groselli@igodigital.com"]
|
7
7
|
s.summary = %q{A gem to interact with iGodigital GoldShark API}
|
8
8
|
s.description = %q{A gem to interact with iGodigital GoldShark API}
|
9
|
+
s.homepage = "https://rubygems.org/gems/goldshark_gem/"
|
9
10
|
s.files = `git ls-files`.split($\)
|
10
|
-
s.
|
11
|
+
s.test_files = `git ls-files tests/*.rb`.split($\)
|
12
|
+
s.extra_rdoc_files = [
|
11
13
|
"README.md"
|
12
14
|
]
|
13
|
-
s.add_dependency 'activesupport'
|
15
|
+
s.add_dependency 'activesupport'
|
14
16
|
s.add_dependency 'libxml-ruby'
|
15
17
|
s.require_paths = ["lib"]
|
16
|
-
s.version = '0.
|
18
|
+
s.version = '0.2.3'
|
17
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goldshark_gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,17 +16,17 @@ dependencies:
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: libxml-ruby
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,7 +54,6 @@ files:
|
|
54
54
|
- .document
|
55
55
|
- .gitignore
|
56
56
|
- Gemfile
|
57
|
-
- Gemfile.lock
|
58
57
|
- LICENSE.txt
|
59
58
|
- README.md
|
60
59
|
- Rakefile
|
@@ -72,7 +71,7 @@ files:
|
|
72
71
|
- test/text_test.rb
|
73
72
|
- test/tool_test.rb
|
74
73
|
- test/vcr_setup.rb
|
75
|
-
homepage:
|
74
|
+
homepage: https://rubygems.org/gems/goldshark_gem/
|
76
75
|
licenses: []
|
77
76
|
post_install_message:
|
78
77
|
rdoc_options: []
|
data/Gemfile.lock
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://gemcutter.org/
|
3
|
-
specs:
|
4
|
-
ZenTest (4.8.2)
|
5
|
-
activesupport (3.2.8)
|
6
|
-
i18n (~> 0.6)
|
7
|
-
multi_json (~> 1.0)
|
8
|
-
addressable (2.3.2)
|
9
|
-
ansi (1.4.3)
|
10
|
-
crack (0.3.1)
|
11
|
-
i18n (0.6.1)
|
12
|
-
libxml-ruby (2.3.3)
|
13
|
-
minitest (3.4.0)
|
14
|
-
multi_json (1.3.6)
|
15
|
-
rake (0.9.2.2)
|
16
|
-
turn (0.9.6)
|
17
|
-
ansi
|
18
|
-
vcr (2.2.5)
|
19
|
-
webmock (1.8.11)
|
20
|
-
addressable (>= 2.2.7)
|
21
|
-
crack (>= 0.1.7)
|
22
|
-
|
23
|
-
PLATFORMS
|
24
|
-
ruby
|
25
|
-
|
26
|
-
DEPENDENCIES
|
27
|
-
ZenTest
|
28
|
-
activesupport (= 3.2.8)
|
29
|
-
bundler
|
30
|
-
libxml-ruby
|
31
|
-
minitest
|
32
|
-
rake
|
33
|
-
turn
|
34
|
-
vcr
|
35
|
-
webmock
|