action_smser 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,6 +41,9 @@ class ActionSmser::BaseTest < ActiveSupport::TestCase
41
41
 
42
42
  test "body should be possible to encode" do
43
43
  assert_equal "Body+with+%E4%E4kk%F6set+end", @sms.body_encoded_escaped
44
+
45
+ @sms = MockSms.basic_sms(@receivers, @sender, "ääkköset - euro=€ - ...=…")
46
+ assert_equal "%E4%E4kk%F6set+-+euro%3D%A4+-+...%3D_", @sms.body_encoded_escaped, "should use '_' in place of unknown chars"
44
47
  end
45
48
 
46
49
  test "body should be cropped to 500 chars, limit extra looong messages" do
metadata CHANGED
@@ -1,89 +1,89 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: action_smser
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 1
10
- version: 1.2.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Olli Huotari
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-02-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-03-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rails
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 3
31
- - 1
32
- version: "3.1"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: mocha
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
39
25
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ - !ruby/object:Gem::Dependency
31
+ name: mocha
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
47
38
  type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: sqlite3
51
39
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
53
41
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
61
54
  type: :development
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: delayed_job
65
55
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: delayed_job
64
+ requirement: !ruby/object:Gem::Requirement
67
65
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
75
70
  type: :development
76
- version_requirements: *id004
77
- description: ActionSmser == SMS && ActionMailer. Simple way to use SMS (Short Message Service) in the same way as ActionMailer. Includes also delivery reports and easy way to add custom gateways (simple http and nexmo by default).
78
- email:
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: ActionSmser == SMS && ActionMailer. Simple way to use SMS (Short Message
79
+ Service) in the same way as ActionMailer. Includes also delivery reports and easy
80
+ way to add custom gateways (simple http and nexmo by default).
81
+ email:
79
82
  - olli.huotari@iki.fi
80
83
  executables: []
81
-
82
84
  extensions: []
83
-
84
85
  extra_rdoc_files: []
85
-
86
- files:
86
+ files:
87
87
  - app/helpers/action_smser/application_helper.rb
88
88
  - app/controllers/action_smser/application_controller.rb
89
89
  - app/controllers/action_smser/delivery_reports_controller.rb
@@ -158,38 +158,31 @@ files:
158
158
  - test/functional/action_smser/delivery_reports_controller_test.rb
159
159
  homepage: https://github.com/holli/action_smser
160
160
  licenses: []
161
-
162
161
  post_install_message:
163
162
  rdoc_options: []
164
-
165
- require_paths:
163
+ require_paths:
166
164
  - lib
167
- required_ruby_version: !ruby/object:Gem::Requirement
165
+ required_ruby_version: !ruby/object:Gem::Requirement
168
166
  none: false
169
- requirements:
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- hash: 3
173
- segments:
174
- - 0
175
- version: "0"
176
- required_rubygems_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ! '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
177
172
  none: false
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- hash: 3
182
- segments:
183
- - 0
184
- version: "0"
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
185
177
  requirements: []
186
-
187
178
  rubyforge_project:
188
- rubygems_version: 1.8.15
179
+ rubygems_version: 1.8.25
189
180
  signing_key:
190
181
  specification_version: 3
191
- summary: ActionSmser == SMS && ActionMailer. Simple way to use SMS (Short Message Service) in the same way as ActionMailer. Includes also delivery reports and easy way to add custom gateways (simple http and nexmo by default).
192
- test_files:
182
+ summary: ActionSmser == SMS && ActionMailer. Simple way to use SMS (Short Message
183
+ Service) in the same way as ActionMailer. Includes also delivery reports and easy
184
+ way to add custom gateways (simple http and nexmo by default).
185
+ test_files:
193
186
  - test/integration/navigation_test.rb
194
187
  - test/action_smser_test.rb
195
188
  - test/dummy/script/rails
@@ -237,4 +230,3 @@ test_files:
237
230
  - test/unit/action_smser/base_test.rb
238
231
  - test/unit/action_smser/delivery_report_test.rb
239
232
  - test/functional/action_smser/delivery_reports_controller_test.rb
240
- has_rdoc: