atpay_buttons 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/atpay_buttons.gemspec +2 -2
- data/circle.yml +4 -4
- data/lib/atpay/button/template.rb +2 -0
- data/lib/atpay/button/templates/default.liquid +7 -5
- data/lib/atpay/button/templates/wrap_default.liquid +12 -8
- data/lib/atpay/button/templates/wrap_yahoo.liquid +14 -10
- data/lib/atpay/button/templates/yahoo.liquid +14 -10
- metadata +3 -4
data/atpay_buttons.gemspec
CHANGED
@@ -4,8 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "atpay_buttons"
|
7
|
-
spec.version = '1.
|
8
|
-
spec.date = '
|
7
|
+
spec.version = '1.3.0'
|
8
|
+
spec.date = '2014-01-29'
|
9
9
|
spec.authors = ["Thomas Pastinsky", "Glen Holcomb", "James Kassemi", "Isaiah Baca"]
|
10
10
|
spec.email = ["dev@atpay.com"]
|
11
11
|
spec.description = 'Atpay button generator'
|
data/circle.yml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
dependencies:
|
2
2
|
pre:
|
3
|
-
- curl -O http://download.dnscrypt.org/libsodium/releases/libsodium-0.4.
|
4
|
-
- tar -xvzf libsodium-0.4.
|
5
|
-
- cd libsodium-0.4.
|
6
|
-
- cp libsodium-0.4.
|
3
|
+
- curl -O http://download.dnscrypt.org/libsodium/releases/libsodium-0.4.3.tar.gz
|
4
|
+
- tar -xvzf libsodium-0.4.3.tar.gz
|
5
|
+
- cd libsodium-0.4.3 && ./configure && make
|
6
|
+
- cp libsodium-0.4.3/src/libsodium/.libs/libsodium.so ./lib/
|
7
7
|
|
8
8
|
test:
|
9
9
|
override:
|
@@ -26,11 +26,13 @@
|
|
26
26
|
|
27
27
|
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
|
28
28
|
<tr>
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
{% if image %}
|
30
|
+
<td class='cart'>
|
31
|
+
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
32
|
+
<img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
|
33
|
+
</a>
|
34
|
+
</td>
|
35
|
+
{% endif %}
|
34
36
|
<td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
|
35
37
|
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
36
38
|
{{dollar}}
|
@@ -30,9 +30,11 @@
|
|
30
30
|
<center>
|
31
31
|
<table class="reg_mailto" border='0' cellpadding='0' cellspacing='0' style='font-family: Tahoma; background-color:{{background_color}}; padding:10px 15px 10px 0; width:150px;'>
|
32
32
|
<tr>
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
{% if image %}
|
34
|
+
<td style='width:45px; padding-left:10px; height:39px; text-align:right;'>
|
35
|
+
<a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto;' target="_blank"> <img src='{{image}}'> </a>
|
36
|
+
</td>
|
37
|
+
{% endif %}
|
36
38
|
<td style='padding-right:0px; color: {{foreground_color}};font-size:24px; padding-top:3px; text-align:right;' valign='top'>
|
37
39
|
<a class='reg_mailto' href='{{url}}' style='display: inline-block; width:auto; text-decoration:none; color:{{foreground_color}};' target="_blank"> {{dollar}}</a>
|
38
40
|
</td>
|
@@ -44,11 +46,13 @@
|
|
44
46
|
|
45
47
|
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
|
46
48
|
<tr>
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
49
|
+
{% if image %}
|
50
|
+
<td class='cart'>
|
51
|
+
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
52
|
+
<img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
|
53
|
+
</a>
|
54
|
+
</td>
|
55
|
+
{% endif %}
|
52
56
|
<td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
|
53
57
|
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
54
58
|
{{dollar}}
|
@@ -31,11 +31,13 @@
|
|
31
31
|
<td class='main' style='padding:3px 5px 5px 5px;' width='145'>
|
32
32
|
<table>
|
33
33
|
<tr>
|
34
|
-
|
35
|
-
<
|
36
|
-
<
|
37
|
-
|
38
|
-
|
34
|
+
{% if image %}
|
35
|
+
<td>
|
36
|
+
<a class='yahoo' fix='email' href='{{yahoo_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
|
37
|
+
<img src='{{image}}' style='margin-left: 5px; margin-right:10px; margin-top:8px;'>
|
38
|
+
</a>
|
39
|
+
</td>
|
40
|
+
{% endif %}
|
39
41
|
<td>
|
40
42
|
<table border='0' cellpadding='0' cellspacing='0' style='float:left; margin:0; margin-left:5px;'>
|
41
43
|
<tr>
|
@@ -75,11 +77,13 @@
|
|
75
77
|
<td class='main' style='padding:3px 5px 5px 5px;' width='145'>
|
76
78
|
<table>
|
77
79
|
<tr>
|
78
|
-
|
79
|
-
<
|
80
|
-
<
|
81
|
-
|
82
|
-
|
80
|
+
{% if image %}
|
81
|
+
<td>
|
82
|
+
<a class='not_yahoo' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
|
83
|
+
<img src='{{image}}' style='margin-left: 5px; margin-right:10px; margin-top:8px;'>
|
84
|
+
</a>
|
85
|
+
</td>
|
86
|
+
{% endif %}
|
83
87
|
<td>
|
84
88
|
<table border='0' cellpadding='0' cellspacing='0' style='float:left; margin:0; margin-left:5px;'>
|
85
89
|
<tr>
|
@@ -16,11 +16,13 @@
|
|
16
16
|
<td class='main' style='padding:3px 5px 5px 5px;' width='145'>
|
17
17
|
<table>
|
18
18
|
<tr>
|
19
|
-
|
20
|
-
<
|
21
|
-
<
|
22
|
-
|
23
|
-
|
19
|
+
{% if image %}
|
20
|
+
<td>
|
21
|
+
<a class='yahoo' fix='email' href='{{yahoo_url}}' style='color:{{foreground_color}}; text-decoration:none; border:none; display:inline;'>
|
22
|
+
<img src='{{image}}' style='margin-left: 5px; margin-right:10px; margin-top:8px;'>
|
23
|
+
</a>
|
24
|
+
</td>
|
25
|
+
{% endif %}
|
24
26
|
<td>
|
25
27
|
<table border='0' cellpadding='0' cellspacing='0' style='float:left; margin:0; margin-left:5px;'>
|
26
28
|
<tr>
|
@@ -60,11 +62,13 @@
|
|
60
62
|
<td class='main' style='padding:3px 5px 5px 5px;' width='145'>
|
61
63
|
<table>
|
62
64
|
<tr>
|
63
|
-
|
64
|
-
<
|
65
|
-
<
|
66
|
-
|
67
|
-
|
65
|
+
{% if image %}
|
66
|
+
<td>
|
67
|
+
<a class='not_yahoo' href='{{url}}' style='color:{{foreground_color}}; text-decoration:none; border:none;'>
|
68
|
+
<img src='{{image}}' style='margin-left: 5px; margin-right:10px; margin-top:8px;'>
|
69
|
+
</a>
|
70
|
+
</td>
|
71
|
+
{% endif %}
|
68
72
|
<td>
|
69
73
|
<table border='0' cellpadding='0' cellspacing='0' style='float:left; margin:0; margin-left:5px;'>
|
70
74
|
<tr>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atpay_buttons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 1.8.
|
135
|
+
rubygems_version: 1.8.23
|
136
136
|
signing_key:
|
137
137
|
specification_version: 3
|
138
138
|
summary: Command line tool and Ruby library for generating @Pay 2 click email buttons
|
@@ -146,4 +146,3 @@ test_files:
|
|
146
146
|
- spec/generator_spec.rb
|
147
147
|
- spec/spec_helper.rb
|
148
148
|
- spec/template_spec.rb
|
149
|
-
has_rdoc:
|