acts_as_contactable 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/.rvmrc +1 -0
  2. data/Gemfile +2 -2
  3. data/Gemfile.lock +66 -1
  4. data/MIT-LICENSE +20 -0
  5. data/README.rdoc +2 -18
  6. data/Rakefile +23 -0
  7. data/VERSION +1 -1
  8. data/acts_as_contactable._old_gemspec +94 -0
  9. data/acts_as_contactable.gemspec +57 -5
  10. data/app/assets/images/acts_as_contactable/.gitkeep +0 -0
  11. data/app/assets/javascripts/acts_as_contactable/application.js +15 -0
  12. data/app/assets/stylesheets/acts_as_contactable/application.css +13 -0
  13. data/app/controllers/acts_as_contactable/application_controller.rb +4 -0
  14. data/app/helpers/acts_as_contactable/application_helper.rb +4 -0
  15. data/app/views/layouts/acts_as_contactable/application.html.erb +14 -0
  16. data/config/routes.rb +2 -0
  17. data/lib/acts_as_contactable/engine.rb +5 -0
  18. data/lib/acts_as_contactable/version.rb +3 -0
  19. data/lib/acts_as_contactable.rb +4 -0
  20. data/lib/tasks/acts_as_contactable_tasks.rake +4 -0
  21. data/script/rails +8 -0
  22. data/test/acts_as_contactable_test.rb +7 -0
  23. data/test/dummy/README.rdoc +261 -0
  24. data/test/dummy/Rakefile +7 -0
  25. data/test/dummy/app/assets/javascripts/application.js +15 -0
  26. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  27. data/test/dummy/app/controllers/application_controller.rb +3 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/mailers/.gitkeep +0 -0
  30. data/test/dummy/app/models/.gitkeep +0 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy/config/application.rb +56 -0
  33. data/test/dummy/config/boot.rb +10 -0
  34. data/test/dummy/config/database.yml +25 -0
  35. data/test/dummy/config/environment.rb +5 -0
  36. data/test/dummy/config/environments/development.rb +37 -0
  37. data/test/dummy/config/environments/production.rb +67 -0
  38. data/test/dummy/config/environments/test.rb +37 -0
  39. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/test/dummy/config/initializers/inflections.rb +15 -0
  41. data/test/dummy/config/initializers/mime_types.rb +5 -0
  42. data/test/dummy/config/initializers/secret_token.rb +7 -0
  43. data/test/dummy/config/initializers/session_store.rb +8 -0
  44. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  45. data/test/dummy/config/locales/en.yml +5 -0
  46. data/test/dummy/config/routes.rb +4 -0
  47. data/test/dummy/config.ru +4 -0
  48. data/test/dummy/lib/assets/.gitkeep +0 -0
  49. data/test/dummy/log/.gitkeep +0 -0
  50. data/test/dummy/public/404.html +26 -0
  51. data/test/dummy/public/422.html +26 -0
  52. data/test/dummy/public/500.html +25 -0
  53. data/test/dummy/public/favicon.ico +0 -0
  54. data/test/dummy/script/rails +6 -0
  55. data/test/integration/navigation_test.rb +10 -0
  56. data/test/test_helper.rb +15 -0
  57. metadata +68 -3
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_contactable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ cert_chain: []
12
12
  date: 2012-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: activesupport
15
+ name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: 2.4.8
46
+ - !ruby/object:Gem::Dependency
47
+ name: bson_ext
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
46
62
  - !ruby/object:Gem::Dependency
47
63
  name: shoulda
48
64
  requirement: !ruby/object:Gem::Requirement
@@ -132,16 +148,65 @@ extra_rdoc_files:
132
148
  - README.rdoc
133
149
  files:
134
150
  - .document
151
+ - .rvmrc
135
152
  - Gemfile
136
153
  - Gemfile.lock
137
154
  - LICENSE.txt
155
+ - MIT-LICENSE
138
156
  - README.rdoc
139
157
  - Rakefile
140
158
  - VERSION
159
+ - acts_as_contactable._old_gemspec
141
160
  - acts_as_contactable.gemspec
161
+ - app/assets/images/acts_as_contactable/.gitkeep
162
+ - app/assets/javascripts/acts_as_contactable/application.js
163
+ - app/assets/stylesheets/acts_as_contactable/application.css
164
+ - app/controllers/acts_as_contactable/application_controller.rb
165
+ - app/helpers/acts_as_contactable/application_helper.rb
166
+ - app/views/layouts/acts_as_contactable/application.html.erb
167
+ - config/routes.rb
142
168
  - lib/acts_as_contactable.rb
169
+ - lib/acts_as_contactable/engine.rb
170
+ - lib/acts_as_contactable/version.rb
171
+ - lib/tasks/acts_as_contactable_tasks.rake
172
+ - script/rails
173
+ - test/acts_as_contactable_test.rb
174
+ - test/dummy/README.rdoc
175
+ - test/dummy/Rakefile
176
+ - test/dummy/app/assets/javascripts/application.js
177
+ - test/dummy/app/assets/stylesheets/application.css
178
+ - test/dummy/app/controllers/application_controller.rb
179
+ - test/dummy/app/helpers/application_helper.rb
180
+ - test/dummy/app/mailers/.gitkeep
181
+ - test/dummy/app/models/.gitkeep
182
+ - test/dummy/app/views/layouts/application.html.erb
183
+ - test/dummy/config.ru
184
+ - test/dummy/config/application.rb
185
+ - test/dummy/config/boot.rb
186
+ - test/dummy/config/database.yml
187
+ - test/dummy/config/environment.rb
188
+ - test/dummy/config/environments/development.rb
189
+ - test/dummy/config/environments/production.rb
190
+ - test/dummy/config/environments/test.rb
191
+ - test/dummy/config/initializers/backtrace_silencers.rb
192
+ - test/dummy/config/initializers/inflections.rb
193
+ - test/dummy/config/initializers/mime_types.rb
194
+ - test/dummy/config/initializers/secret_token.rb
195
+ - test/dummy/config/initializers/session_store.rb
196
+ - test/dummy/config/initializers/wrap_parameters.rb
197
+ - test/dummy/config/locales/en.yml
198
+ - test/dummy/config/routes.rb
199
+ - test/dummy/lib/assets/.gitkeep
200
+ - test/dummy/log/.gitkeep
201
+ - test/dummy/public/404.html
202
+ - test/dummy/public/422.html
203
+ - test/dummy/public/500.html
204
+ - test/dummy/public/favicon.ico
205
+ - test/dummy/script/rails
143
206
  - test/helper.rb
207
+ - test/integration/navigation_test.rb
144
208
  - test/test_acts_as_contactable.rb
209
+ - test/test_helper.rb
145
210
  homepage: http://github.com/TrueNorth/acts_as_contactable
146
211
  licenses:
147
212
  - MIT
@@ -157,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
222
  version: '0'
158
223
  segments:
159
224
  - 0
160
- hash: 960303005178759421
225
+ hash: -3038236591483524572
161
226
  required_rubygems_version: !ruby/object:Gem::Requirement
162
227
  none: false
163
228
  requirements: