atpay_buttons 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/atpay_buttons.gemspec +2 -2
- data/lib/atpay/button/templates/default.liquid +18 -18
- data/lib/atpay/button/templates/wrap_default.liquid +19 -19
- metadata +6 -15
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MWMxZDFlZGU2NWE3NmUxOTZhMTA0Y2NmNzBkOWI3OTRmMTBkMGZkZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZGE0OGEyNjA5NGRlNGNiODk0YmNlOThhYTc1ZWRiNTQ5MjM5OTk4NQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
OWMyOTk3MmU4OTMwMDgwMjNjMjdkYTdmNDljNmIzMDdmMWJlN2NiNDNiYjRk
|
10
|
+
MjlkNzkwNGUzMTEzNzI2MWIyZDBjN2U1YWVhOTQ0ZjIwNmYwOWZlOGQ0OTkz
|
11
|
+
NWQ1OTRlMWNlNDMyMjI1YmZjOTY1Zjg0MTgwOTI3MzQ2MGUyZTc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MjVlZjg0YmE4ZDBlNjUwMTAyZjVlMWE5MGRiMDFlZmJkNTUzZDYxNjExMzYx
|
14
|
+
MWFjNGJjODYwNDA0NjAwZmQzYjM3ZDYwYjVkNjk0OThiMGYwNWE3OWYyYzdi
|
15
|
+
ZjEyNTQxM2NkMmYyMDI0Njc2ZDljM2U1MWE1MGUzOGZiOGQ4NzY=
|
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.3.
|
8
|
-
spec.date = '2014-04-
|
7
|
+
spec.version = '1.3.9'
|
8
|
+
spec.date = '2014-04-06'
|
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'
|
@@ -2,19 +2,19 @@
|
|
2
2
|
|
3
3
|
<style>
|
4
4
|
.ExternalClass table.reg_mailto {display:none; display: none !important;}
|
5
|
-
|
5
|
+
|
6
6
|
.ExternalClass table.out_mailto {display: table; display: table !important; font-size: 18px !important;}
|
7
7
|
.ExternalClass table.out_mailto {font-family: Tahoma; color #ffffff; background-color:{{background_color}};}
|
8
|
-
|
8
|
+
|
9
9
|
.ExternalClass table.out_mailto td.dollar{vertical-align:top !important; padding-right:0px !important; font-size:24px !important; padding-top:15px !important; text-align:right !important; padding-bottom:10px !important; padding-left:10px;}
|
10
|
-
|
10
|
+
|
11
11
|
.ExternalClass table.out_mailto td.cents{vertical-align:top !important; font-size:12px !important; padding-left:1px !important; padding-right:10px !important; padding-bottom:0px !important; padding-top:15px !important; text-align:left !important; text-decoration:underline !important;}
|
12
|
-
|
13
|
-
.ExternalClass table.out_mailto td img {display: block !important; width: auto
|
14
|
-
|
12
|
+
|
13
|
+
.ExternalClass table.out_mailto td img {display: block !important; height:auto !important; width: auto !important;}
|
14
|
+
|
15
15
|
.ExternalClass table.out_mailto td.cart{width:45px !important; padding-left:10px !important; height:39px !important; text-align:right}
|
16
|
-
|
17
|
-
.ExternalClass table.out_mailto a {display: inline !important; width:auto !important; text-decoration:none !important; color:{{foreground_color}} !important; line-height:auto !important;}
|
16
|
+
|
17
|
+
.ExternalClass table.out_mailto a {display: inline !important; border: 0 !important; width:auto !important; text-decoration:none !important; color:{{foreground_color}} !important; line-height:auto !important;}
|
18
18
|
</style>
|
19
19
|
|
20
20
|
<center>
|
@@ -22,30 +22,30 @@
|
|
22
22
|
<tr>
|
23
23
|
{% if image %}
|
24
24
|
<td style="padding-left:10px; padding-right:0px; padding-top:14px; padding-bottom:10px;text-align:right;">
|
25
|
-
<a class="reg_mailto" href="{{url}}" target="_blank">
|
26
|
-
<img src="{{image}}" style="display:block" />
|
25
|
+
<a class="reg_mailto" href="{{url}}" target="_blank" style="border: 0 !important;">
|
26
|
+
<img src="{{image}}" style="display:block" />
|
27
27
|
</a>
|
28
28
|
</td>
|
29
29
|
{% endif %}
|
30
30
|
<td style="vertical-align:top; padding-left:10px; padding-right:0px; font-size:24px; padding-top:15px; text-align:right; padding-bottom:10px;" valign="top">
|
31
|
-
<a class="reg_mailto" href="{{url}}" style="display: inline; width:auto; line-height:auto; text-decoration:none; color: {{foreground_color}};" target="_blank">
|
31
|
+
<a class="reg_mailto" href="{{url}}" style="display: inline; width:auto; border: 0 !important; line-height:auto; text-decoration:none; color: {{foreground_color}};" target="_blank">
|
32
32
|
{{dollar}}
|
33
33
|
|
34
34
|
</a>
|
35
35
|
</td>
|
36
|
-
|
36
|
+
|
37
37
|
<td class="cents" style="vertical-align:top; font-size:12px; padding-left:1px; padding-right:10px; padding-bottom:0px; padding-top:15px; text-align:left; text-decoration:none;" valign="top">
|
38
|
-
<a class="reg_mailto" href="{{url}}" style="display: inline; width:auto; text-decoration:none !important; color:{{foreground_color}}; line-height:auto;" valign="top" target="_blank">{{cents}}</a>
|
38
|
+
<a class="reg_mailto" href="{{url}}" style="display: inline; border: 0 !important; width:auto; text-decoration:none !important; color:{{foreground_color}}; line-height:auto;" valign="top" target="_blank">{{cents}}</a>
|
39
39
|
</td>
|
40
|
-
|
40
|
+
|
41
41
|
</tr>
|
42
42
|
</table>
|
43
43
|
|
44
|
-
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
|
44
|
+
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='display: none; width:0; height:0; padding:0; margin:0; font-size:0;'>
|
45
45
|
<tr>
|
46
46
|
{% if image %}
|
47
47
|
<td class='cart'>
|
48
|
-
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
48
|
+
<a href='{{outlook_url}}' style='display:none; border: 0 !important;' target="_blank">
|
49
49
|
<img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
|
50
50
|
</a>
|
51
51
|
</td>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
</a>
|
57
57
|
</td>
|
58
58
|
<td class='cents' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
|
59
|
-
<a href='{{outlook_url}}' style='display:none;'
|
59
|
+
<a href='{{outlook_url}}' style='display:none; border: 0 !important;' target="_blank">
|
60
60
|
{{cents}}
|
61
61
|
</a>
|
62
62
|
</td>
|
@@ -65,4 +65,4 @@
|
|
65
65
|
</center>
|
66
66
|
|
67
67
|
|
68
|
-
<!— end @Pay button —>
|
68
|
+
<!— end @Pay button —>
|
@@ -5,16 +5,16 @@
|
|
5
5
|
|
6
6
|
.ExternalClass table.out_mailto {display: table; display: table !important; font-size: 18px !important;}
|
7
7
|
.ExternalClass table.out_mailto {font-family: Tahoma; color #ffffff; background-color:{{background_color}};}
|
8
|
-
|
8
|
+
|
9
9
|
.ExternalClass table.out_mailto td.dollar{vertical-align:top !important; padding-right:0px !important; font-size:24px !important; padding-top:15px !important; text-align:right !important; padding-bottom:10px !important; padding-left:10px;}
|
10
|
-
|
10
|
+
|
11
11
|
.ExternalClass table.out_mailto td.cents{vertical-align:top !important; font-size:12px !important; padding-left:1px !important; padding-right:10px !important; padding-bottom:0px !important; padding-top:15px !important; text-align:left !important; text-decoration:underline !important;}
|
12
|
-
|
13
|
-
.ExternalClass table.out_mailto td img {display: block !important; width: auto: !important;}
|
14
|
-
|
12
|
+
|
13
|
+
.ExternalClass table.out_mailto td img {display: block !important; height: auto !important; width: auto: !important;}
|
14
|
+
|
15
15
|
.ExternalClass table.out_mailto td.cart{width:45px !important; padding-left:10px !important; height:39px !important; text-align:right}
|
16
|
-
|
17
|
-
.ExternalClass table.out_mailto a {display: inline !important; width:auto !important; text-decoration:none !important; color:{{foreground_color}} !important; line-height:auto !important;}
|
16
|
+
|
17
|
+
.ExternalClass table.out_mailto a {display: inline !important; border: 0 !important; width:auto !important; text-decoration:none !important; color:{{foreground_color}} !important; line-height:auto !important;}
|
18
18
|
</style>
|
19
19
|
|
20
20
|
|
@@ -32,48 +32,48 @@
|
|
32
32
|
</tr>
|
33
33
|
<tr>
|
34
34
|
<td style="padding-top:10px; padding-bottom:10px;">
|
35
|
-
<!-- BUTTON CODE -->
|
35
|
+
<!-- BUTTON CODE -->
|
36
36
|
|
37
37
|
<center>
|
38
38
|
<table class="reg_mailto" border='0' cellpadding='0' cellspacing='0' style='font-family: Tahoma; background-color:{{background_color}};'>
|
39
39
|
<tr>
|
40
40
|
{% if image %}
|
41
41
|
<td style="padding-left:10px; padding-right:0px; padding-top:14px; padding-bottom:10px;text-align:right;">
|
42
|
-
<a class="reg_mailto" href="{{url}}" target="_blank">
|
43
|
-
<img src="{{image}}" style="display:block" />
|
42
|
+
<a class="reg_mailto" href="{{url}}" target="_blank" style="border: 0 !important;">
|
43
|
+
<img src="{{image}}" style="display:block" />
|
44
44
|
</a>
|
45
45
|
</td>
|
46
46
|
{% endif %}
|
47
47
|
<td style="vertical-align:top; padding-left:10px; padding-right:0px; font-size:24px; padding-top:15px; text-align:right; padding-bottom:10px;" valign="top">
|
48
|
-
<a class="reg_mailto" href="{{url}}" style="display: inline; width:auto; line-height:auto; text-decoration:none; color: {{foreground_color}};" target="_blank">
|
48
|
+
<a class="reg_mailto" href="{{url}}" style="display: inline; width:auto; border: 0 !important; line-height:auto; text-decoration:none; color: {{foreground_color}};" target="_blank">
|
49
49
|
{{dollar}}
|
50
50
|
|
51
51
|
</a>
|
52
52
|
</td>
|
53
|
-
|
53
|
+
|
54
54
|
<td class="cents" style="vertical-align:top; font-size:12px; padding-left:1px; padding-right:10px; padding-bottom:0px; padding-top:15px; text-align:left; text-decoration:none;" valign="top">
|
55
|
-
<a class="reg_mailto" href="{{url}}" style="display: inline; width:auto; text-decoration:none; color:{{foreground_color}}; line-height:auto;" valign="top" target="_blank">{{cents}}</a>
|
55
|
+
<a class="reg_mailto" href="{{url}}" style="display: inline; border: 0 !important; width:auto; text-decoration:none; color:{{foreground_color}}; line-height:auto;" valign="top" target="_blank">{{cents}}</a>
|
56
56
|
</td>
|
57
|
-
|
57
|
+
|
58
58
|
</tr>
|
59
59
|
</table>
|
60
60
|
|
61
|
-
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='width:0; height:0; padding:0; margin:0; font-size:0;'>
|
61
|
+
<table class='out_mailto' border='0' cellpadding='0' cellspacing='0' style='display:none; width:0; height:0; padding:0; margin:0; font-size:0;'>
|
62
62
|
<tr>
|
63
63
|
{% if image %}
|
64
64
|
<td class='cart'>
|
65
|
-
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
65
|
+
<a href='{{outlook_url}}' style='display:none; border: 0 !important;' target="_blank">
|
66
66
|
<img src='{{image}}' style='margin: 0px; width:0px; height:0px'>
|
67
67
|
</a>
|
68
68
|
</td>
|
69
69
|
{% endif %}
|
70
70
|
<td class='dollar' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
|
71
|
-
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
71
|
+
<a href='{{outlook_url}}' style='display:none; border: 0 !important;' target="_blank">
|
72
72
|
{{dollar}}
|
73
73
|
</a>
|
74
74
|
</td>
|
75
75
|
<td class='cents' style='width:0; height:0; padding:0; margin:0; font-size:0;' valign='top'>
|
76
|
-
<a href='{{outlook_url}}' style='display:none;' target="_blank">
|
76
|
+
<a href='{{outlook_url}}' style='display:none; border: 0 !important;' target="_blank">
|
77
77
|
{{cents}}
|
78
78
|
</a>
|
79
79
|
</td>
|
@@ -122,4 +122,4 @@
|
|
122
122
|
</table>
|
123
123
|
</center>
|
124
124
|
|
125
|
-
<!— end @Pay button —>
|
125
|
+
<!— end @Pay button —>
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atpay_buttons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Thomas Pastinsky
|
@@ -12,12 +11,11 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date: 2014-04-
|
14
|
+
date: 2014-04-06 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: bundler
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
20
|
- - ~>
|
23
21
|
- !ruby/object:Gem::Version
|
@@ -25,7 +23,6 @@ dependencies:
|
|
25
23
|
type: :development
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
27
|
- - ~>
|
31
28
|
- !ruby/object:Gem::Version
|
@@ -33,7 +30,6 @@ dependencies:
|
|
33
30
|
- !ruby/object:Gem::Dependency
|
34
31
|
name: rake
|
35
32
|
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
33
|
requirements:
|
38
34
|
- - ! '>='
|
39
35
|
- !ruby/object:Gem::Version
|
@@ -41,7 +37,6 @@ dependencies:
|
|
41
37
|
type: :development
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
41
|
- - ! '>='
|
47
42
|
- !ruby/object:Gem::Version
|
@@ -49,7 +44,6 @@ dependencies:
|
|
49
44
|
- !ruby/object:Gem::Dependency
|
50
45
|
name: atpay_tokens
|
51
46
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
47
|
requirements:
|
54
48
|
- - ! '>='
|
55
49
|
- !ruby/object:Gem::Version
|
@@ -57,7 +51,6 @@ dependencies:
|
|
57
51
|
type: :runtime
|
58
52
|
prerelease: false
|
59
53
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
54
|
requirements:
|
62
55
|
- - ! '>='
|
63
56
|
- !ruby/object:Gem::Version
|
@@ -65,7 +58,6 @@ dependencies:
|
|
65
58
|
- !ruby/object:Gem::Dependency
|
66
59
|
name: liquid
|
67
60
|
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
61
|
requirements:
|
70
62
|
- - ! '>='
|
71
63
|
- !ruby/object:Gem::Version
|
@@ -73,7 +65,6 @@ dependencies:
|
|
73
65
|
type: :runtime
|
74
66
|
prerelease: false
|
75
67
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
68
|
requirements:
|
78
69
|
- - ! '>='
|
79
70
|
- !ruby/object:Gem::Version
|
@@ -114,27 +105,26 @@ files:
|
|
114
105
|
- test_data.txt
|
115
106
|
homepage: http://atpay.com
|
116
107
|
licenses: []
|
108
|
+
metadata: {}
|
117
109
|
post_install_message:
|
118
110
|
rdoc_options: []
|
119
111
|
require_paths:
|
120
112
|
- lib
|
121
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
114
|
requirements:
|
124
115
|
- - ! '>='
|
125
116
|
- !ruby/object:Gem::Version
|
126
117
|
version: '0'
|
127
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
119
|
requirements:
|
130
120
|
- - ! '>='
|
131
121
|
- !ruby/object:Gem::Version
|
132
122
|
version: '0'
|
133
123
|
requirements: []
|
134
124
|
rubyforge_project:
|
135
|
-
rubygems_version:
|
125
|
+
rubygems_version: 2.2.2
|
136
126
|
signing_key:
|
137
|
-
specification_version:
|
127
|
+
specification_version: 4
|
138
128
|
summary: Command line tool and Ruby library for generating @Pay 2 click email buttons
|
139
129
|
test_files:
|
140
130
|
- spec/command_line_spec.rb
|
@@ -146,3 +136,4 @@ test_files:
|
|
146
136
|
- spec/generator_spec.rb
|
147
137
|
- spec/spec_helper.rb
|
148
138
|
- spec/template_spec.rb
|
139
|
+
has_rdoc:
|