porteo 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ All you have to do is to create a new Message object like this:
20
20
 
21
21
  Now you only have to set the params on the template (if you required it) like this:
22
22
 
23
- my_msg.params = { :name_of_the_param => value_of_the_param }
23
+ my_msg.set_template_params = { :name_of_the_param => value_of_the_param }
24
24
 
25
25
  Or this:
26
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -36,6 +36,8 @@ module Porteo
36
36
  connection_argument :via_options => [:address, :port, :user_name, :password]
37
37
 
38
38
  # Options allowed for Pony API.
39
+ # If you want to add any of these options
40
+ # do it in message sections.
39
41
  PONY_OPTIONS = [
40
42
  :to,
41
43
  :cc,
@@ -29,4 +29,6 @@ module Porteo
29
29
  TEMPLATES_ROOT = "./config/templates/"
30
30
  # Default locales path
31
31
  LOCALES_ROOT = "./config/locales/"
32
+
33
+ YAML::ENGINE.yamler = 'syck'
32
34
  end
@@ -5,13 +5,13 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{porteo}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Rafael Garcia}, %q{Luis Ciudad}]
12
- s.date = %q{2011-06-08}
11
+ s.authors = ["Rafael Garcia", "Luis Ciudad"]
12
+ s.date = %q{2011-07-20}
13
13
  s.description = %q{Send all messages that you want in any protocol, its ready to send mail messages, twitts and sms with the apropiate gateway}
14
- s.email = [%q{rgarcia@nosolosoftware.biz}, %q{lciudad@nosolosoftware.biz}]
14
+ s.email = ["rgarcia@nosolosoftware.biz", "lciudad@nosolosoftware.biz"]
15
15
  s.extra_rdoc_files = [
16
16
  "README.markdown"
17
17
  ]
@@ -32,9 +32,9 @@ Gem::Specification.new do |s|
32
32
  "porteo.gemspec"
33
33
  ]
34
34
  s.homepage = %q{http://github.com/nosolosoftware/porteo}
35
- s.licenses = [%q{GPL-3}]
36
- s.require_paths = [%q{lib}]
37
- s.rubygems_version = %q{1.8.5}
35
+ s.licenses = ["GPL-3"]
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = %q{1.6.2}
38
38
  s.summary = %q{A Ruby gem for sending all kind of messages}
39
39
 
40
40
  if s.respond_to? :specification_version then
@@ -44,6 +44,9 @@ Gem::Specification.new do |s|
44
44
  s.add_runtime_dependency(%q<twitter>, ["~> 1.5.0"])
45
45
  s.add_runtime_dependency(%q<pony>, ["~> 1.2"])
46
46
  s.add_runtime_dependency(%q<mensario>, ["~> 0.2.0"])
47
+ s.add_development_dependency(%q<metric_fu>, [">= 2.1.1"])
48
+ s.add_development_dependency(%q<simplecov>, [">= 0.3.8"])
49
+ s.add_development_dependency(%q<simplecov-rcov-text>, [">= 0"])
47
50
  s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
48
51
  s.add_development_dependency(%q<yard>, ["~> 0.7.1"])
49
52
  s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
@@ -54,6 +57,9 @@ Gem::Specification.new do |s|
54
57
  s.add_dependency(%q<twitter>, ["~> 1.5.0"])
55
58
  s.add_dependency(%q<pony>, ["~> 1.2"])
56
59
  s.add_dependency(%q<mensario>, ["~> 0.2.0"])
60
+ s.add_dependency(%q<metric_fu>, [">= 2.1.1"])
61
+ s.add_dependency(%q<simplecov>, [">= 0.3.8"])
62
+ s.add_dependency(%q<simplecov-rcov-text>, [">= 0"])
57
63
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
58
64
  s.add_dependency(%q<yard>, ["~> 0.7.1"])
59
65
  s.add_dependency(%q<rspec>, ["~> 2.6.0"])
@@ -65,6 +71,9 @@ Gem::Specification.new do |s|
65
71
  s.add_dependency(%q<twitter>, ["~> 1.5.0"])
66
72
  s.add_dependency(%q<pony>, ["~> 1.2"])
67
73
  s.add_dependency(%q<mensario>, ["~> 0.2.0"])
74
+ s.add_dependency(%q<metric_fu>, [">= 2.1.1"])
75
+ s.add_dependency(%q<simplecov>, [">= 0.3.8"])
76
+ s.add_dependency(%q<simplecov-rcov-text>, [">= 0"])
68
77
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
69
78
  s.add_dependency(%q<yard>, ["~> 0.7.1"])
70
79
  s.add_dependency(%q<rspec>, ["~> 2.6.0"])
metadata CHANGED
@@ -1,128 +1,160 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: porteo
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
4
5
  prerelease:
5
- version: 0.1.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Rafael Garcia
9
9
  - Luis Ciudad
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2011-06-08 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
13
+ date: 2011-07-20 00:00:00.000000000 +02:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
17
  name: twitter
18
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: &15345220 !ruby/object:Gem::Requirement
19
19
  none: false
20
- requirements:
20
+ requirements:
21
21
  - - ~>
22
- - !ruby/object:Gem::Version
22
+ - !ruby/object:Gem::Version
23
23
  version: 1.5.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
26
+ version_requirements: *15345220
27
+ - !ruby/object:Gem::Dependency
28
28
  name: pony
29
- requirement: &id002 !ruby/object:Gem::Requirement
29
+ requirement: &15341320 !ruby/object:Gem::Requirement
30
30
  none: false
31
- requirements:
31
+ requirements:
32
32
  - - ~>
33
- - !ruby/object:Gem::Version
34
- version: "1.2"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *15341320
38
+ - !ruby/object:Gem::Dependency
39
39
  name: mensario
40
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ requirement: &15321660 !ruby/object:Gem::Requirement
41
41
  none: false
42
- requirements:
42
+ requirements:
43
43
  - - ~>
44
- - !ruby/object:Gem::Version
44
+ - !ruby/object:Gem::Version
45
45
  version: 0.2.0
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *15321660
49
+ - !ruby/object:Gem::Dependency
50
+ name: metric_fu
51
+ requirement: &15318580 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
56
+ version: 2.1.1
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *15318580
60
+ - !ruby/object:Gem::Dependency
61
+ name: simplecov
62
+ requirement: &15315480 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: 0.3.8
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *15315480
71
+ - !ruby/object:Gem::Dependency
72
+ name: simplecov-rcov-text
73
+ requirement: &15290180 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: *15290180
82
+ - !ruby/object:Gem::Dependency
50
83
  name: rake
51
- requirement: &id004 !ruby/object:Gem::Requirement
84
+ requirement: &15287740 !ruby/object:Gem::Requirement
52
85
  none: false
53
- requirements:
86
+ requirements:
54
87
  - - ~>
55
- - !ruby/object:Gem::Version
88
+ - !ruby/object:Gem::Version
56
89
  version: 0.9.2
57
90
  type: :development
58
91
  prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
92
+ version_requirements: *15287740
93
+ - !ruby/object:Gem::Dependency
61
94
  name: yard
62
- requirement: &id005 !ruby/object:Gem::Requirement
95
+ requirement: &15285780 !ruby/object:Gem::Requirement
63
96
  none: false
64
- requirements:
97
+ requirements:
65
98
  - - ~>
66
- - !ruby/object:Gem::Version
99
+ - !ruby/object:Gem::Version
67
100
  version: 0.7.1
68
101
  type: :development
69
102
  prerelease: false
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
103
+ version_requirements: *15285780
104
+ - !ruby/object:Gem::Dependency
72
105
  name: rspec
73
- requirement: &id006 !ruby/object:Gem::Requirement
106
+ requirement: &15283220 !ruby/object:Gem::Requirement
74
107
  none: false
75
- requirements:
108
+ requirements:
76
109
  - - ~>
77
- - !ruby/object:Gem::Version
110
+ - !ruby/object:Gem::Version
78
111
  version: 2.6.0
79
112
  type: :development
80
113
  prerelease: false
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
114
+ version_requirements: *15283220
115
+ - !ruby/object:Gem::Dependency
83
116
  name: cucumber
84
- requirement: &id007 !ruby/object:Gem::Requirement
117
+ requirement: &15251380 !ruby/object:Gem::Requirement
85
118
  none: false
86
- requirements:
119
+ requirements:
87
120
  - - ~>
88
- - !ruby/object:Gem::Version
121
+ - !ruby/object:Gem::Version
89
122
  version: 0.10.5
90
123
  type: :development
91
124
  prerelease: false
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
125
+ version_requirements: *15251380
126
+ - !ruby/object:Gem::Dependency
94
127
  name: jeweler
95
- requirement: &id008 !ruby/object:Gem::Requirement
128
+ requirement: &15248820 !ruby/object:Gem::Requirement
96
129
  none: false
97
- requirements:
130
+ requirements:
98
131
  - - ~>
99
- - !ruby/object:Gem::Version
132
+ - !ruby/object:Gem::Version
100
133
  version: 1.6.0
101
134
  type: :development
102
135
  prerelease: false
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
136
+ version_requirements: *15248820
137
+ - !ruby/object:Gem::Dependency
105
138
  name: bluecloth
106
- requirement: &id009 !ruby/object:Gem::Requirement
139
+ requirement: &15224360 !ruby/object:Gem::Requirement
107
140
  none: false
108
- requirements:
141
+ requirements:
109
142
  - - ~>
110
- - !ruby/object:Gem::Version
143
+ - !ruby/object:Gem::Version
111
144
  version: 2.1.0
112
145
  type: :development
113
146
  prerelease: false
114
- version_requirements: *id009
115
- description: Send all messages that you want in any protocol, its ready to send mail messages, twitts and sms with the apropiate gateway
116
- email:
147
+ version_requirements: *15224360
148
+ description: Send all messages that you want in any protocol, its ready to send mail
149
+ messages, twitts and sms with the apropiate gateway
150
+ email:
117
151
  - rgarcia@nosolosoftware.biz
118
152
  - lciudad@nosolosoftware.biz
119
153
  executables: []
120
-
121
154
  extensions: []
122
-
123
- extra_rdoc_files:
155
+ extra_rdoc_files:
124
156
  - README.markdown
125
- files:
157
+ files:
126
158
  - COPYING
127
159
  - README.markdown
128
160
  - VERSION
@@ -137,35 +169,33 @@ files:
137
169
  - lib/protocols/sms_protocol.rb
138
170
  - lib/protocols/twitter_protocol.rb
139
171
  - porteo.gemspec
172
+ has_rdoc: true
140
173
  homepage: http://github.com/nosolosoftware/porteo
141
- licenses:
174
+ licenses:
142
175
  - GPL-3
143
176
  post_install_message:
144
177
  rdoc_options: []
145
-
146
- require_paths:
178
+ require_paths:
147
179
  - lib
148
- required_ruby_version: !ruby/object:Gem::Requirement
180
+ required_ruby_version: !ruby/object:Gem::Requirement
149
181
  none: false
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- hash: -587049560380440763
154
- segments:
182
+ requirements:
183
+ - - ! '>='
184
+ - !ruby/object:Gem::Version
185
+ version: '0'
186
+ segments:
155
187
  - 0
156
- version: "0"
157
- required_rubygems_version: !ruby/object:Gem::Requirement
188
+ hash: 2193038219897350595
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
190
  none: false
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: "0"
191
+ requirements:
192
+ - - ! '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
163
195
  requirements: []
164
-
165
196
  rubyforge_project:
166
- rubygems_version: 1.8.5
197
+ rubygems_version: 1.6.2
167
198
  signing_key:
168
199
  specification_version: 3
169
200
  summary: A Ruby gem for sending all kind of messages
170
201
  test_files: []
171
-