action_smser 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/MIT-LICENSE +20 -0
- data/README.md +191 -0
- data/Rakefile +39 -0
- data/app/assets/javascripts/action_smser/delivery_reports.js +2 -0
- data/app/assets/stylesheets/action_smser/application.css +7 -0
- data/app/assets/stylesheets/action_smser/delivery_reports.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/action_smser/application_controller.rb +4 -0
- data/app/controllers/action_smser/delivery_reports_controller.rb +63 -0
- data/app/models/action_smser/delivery_report.rb +30 -0
- data/app/views/action_smser/delivery_reports/index.html.erb +143 -0
- data/app/views/layouts/action_smser/delivery_reports.html.erb +56 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20120102215215_create_action_smser_delivery_reports.rb +19 -0
- data/lib/action_smser.rb +24 -0
- data/lib/action_smser/base.rb +133 -0
- data/lib/action_smser/delivery_methods/simple_http.rb +70 -0
- data/lib/action_smser/delivery_methods/test_array.rb +30 -0
- data/lib/action_smser/engine.rb +5 -0
- data/lib/action_smser/version.rb +3 -0
- data/lib/tasks/action_smser_tasks.rake +4 -0
- data/test/action_smser_test.rb +7 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +7 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/hello_smser.rb +9 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +51 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +26 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/git_ignored_passwords.rb +10 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +28 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +540 -0
- data/test/dummy/log/test.log +18246 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/functional/action_smser/delivery_reports_controller_test.rb +118 -0
- data/test/integration/navigation_test.rb +11 -0
- data/test/test_helper.rb +25 -0
- data/test/unit/action_smser/base_test.rb +83 -0
- data/test/unit/action_smser/delivery_methods/simple_http_test.rb +52 -0
- data/test/unit/action_smser/delivery_methods/test_array_test.rb +42 -0
- data/test/unit/action_smser/delivery_report_test.rb +54 -0
- metadata +212 -0
metadata
ADDED
@@ -0,0 +1,212 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: action_smser
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Olli Huotari
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-01-11 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rails
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 5
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 1
|
32
|
+
version: "3.1"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: mocha
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: sqlite3
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
type: :development
|
62
|
+
version_requirements: *id003
|
63
|
+
description: Simple way to use SMS (Short Message Service) in the same way as ActionMailer (ActionSmser == ActionMailer). Includes also delivery reports and easy way to add custom gateways.
|
64
|
+
email:
|
65
|
+
- olli.huotari@iki.fi
|
66
|
+
executables: []
|
67
|
+
|
68
|
+
extensions: []
|
69
|
+
|
70
|
+
extra_rdoc_files: []
|
71
|
+
|
72
|
+
files:
|
73
|
+
- app/controllers/action_smser/application_controller.rb
|
74
|
+
- app/controllers/action_smser/delivery_reports_controller.rb
|
75
|
+
- app/views/action_smser/delivery_reports/index.html.erb
|
76
|
+
- app/views/layouts/action_smser/delivery_reports.html.erb
|
77
|
+
- app/models/action_smser/delivery_report.rb
|
78
|
+
- app/assets/javascripts/action_smser/delivery_reports.js
|
79
|
+
- app/assets/stylesheets/scaffold.css
|
80
|
+
- app/assets/stylesheets/action_smser/delivery_reports.css
|
81
|
+
- app/assets/stylesheets/action_smser/application.css
|
82
|
+
- config/routes.rb
|
83
|
+
- db/migrate/20120102215215_create_action_smser_delivery_reports.rb
|
84
|
+
- lib/tasks/action_smser_tasks.rake
|
85
|
+
- lib/action_smser/engine.rb
|
86
|
+
- lib/action_smser/delivery_methods/simple_http.rb
|
87
|
+
- lib/action_smser/delivery_methods/test_array.rb
|
88
|
+
- lib/action_smser/version.rb
|
89
|
+
- lib/action_smser/base.rb
|
90
|
+
- lib/action_smser.rb
|
91
|
+
- MIT-LICENSE
|
92
|
+
- Rakefile
|
93
|
+
- README.md
|
94
|
+
- test/integration/navigation_test.rb
|
95
|
+
- test/action_smser_test.rb
|
96
|
+
- test/dummy/script/rails
|
97
|
+
- test/dummy/db/development.sqlite3
|
98
|
+
- test/dummy/db/test.sqlite3
|
99
|
+
- test/dummy/db/schema.rb
|
100
|
+
- test/dummy/config/boot.rb
|
101
|
+
- test/dummy/config/locales/en.yml
|
102
|
+
- test/dummy/config/initializers/secret_token.rb
|
103
|
+
- test/dummy/config/initializers/mime_types.rb
|
104
|
+
- test/dummy/config/initializers/inflections.rb
|
105
|
+
- test/dummy/config/initializers/session_store.rb
|
106
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
107
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
108
|
+
- test/dummy/config/initializers/git_ignored_passwords.rb
|
109
|
+
- test/dummy/config/database.yml
|
110
|
+
- test/dummy/config/environments/production.rb
|
111
|
+
- test/dummy/config/environments/test.rb
|
112
|
+
- test/dummy/config/environments/development.rb
|
113
|
+
- test/dummy/config/routes.rb
|
114
|
+
- test/dummy/config/environment.rb
|
115
|
+
- test/dummy/config/application.rb
|
116
|
+
- test/dummy/config.ru
|
117
|
+
- test/dummy/public/500.html
|
118
|
+
- test/dummy/public/favicon.ico
|
119
|
+
- test/dummy/public/422.html
|
120
|
+
- test/dummy/public/404.html
|
121
|
+
- test/dummy/log/development.log
|
122
|
+
- test/dummy/log/test.log
|
123
|
+
- test/dummy/app/helpers/application_helper.rb
|
124
|
+
- test/dummy/app/mailers/hello_smser.rb
|
125
|
+
- test/dummy/app/controllers/application_controller.rb
|
126
|
+
- test/dummy/app/views/layouts/application.html.erb
|
127
|
+
- test/dummy/app/assets/javascripts/application.js
|
128
|
+
- test/dummy/app/assets/stylesheets/application.css
|
129
|
+
- test/dummy/Rakefile
|
130
|
+
- test/test_helper.rb
|
131
|
+
- test/unit/action_smser/delivery_methods/simple_http_test.rb
|
132
|
+
- test/unit/action_smser/delivery_methods/test_array_test.rb
|
133
|
+
- test/unit/action_smser/base_test.rb
|
134
|
+
- test/unit/action_smser/delivery_report_test.rb
|
135
|
+
- test/functional/action_smser/delivery_reports_controller_test.rb
|
136
|
+
homepage: https://github.com/holli/action_smser
|
137
|
+
licenses: []
|
138
|
+
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
|
142
|
+
require_paths:
|
143
|
+
- lib
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
hash: 3
|
150
|
+
segments:
|
151
|
+
- 0
|
152
|
+
version: "0"
|
153
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
hash: 3
|
159
|
+
segments:
|
160
|
+
- 0
|
161
|
+
version: "0"
|
162
|
+
requirements: []
|
163
|
+
|
164
|
+
rubyforge_project:
|
165
|
+
rubygems_version: 1.8.6
|
166
|
+
signing_key:
|
167
|
+
specification_version: 3
|
168
|
+
summary: Simple way to use SMS (Short Message Service) in the same way as ActionMailer (ActionSmser == ActionMailer). Includes also delivery reports and easy way to add custom gateways.
|
169
|
+
test_files:
|
170
|
+
- test/integration/navigation_test.rb
|
171
|
+
- test/action_smser_test.rb
|
172
|
+
- test/dummy/script/rails
|
173
|
+
- test/dummy/db/development.sqlite3
|
174
|
+
- test/dummy/db/test.sqlite3
|
175
|
+
- test/dummy/db/schema.rb
|
176
|
+
- test/dummy/config/boot.rb
|
177
|
+
- test/dummy/config/locales/en.yml
|
178
|
+
- test/dummy/config/initializers/secret_token.rb
|
179
|
+
- test/dummy/config/initializers/mime_types.rb
|
180
|
+
- test/dummy/config/initializers/inflections.rb
|
181
|
+
- test/dummy/config/initializers/session_store.rb
|
182
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
183
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
184
|
+
- test/dummy/config/initializers/git_ignored_passwords.rb
|
185
|
+
- test/dummy/config/database.yml
|
186
|
+
- test/dummy/config/environments/production.rb
|
187
|
+
- test/dummy/config/environments/test.rb
|
188
|
+
- test/dummy/config/environments/development.rb
|
189
|
+
- test/dummy/config/routes.rb
|
190
|
+
- test/dummy/config/environment.rb
|
191
|
+
- test/dummy/config/application.rb
|
192
|
+
- test/dummy/config.ru
|
193
|
+
- test/dummy/public/500.html
|
194
|
+
- test/dummy/public/favicon.ico
|
195
|
+
- test/dummy/public/422.html
|
196
|
+
- test/dummy/public/404.html
|
197
|
+
- test/dummy/log/development.log
|
198
|
+
- test/dummy/log/test.log
|
199
|
+
- test/dummy/app/helpers/application_helper.rb
|
200
|
+
- test/dummy/app/mailers/hello_smser.rb
|
201
|
+
- test/dummy/app/controllers/application_controller.rb
|
202
|
+
- test/dummy/app/views/layouts/application.html.erb
|
203
|
+
- test/dummy/app/assets/javascripts/application.js
|
204
|
+
- test/dummy/app/assets/stylesheets/application.css
|
205
|
+
- test/dummy/Rakefile
|
206
|
+
- test/test_helper.rb
|
207
|
+
- test/unit/action_smser/delivery_methods/simple_http_test.rb
|
208
|
+
- test/unit/action_smser/delivery_methods/test_array_test.rb
|
209
|
+
- test/unit/action_smser/base_test.rb
|
210
|
+
- test/unit/action_smser/delivery_report_test.rb
|
211
|
+
- test/functional/action_smser/delivery_reports_controller_test.rb
|
212
|
+
has_rdoc:
|