sztywny-smsonrails 0.1.2

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.
Files changed (103) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/Manifest +101 -0
  3. data/README.rdoc +211 -0
  4. data/Rakefile +109 -0
  5. data/VERSION +1 -0
  6. data/app/controllers/admin/sms_on_rails/base_controller.rb +11 -0
  7. data/app/controllers/admin/sms_on_rails/drafts_controller.rb +75 -0
  8. data/app/controllers/admin/sms_on_rails/outbounds_controller.rb +117 -0
  9. data/app/controllers/admin/sms_on_rails/phone_carriers_controller.rb +85 -0
  10. data/app/controllers/admin/sms_on_rails/phone_numbers_controller.rb +101 -0
  11. data/app/controllers/sms_on_rails/creation_support.rb +99 -0
  12. data/app/controllers/sms_on_rails_controller.rb +14 -0
  13. data/app/helpers/admin/sms_on_rails/drafts_helper.rb +2 -0
  14. data/app/helpers/admin/sms_on_rails/phone_carriers_helper.rb +2 -0
  15. data/app/helpers/sms_on_rails/phone_numbers_helper.rb +9 -0
  16. data/app/helpers/sms_on_rails/sms_helper.rb +44 -0
  17. data/app/models/sms_on_rails/draft.rb +9 -0
  18. data/app/models/sms_on_rails/outbound.rb +17 -0
  19. data/app/models/sms_on_rails/phone_carrier.rb +14 -0
  20. data/app/models/sms_on_rails/phone_number.rb +8 -0
  21. data/app/views/admin/sms_on_rails/base/index.html.erb +5 -0
  22. data/app/views/admin/sms_on_rails/drafts/_show.html.erb +34 -0
  23. data/app/views/admin/sms_on_rails/drafts/edit.html.erb +36 -0
  24. data/app/views/admin/sms_on_rails/drafts/index.html.erb +32 -0
  25. data/app/views/admin/sms_on_rails/drafts/new.html.erb +34 -0
  26. data/app/views/admin/sms_on_rails/drafts/send_sms.html.erb +3 -0
  27. data/app/views/admin/sms_on_rails/drafts/show.html.erb +4 -0
  28. data/app/views/admin/sms_on_rails/outbounds/edit.html.erb +68 -0
  29. data/app/views/admin/sms_on_rails/outbounds/index.html.erb +37 -0
  30. data/app/views/admin/sms_on_rails/outbounds/new.html.erb +54 -0
  31. data/app/views/admin/sms_on_rails/outbounds/show.html.erb +69 -0
  32. data/app/views/admin/sms_on_rails/phone_carriers/edit.html.erb +24 -0
  33. data/app/views/admin/sms_on_rails/phone_carriers/index.html.erb +24 -0
  34. data/app/views/admin/sms_on_rails/phone_carriers/new.html.erb +22 -0
  35. data/app/views/admin/sms_on_rails/phone_carriers/show.html.erb +24 -0
  36. data/app/views/admin/sms_on_rails/phone_numbers/edit.html.erb +33 -0
  37. data/app/views/admin/sms_on_rails/phone_numbers/index.html.erb +28 -0
  38. data/app/views/admin/sms_on_rails/phone_numbers/new.html.erb +31 -0
  39. data/app/views/admin/sms_on_rails/phone_numbers/show.html.erb +32 -0
  40. data/app/views/layouts/sms_on_rails/basic.html.erb +26 -0
  41. data/app/views/sms_on_rails/_phone_carrier_form_item.html.erb +6 -0
  42. data/app/views/sms_on_rails/_send_sms.html.erb +33 -0
  43. data/app/views/sms_on_rails/index.html.erb +8 -0
  44. data/app/views/sms_on_rails/send_sms.html.erb +3 -0
  45. data/app/views/sms_on_rails/show.html.erb +29 -0
  46. data/config/routes.rb +19 -0
  47. data/db/data/fixtures/sms_phone_carriers.yml +110 -0
  48. data/db/migrate/sms_on_rails_carrier_tables.rb +9 -0
  49. data/db/migrate/sms_on_rails_model_tables.rb +48 -0
  50. data/db/migrate/sms_on_rails_phone_number_tables.rb +11 -0
  51. data/db/seed_data.rb +16 -0
  52. data/generators/sms_on_rails/USAGE +31 -0
  53. data/generators/sms_on_rails/commands/inserts.rb +63 -0
  54. data/generators/sms_on_rails/commands/timestamps.rb +33 -0
  55. data/generators/sms_on_rails/runners/add_all_models.rb +6 -0
  56. data/generators/sms_on_rails/runners/dependencies.rb +1 -0
  57. data/generators/sms_on_rails/runners/remove_all_models.rb +5 -0
  58. data/generators/sms_on_rails/runners/sms_on_rails_routes.rb +14 -0
  59. data/generators/sms_on_rails/sms_on_rails_generator.rb +255 -0
  60. data/generators/sms_on_rails/templates/configuration/clickatell.rb +6 -0
  61. data/generators/sms_on_rails/templates/configuration/email_gateway.rb +7 -0
  62. data/generators/sms_on_rails/templates/migrate/schema_migration.rb +15 -0
  63. data/generators/sms_on_rails/templates/migrate/sms_on_rails_update_phone_numbers.rb +40 -0
  64. data/generators/sms_on_rails/templates/phone_number_collision.rb +2 -0
  65. data/init.rb +3 -0
  66. data/install.rb +1 -0
  67. data/lib/sms_on_rails.rb +8 -0
  68. data/lib/sms_on_rails/activerecord_extensions/acts_as_deliverable.rb +92 -0
  69. data/lib/sms_on_rails/activerecord_extensions/acts_as_substitutable.rb +80 -0
  70. data/lib/sms_on_rails/activerecord_extensions/has_a_sms_service_provider.rb +101 -0
  71. data/lib/sms_on_rails/activerecord_extensions/lockable_record.rb +186 -0
  72. data/lib/sms_on_rails/all_models.rb +3 -0
  73. data/lib/sms_on_rails/model_support/draft.rb +178 -0
  74. data/lib/sms_on_rails/model_support/outbound.rb +136 -0
  75. data/lib/sms_on_rails/model_support/phone_carrier.rb +77 -0
  76. data/lib/sms_on_rails/model_support/phone_number.rb +248 -0
  77. data/lib/sms_on_rails/model_support/phone_number_associations.rb +13 -0
  78. data/lib/sms_on_rails/schema_helper.rb +51 -0
  79. data/lib/sms_on_rails/service_providers/base.rb +222 -0
  80. data/lib/sms_on_rails/service_providers/clickatell.rb +54 -0
  81. data/lib/sms_on_rails/service_providers/dummy.rb +21 -0
  82. data/lib/sms_on_rails/service_providers/email_gateway.rb +70 -0
  83. data/lib/sms_on_rails/service_providers/email_gateway_support/errors.rb +20 -0
  84. data/lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer.rb +21 -0
  85. data/lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer/sms_through_gateway.erb +6 -0
  86. data/lib/sms_on_rails/util/sms_error.rb +12 -0
  87. data/lib/smsonrails.rb +1 -0
  88. data/public/images/sms_on_rails/railsYoDawg.jpg +0 -0
  89. data/public/stylesheets/sms_on_rails.css +137 -0
  90. data/smsonrails.gemspec +159 -0
  91. data/sztywny-smsonrails.gemspec +148 -0
  92. data/tasks/sms_on_rails_tasks.rake +68 -0
  93. data/test/active_record_extensions/delivery_and_locking_test.rb +84 -0
  94. data/test/models/draft_test.rb +72 -0
  95. data/test/models/outbound_test.rb +89 -0
  96. data/test/models/phone_number_test.rb +131 -0
  97. data/test/run.rb +19 -0
  98. data/test/service_providers/abstract_test_support.rb +104 -0
  99. data/test/service_providers/clickatell_test.rb +37 -0
  100. data/test/service_providers/email_gateway_test.rb +30 -0
  101. data/test/test_helper.rb +24 -0
  102. data/uninstall.rb +1 -0
  103. metadata +193 -0
@@ -0,0 +1,21 @@
1
+ require 'action_mailer'
2
+ module SmsOnRails
3
+ module ServiceProviders
4
+ module EmailGatewaySupport
5
+ class SmsMailer < ::ActionMailer::Base
6
+ def sms_through_gateway(recipient, message, phone_options={})
7
+ recipients recipient
8
+ bcc phone_options[:bcc]
9
+ from phone_options[:sender]
10
+ subject phone_options[:subject]
11
+ body :message => message, :options => phone_options
12
+ template phone_options[:template] if phone_options[:template]
13
+ content_type 'text/plain'
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
19
+
20
+ SmsOnRails::ServiceProviders::EmailGatewaySupport::SmsMailer.template_root = File.dirname(__FILE__) + '/../../../'
21
+ SmsOnRails::ServiceProviders::EmailGatewaySupport::SmsMailer.logger ||= ActiveRecord::Base.logger
@@ -0,0 +1,6 @@
1
+ <%-# This can be configured to specify the way the sms_message should look
2
+ #@sms contains the sms object if any
3
+ #@options contain additional settings for this message
4
+ #@options[:sms] contains the sms if any
5
+ #@message contains the message -%>
6
+ <%= @message %>
@@ -0,0 +1,12 @@
1
+ module SmsOnRails
2
+ class SmsError < Exception
3
+ attr_reader :sub_status
4
+ def initialize(msg, new_sub_status = nil)
5
+ super msg
6
+ @sub_status = new_sub_status
7
+ end
8
+ end
9
+
10
+ class FatalSmsError < SmsError
11
+ end
12
+ end
data/lib/smsonrails.rb ADDED
@@ -0,0 +1 @@
1
+ require File.join(File.dirname(__FILE__), 'sms_on_rails')
@@ -0,0 +1,137 @@
1
+ /* SmsOnRails Stylin'
2
+ Copyright (c) 2009 Blythe Dunham
3
+ MIT-LICENSE MartiniWare
4
+ If you like it, buy yourself a martini.
5
+ If you hate it, send me a better stylesheet! */
6
+
7
+ .smsOnRailsHtml {
8
+ background-color: #DDDDFF;
9
+ -moz-border-radius: 15px;
10
+ -webkit-border-radius: 15px;
11
+ padding: 15px;
12
+ font-family: Verdana, Arial, Helvetica, sans-serif;
13
+ font-size: 14px;
14
+ color:#333333;
15
+ }
16
+
17
+ .smsOnRailsHtml h1 {
18
+ background-color: #2F8BBB;
19
+ blah: #3366FF;
20
+ color: #DDDDDD;
21
+ text-align: center;
22
+ padding: 20px;
23
+ -moz-border-radius: 15px;
24
+ -webkit-border-radius: 15px;
25
+ }
26
+
27
+ .smsOnRailsHtml h2 {
28
+ text-align: center;
29
+ }
30
+
31
+ /* Links Start */
32
+ .smsOnRailsHtml a, .smsOnRailsHtml a:link, .smsOnRailsHtml a:visited {
33
+ color: #2F8BBB;
34
+ text-decoration: none;
35
+ }
36
+ .smsOnRailsHtml a:hover, .smsOnRailsHtml a:active {
37
+ /*text-decoration: underline;*/
38
+ color: #000000;
39
+ background: none;
40
+ text-decoration: underline;
41
+ }
42
+
43
+ .smsOnRailsHtml table {
44
+ -moz-border-radius: 15px;
45
+ -webkit-border-radius: 15px;
46
+ padding: 5px;
47
+ border-collapse: collapse;
48
+ background-color: #EBEBEB;
49
+ }
50
+
51
+ .smsOnRailsHtml th.long {
52
+ width:100%;
53
+ }
54
+ .smsOnRailsHtml th.short {
55
+ width:2px;
56
+ }
57
+
58
+ .smsOnRailsHtml th {
59
+ padding: 3px;
60
+ border: 0px;
61
+ text-align: left;
62
+ color: black;
63
+ padding-right: 20px;
64
+ width:20%;
65
+ }
66
+
67
+ .smsOnRailsHtml tr.odd {
68
+ background-color: #EBEBEB;
69
+ width:100%;
70
+ }
71
+
72
+ .smsOnRailsHtml tr.even {
73
+ background-color: #FFFFFF;
74
+ width:100%;
75
+ }
76
+
77
+ .smsOnRailsHtml td {
78
+ padding: 3px;
79
+ }
80
+
81
+
82
+ .smsOnRailsHtml table a {
83
+ display: block;
84
+ width:100%;
85
+ height:100%;
86
+ }
87
+
88
+ .smsOnRailsHtml p {
89
+ padding: 0 25%;
90
+ }
91
+
92
+ .smsFlashNotice {
93
+ color: #00CC99;
94
+ }
95
+ /* ERROR MESSAGES */
96
+ .smsOnRailsHtml .fieldWithErrors {
97
+ padding: 0 25%;
98
+ display: table;
99
+ color:#FF9966;
100
+ }
101
+
102
+ .smsOnRailsHtml #errorExplanation {
103
+ width: 500px;
104
+ border: 2px solid #FF9966;
105
+ padding: 7px;
106
+ padding-bottom: 12px;
107
+ margin-bottom: 20px;
108
+ background-color: #EBEBEB;
109
+ margin-left:20%;
110
+ -moz-border-radius: 18px;
111
+ -webkit-border-radius: 18px;
112
+ }
113
+
114
+ .smsOnRailsHtml #errorExplanation h2 {
115
+ text-align: left;
116
+ font-weight: bold;
117
+ padding: 5px 5px 5px 15px;
118
+ font-size: 12px;
119
+ margin: -7px;
120
+ background-color: #FF9966;
121
+ color: #fff;
122
+ -moz-border-radius: 15px 15px 0 0;
123
+ -webkit-border-radius: 15px 15px 0 0;
124
+ }
125
+
126
+ .smsOnRailsHtml #errorExplanation p {
127
+ color: #FF9966;
128
+ margin-bottom: 0;
129
+ padding: 5px;
130
+ }
131
+
132
+ .smsOnRailsHtml #errorExplanation ul li {
133
+ font-size: 13px;
134
+ }
135
+ .smsOnRailsImage {
136
+ background-image:url(/images/sms_on_rails/yoDawg.jpg);
137
+ }
@@ -0,0 +1,159 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{smsonrails}
8
+ s.version = "0.1.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Blythe Dunham"]
12
+ s.date = %q{2010-01-01}
13
+ s.description = %q{Sms on Rails provides your app with instant SMS integration}
14
+ s.email = %q{blythe@snowgiraffe.com}
15
+ s.extra_rdoc_files = [
16
+ "README.rdoc"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "MIT-LICENSE",
21
+ "Manifest",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "app/controllers/admin/sms_on_rails/base_controller.rb",
25
+ "app/controllers/admin/sms_on_rails/drafts_controller.rb",
26
+ "app/controllers/admin/sms_on_rails/outbounds_controller.rb",
27
+ "app/controllers/admin/sms_on_rails/phone_carriers_controller.rb",
28
+ "app/controllers/admin/sms_on_rails/phone_numbers_controller.rb",
29
+ "app/controllers/sms_on_rails/creation_support.rb",
30
+ "app/controllers/sms_on_rails_controller.rb",
31
+ "app/helpers/admin/sms_on_rails/drafts_helper.rb",
32
+ "app/helpers/admin/sms_on_rails/phone_carriers_helper.rb",
33
+ "app/helpers/sms_on_rails/phone_numbers_helper.rb",
34
+ "app/helpers/sms_on_rails/sms_helper.rb",
35
+ "app/models/sms_on_rails/draft.rb",
36
+ "app/models/sms_on_rails/outbound.rb",
37
+ "app/models/sms_on_rails/phone_carrier.rb",
38
+ "app/models/sms_on_rails/phone_number.rb",
39
+ "app/views/admin/sms_on_rails/base/index.html.erb",
40
+ "app/views/admin/sms_on_rails/drafts/_show.html.erb",
41
+ "app/views/admin/sms_on_rails/drafts/edit.html.erb",
42
+ "app/views/admin/sms_on_rails/drafts/index.html.erb",
43
+ "app/views/admin/sms_on_rails/drafts/new.html.erb",
44
+ "app/views/admin/sms_on_rails/drafts/send_sms.html.erb",
45
+ "app/views/admin/sms_on_rails/drafts/show.html.erb",
46
+ "app/views/admin/sms_on_rails/outbounds/edit.html.erb",
47
+ "app/views/admin/sms_on_rails/outbounds/index.html.erb",
48
+ "app/views/admin/sms_on_rails/outbounds/new.html.erb",
49
+ "app/views/admin/sms_on_rails/outbounds/show.html.erb",
50
+ "app/views/admin/sms_on_rails/phone_carriers/edit.html.erb",
51
+ "app/views/admin/sms_on_rails/phone_carriers/index.html.erb",
52
+ "app/views/admin/sms_on_rails/phone_carriers/new.html.erb",
53
+ "app/views/admin/sms_on_rails/phone_carriers/show.html.erb",
54
+ "app/views/admin/sms_on_rails/phone_numbers/edit.html.erb",
55
+ "app/views/admin/sms_on_rails/phone_numbers/index.html.erb",
56
+ "app/views/admin/sms_on_rails/phone_numbers/new.html.erb",
57
+ "app/views/admin/sms_on_rails/phone_numbers/show.html.erb",
58
+ "app/views/layouts/sms_on_rails/basic.html.erb",
59
+ "app/views/sms_on_rails/_phone_carrier_form_item.html.erb",
60
+ "app/views/sms_on_rails/_send_sms.html.erb",
61
+ "app/views/sms_on_rails/index.html.erb",
62
+ "app/views/sms_on_rails/send_sms.html.erb",
63
+ "app/views/sms_on_rails/show.html.erb",
64
+ "config/routes.rb",
65
+ "db/data/fixtures/sms_phone_carriers.yml",
66
+ "db/migrate/sms_on_rails_carrier_tables.rb",
67
+ "db/migrate/sms_on_rails_model_tables.rb",
68
+ "db/migrate/sms_on_rails_phone_number_tables.rb",
69
+ "db/seed_data.rb",
70
+ "generators/sms_on_rails/USAGE",
71
+ "generators/sms_on_rails/commands/inserts.rb",
72
+ "generators/sms_on_rails/commands/timestamps.rb",
73
+ "generators/sms_on_rails/runners/add_all_models.rb",
74
+ "generators/sms_on_rails/runners/dependencies.rb",
75
+ "generators/sms_on_rails/runners/remove_all_models.rb",
76
+ "generators/sms_on_rails/runners/sms_on_rails_routes.rb",
77
+ "generators/sms_on_rails/sms_on_rails_generator.rb",
78
+ "generators/sms_on_rails/templates/configuration/clickatell.rb",
79
+ "generators/sms_on_rails/templates/configuration/email_gateway.rb",
80
+ "generators/sms_on_rails/templates/migrate/schema_migration.rb",
81
+ "generators/sms_on_rails/templates/migrate/sms_on_rails_update_phone_numbers.rb",
82
+ "generators/sms_on_rails/templates/phone_number_collision.rb",
83
+ "init.rb",
84
+ "install.rb",
85
+ "lib/sms_on_rails.rb",
86
+ "lib/sms_on_rails/activerecord_extensions/acts_as_deliverable.rb",
87
+ "lib/sms_on_rails/activerecord_extensions/acts_as_substitutable.rb",
88
+ "lib/sms_on_rails/activerecord_extensions/has_a_sms_service_provider.rb",
89
+ "lib/sms_on_rails/activerecord_extensions/lockable_record.rb",
90
+ "lib/sms_on_rails/all_models.rb",
91
+ "lib/sms_on_rails/model_support/draft.rb",
92
+ "lib/sms_on_rails/model_support/outbound.rb",
93
+ "lib/sms_on_rails/model_support/phone_carrier.rb",
94
+ "lib/sms_on_rails/model_support/phone_number.rb",
95
+ "lib/sms_on_rails/model_support/phone_number_associations.rb",
96
+ "lib/sms_on_rails/schema_helper.rb",
97
+ "lib/sms_on_rails/service_providers/base.rb",
98
+ "lib/sms_on_rails/service_providers/clickatell.rb",
99
+ "lib/sms_on_rails/service_providers/dummy.rb",
100
+ "lib/sms_on_rails/service_providers/email_gateway.rb",
101
+ "lib/sms_on_rails/service_providers/email_gateway_support/errors.rb",
102
+ "lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer.rb",
103
+ "lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer/sms_through_gateway.erb",
104
+ "lib/sms_on_rails/util/sms_error.rb",
105
+ "lib/smsonrails.rb",
106
+ "public/images/sms_on_rails/railsYoDawg.jpg",
107
+ "public/stylesheets/sms_on_rails.css",
108
+ "tasks/sms_on_rails_tasks.rake",
109
+ "test/active_record_extensions/delivery_and_locking_test.rb",
110
+ "test/models/draft_test.rb",
111
+ "test/models/outbound_test.rb",
112
+ "test/models/phone_number_test.rb",
113
+ "test/run.rb",
114
+ "test/service_providers/abstract_test_support.rb",
115
+ "test/service_providers/clickatell_test.rb",
116
+ "test/service_providers/email_gateway_test.rb",
117
+ "test/test_helper.rb",
118
+ "uninstall.rb"
119
+ ]
120
+ s.homepage = %q{http://github.com/blythedunham/smsonrails}
121
+ s.rdoc_options = ["--charset=UTF-8"]
122
+ s.require_paths = ["lib"]
123
+ s.rubygems_version = %q{1.3.5}
124
+ s.summary = %q{Sms on Rails provides your app with instant SMS integration}
125
+ s.test_files = [
126
+ "test/active_record_extensions/delivery_and_locking_test.rb",
127
+ "test/models/draft_test.rb",
128
+ "test/models/outbound_test.rb",
129
+ "test/models/phone_number_test.rb",
130
+ "test/run.rb",
131
+ "test/service_providers/abstract_test_support.rb",
132
+ "test/service_providers/clickatell_test.rb",
133
+ "test/service_providers/email_gateway_test.rb",
134
+ "test/test_helper.rb"
135
+ ]
136
+
137
+ if s.respond_to? :specification_version then
138
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
139
+ s.specification_version = 3
140
+
141
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
142
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
143
+ s.add_development_dependency(%q<clickatell>, [">= 0"])
144
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.0.0"])
145
+ s.add_runtime_dependency(%q<static_record_cache>, [">= 0"])
146
+ else
147
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
148
+ s.add_dependency(%q<clickatell>, [">= 0"])
149
+ s.add_dependency(%q<activesupport>, [">= 2.0.0"])
150
+ s.add_dependency(%q<static_record_cache>, [">= 0"])
151
+ end
152
+ else
153
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
154
+ s.add_dependency(%q<clickatell>, [">= 0"])
155
+ s.add_dependency(%q<activesupport>, [">= 2.0.0"])
156
+ s.add_dependency(%q<static_record_cache>, [">= 0"])
157
+ end
158
+ end
159
+
@@ -0,0 +1,148 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{sztywny-smsonrails}
8
+ s.version = "0.1.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Blythe Dunham"]
12
+ s.date = %q{2011-06-27}
13
+ s.description = %q{Sms on Rails provides your app with instant SMS integration}
14
+ s.email = %q{blythe@snowgiraffe.com}
15
+ s.extra_rdoc_files = [
16
+ "README.rdoc"
17
+ ]
18
+ s.files = [
19
+ "MIT-LICENSE",
20
+ "Manifest",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "app/controllers/admin/sms_on_rails/base_controller.rb",
25
+ "app/controllers/admin/sms_on_rails/drafts_controller.rb",
26
+ "app/controllers/admin/sms_on_rails/outbounds_controller.rb",
27
+ "app/controllers/admin/sms_on_rails/phone_carriers_controller.rb",
28
+ "app/controllers/admin/sms_on_rails/phone_numbers_controller.rb",
29
+ "app/controllers/sms_on_rails/creation_support.rb",
30
+ "app/controllers/sms_on_rails_controller.rb",
31
+ "app/helpers/admin/sms_on_rails/drafts_helper.rb",
32
+ "app/helpers/admin/sms_on_rails/phone_carriers_helper.rb",
33
+ "app/helpers/sms_on_rails/phone_numbers_helper.rb",
34
+ "app/helpers/sms_on_rails/sms_helper.rb",
35
+ "app/models/sms_on_rails/draft.rb",
36
+ "app/models/sms_on_rails/outbound.rb",
37
+ "app/models/sms_on_rails/phone_carrier.rb",
38
+ "app/models/sms_on_rails/phone_number.rb",
39
+ "app/views/admin/sms_on_rails/base/index.html.erb",
40
+ "app/views/admin/sms_on_rails/drafts/_show.html.erb",
41
+ "app/views/admin/sms_on_rails/drafts/edit.html.erb",
42
+ "app/views/admin/sms_on_rails/drafts/index.html.erb",
43
+ "app/views/admin/sms_on_rails/drafts/new.html.erb",
44
+ "app/views/admin/sms_on_rails/drafts/send_sms.html.erb",
45
+ "app/views/admin/sms_on_rails/drafts/show.html.erb",
46
+ "app/views/admin/sms_on_rails/outbounds/edit.html.erb",
47
+ "app/views/admin/sms_on_rails/outbounds/index.html.erb",
48
+ "app/views/admin/sms_on_rails/outbounds/new.html.erb",
49
+ "app/views/admin/sms_on_rails/outbounds/show.html.erb",
50
+ "app/views/admin/sms_on_rails/phone_carriers/edit.html.erb",
51
+ "app/views/admin/sms_on_rails/phone_carriers/index.html.erb",
52
+ "app/views/admin/sms_on_rails/phone_carriers/new.html.erb",
53
+ "app/views/admin/sms_on_rails/phone_carriers/show.html.erb",
54
+ "app/views/admin/sms_on_rails/phone_numbers/edit.html.erb",
55
+ "app/views/admin/sms_on_rails/phone_numbers/index.html.erb",
56
+ "app/views/admin/sms_on_rails/phone_numbers/new.html.erb",
57
+ "app/views/admin/sms_on_rails/phone_numbers/show.html.erb",
58
+ "app/views/layouts/sms_on_rails/basic.html.erb",
59
+ "app/views/sms_on_rails/_phone_carrier_form_item.html.erb",
60
+ "app/views/sms_on_rails/_send_sms.html.erb",
61
+ "app/views/sms_on_rails/index.html.erb",
62
+ "app/views/sms_on_rails/send_sms.html.erb",
63
+ "app/views/sms_on_rails/show.html.erb",
64
+ "config/routes.rb",
65
+ "db/data/fixtures/sms_phone_carriers.yml",
66
+ "db/migrate/sms_on_rails_carrier_tables.rb",
67
+ "db/migrate/sms_on_rails_model_tables.rb",
68
+ "db/migrate/sms_on_rails_phone_number_tables.rb",
69
+ "db/seed_data.rb",
70
+ "generators/sms_on_rails/USAGE",
71
+ "generators/sms_on_rails/commands/inserts.rb",
72
+ "generators/sms_on_rails/commands/timestamps.rb",
73
+ "generators/sms_on_rails/runners/add_all_models.rb",
74
+ "generators/sms_on_rails/runners/dependencies.rb",
75
+ "generators/sms_on_rails/runners/remove_all_models.rb",
76
+ "generators/sms_on_rails/runners/sms_on_rails_routes.rb",
77
+ "generators/sms_on_rails/sms_on_rails_generator.rb",
78
+ "generators/sms_on_rails/templates/configuration/clickatell.rb",
79
+ "generators/sms_on_rails/templates/configuration/email_gateway.rb",
80
+ "generators/sms_on_rails/templates/migrate/schema_migration.rb",
81
+ "generators/sms_on_rails/templates/migrate/sms_on_rails_update_phone_numbers.rb",
82
+ "generators/sms_on_rails/templates/phone_number_collision.rb",
83
+ "init.rb",
84
+ "install.rb",
85
+ "lib/sms_on_rails.rb",
86
+ "lib/sms_on_rails/activerecord_extensions/acts_as_deliverable.rb",
87
+ "lib/sms_on_rails/activerecord_extensions/acts_as_substitutable.rb",
88
+ "lib/sms_on_rails/activerecord_extensions/has_a_sms_service_provider.rb",
89
+ "lib/sms_on_rails/activerecord_extensions/lockable_record.rb",
90
+ "lib/sms_on_rails/all_models.rb",
91
+ "lib/sms_on_rails/model_support/draft.rb",
92
+ "lib/sms_on_rails/model_support/outbound.rb",
93
+ "lib/sms_on_rails/model_support/phone_carrier.rb",
94
+ "lib/sms_on_rails/model_support/phone_number.rb",
95
+ "lib/sms_on_rails/model_support/phone_number_associations.rb",
96
+ "lib/sms_on_rails/schema_helper.rb",
97
+ "lib/sms_on_rails/service_providers/base.rb",
98
+ "lib/sms_on_rails/service_providers/clickatell.rb",
99
+ "lib/sms_on_rails/service_providers/dummy.rb",
100
+ "lib/sms_on_rails/service_providers/email_gateway.rb",
101
+ "lib/sms_on_rails/service_providers/email_gateway_support/errors.rb",
102
+ "lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer.rb",
103
+ "lib/sms_on_rails/service_providers/email_gateway_support/sms_mailer/sms_through_gateway.erb",
104
+ "lib/sms_on_rails/util/sms_error.rb",
105
+ "lib/smsonrails.rb",
106
+ "public/images/sms_on_rails/railsYoDawg.jpg",
107
+ "public/stylesheets/sms_on_rails.css",
108
+ "smsonrails.gemspec",
109
+ "sztywny-smsonrails.gemspec",
110
+ "tasks/sms_on_rails_tasks.rake",
111
+ "test/active_record_extensions/delivery_and_locking_test.rb",
112
+ "test/models/draft_test.rb",
113
+ "test/models/outbound_test.rb",
114
+ "test/models/phone_number_test.rb",
115
+ "test/run.rb",
116
+ "test/service_providers/abstract_test_support.rb",
117
+ "test/service_providers/clickatell_test.rb",
118
+ "test/service_providers/email_gateway_test.rb",
119
+ "test/test_helper.rb",
120
+ "uninstall.rb"
121
+ ]
122
+ s.homepage = %q{http://github.com/sztywny/smsonrails}
123
+ s.require_paths = ["lib"]
124
+ s.rubygems_version = %q{1.6.2}
125
+ s.summary = %q{Sms on Rails provides your app with instant SMS integration}
126
+
127
+ if s.respond_to? :specification_version then
128
+ s.specification_version = 3
129
+
130
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
131
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
132
+ s.add_development_dependency(%q<clickatell>, [">= 0"])
133
+ s.add_runtime_dependency(%q<activesupport>, [">= 2.0.0"])
134
+ s.add_runtime_dependency(%q<static_record_cache>, [">= 0"])
135
+ else
136
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
137
+ s.add_dependency(%q<clickatell>, [">= 0"])
138
+ s.add_dependency(%q<activesupport>, [">= 2.0.0"])
139
+ s.add_dependency(%q<static_record_cache>, [">= 0"])
140
+ end
141
+ else
142
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
143
+ s.add_dependency(%q<clickatell>, [">= 0"])
144
+ s.add_dependency(%q<activesupport>, [">= 2.0.0"])
145
+ s.add_dependency(%q<static_record_cache>, [">= 0"])
146
+ end
147
+ end
148
+