smitty 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +13 -5
  2. data/bin/smitty +2 -0
  3. data/lib/smitty/version.rb +1 -1
  4. metadata +15 -15
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 99f18cd4b2ab78702b742489c513630ef14a0172
4
- data.tar.gz: ea44ee3424c3aa68e55097d98923ed9d5959f3a7
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YWE1ZDZmNGM5NmIwMWJlMjE4YjUyNDY1ODE2MzVhOTRlZTdkNGUxYQ==
5
+ data.tar.gz: !binary |-
6
+ NDIxOGZlNmNjNTRkNGEwMjA0NGFhOTMwODAzOWYwNTdlMjAwYzM3Yw==
5
7
  SHA512:
6
- metadata.gz: 8ed00c0ea27426851eb924c951e1fb96f67a7edae3b3458204e9dfe238b4e326ec1cf000dd2b5e477291f5eecee0745276bf0a15265c02c186631cc37f087326
7
- data.tar.gz: e83f1e5afb6b194f85aa526eaa8b0c87bd82d3f5436d5e22ea6702e3bdb9135c9bde4a46e0e349d4e79ea5dd8e2f8b515a8650cccf2d37d1d384b5a95fb1db56
8
+ metadata.gz: !binary |-
9
+ NTFlODBiYjUxYTRmZDU0Y2FhMzdlNzkxMGExYmVmZGExNGViMTU1N2JmZWNk
10
+ ODkxOWY0ODNhZDQwN2U1OWU4NzU0OGIzOTM4ZTk5ZDQwMzM1OTRjMTgyNzU2
11
+ M2VlNjA3YmNhOTI3MDMzYzFiMzI2MTBlMmZiN2NiODk4NTk2ZTA=
12
+ data.tar.gz: !binary |-
13
+ ZDI0M2UyY2Q4MTEzYzc4ODg1Y2RiMWZjZTliMDkxZWNlODNmM2Y4ZDQ4YzIy
14
+ MjE0ZWNjMjZiODRiM2YyNDBlOTRmMjk2YTYzNmYzZDE3MGQ2NjE1MzIwZDEx
15
+ Mzc3NWIzMzY5YWIxNGQzZDIyMDM4ZjNhNzJkYjY1MzM0OTk5OTY=
data/bin/smitty CHANGED
@@ -50,6 +50,8 @@ variables = args['--vars'].split(',').map { |var| Smitty.variable_parser(var, to
50
50
  to_addresses.each do |to_address|
51
51
  template_copy = String.new(template.to_inline_css)
52
52
  subject_copy = String.new(subject)
53
+ template_copy.gsub!('%7B%7B', '{{')
54
+ template_copy.gsub!('%7D%7D', '}}')
53
55
  # Replace each variable in the template
54
56
  variables.each do |variable|
55
57
  if variable[:with].kind_of?(Array)
@@ -1,3 +1,3 @@
1
1
  module Smitty
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smitty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Steele
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-21 00:00:00.000000000 Z
11
+ date: 2014-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.6.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.6.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mail
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: 2.5.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.5.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: premailer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.7.3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.7.3
69
69
  - !ruby/object:Gem::Dependency
@@ -84,14 +84,14 @@ dependencies:
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description: Send mail with handlebars like templates
@@ -125,17 +125,17 @@ require_paths:
125
125
  - lib
126
126
  required_ruby_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - '>='
128
+ - - ! '>='
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - '>='
133
+ - - ! '>='
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.0.3
138
+ rubygems_version: 2.2.2
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Send mail with handlebars like templates