nether 0.0.2 → 0.0.3

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 (41) hide show
  1. data/MIT-LICENSE +20 -20
  2. data/README.rdoc +34 -41
  3. data/Rakefile +37 -37
  4. data/app/controllers/nether_controller.rb +7 -7
  5. data/app/helpers/nether_helper.rb +12 -12
  6. data/lib/generators/nether/install/USAGE +18 -18
  7. data/lib/generators/nether/install/install_generator.rb +8 -8
  8. data/lib/generators/nether/install/templates/jquery.pageless.js.erb +178 -178
  9. data/lib/nether.rb +3 -3
  10. data/lib/nether/engine.rb +16 -16
  11. data/lib/nether/version.rb +3 -3
  12. data/lib/tasks/nether_tasks.rake +4 -4
  13. data/test/dummy/Rakefile +7 -7
  14. data/test/dummy/app/assets/javascripts/application.js +9 -9
  15. data/test/dummy/app/assets/stylesheets/application.css +6 -6
  16. data/test/dummy/app/controllers/application_controller.rb +3 -3
  17. data/test/dummy/app/helpers/application_helper.rb +2 -2
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -14
  19. data/test/dummy/config.ru +4 -4
  20. data/test/dummy/config/application.rb +45 -45
  21. data/test/dummy/config/boot.rb +9 -9
  22. data/test/dummy/config/database.yml +25 -25
  23. data/test/dummy/config/environment.rb +5 -5
  24. data/test/dummy/config/environments/development.rb +30 -30
  25. data/test/dummy/config/environments/production.rb +60 -60
  26. data/test/dummy/config/environments/test.rb +39 -39
  27. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
  28. data/test/dummy/config/initializers/inflections.rb +10 -10
  29. data/test/dummy/config/initializers/mime_types.rb +5 -5
  30. data/test/dummy/config/initializers/secret_token.rb +7 -7
  31. data/test/dummy/config/initializers/session_store.rb +8 -8
  32. data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
  33. data/test/dummy/config/locales/en.yml +5 -5
  34. data/test/dummy/config/routes.rb +58 -58
  35. data/test/dummy/public/404.html +26 -26
  36. data/test/dummy/public/422.html +26 -26
  37. data/test/dummy/public/500.html +26 -26
  38. data/test/dummy/script/rails +6 -6
  39. data/test/nether_test.rb +7 -7
  40. data/test/test_helper.rb +10 -10
  41. metadata +9 -12
@@ -1,6 +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'
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'
@@ -1,7 +1,7 @@
1
- require 'test_helper'
2
-
3
- class NetherTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, Nether
6
- end
7
- end
1
+ require 'test_helper'
2
+
3
+ class NetherTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Nether
6
+ end
7
+ end
@@ -1,10 +1,10 @@
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 }
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 }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nether
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-08 00:00:00.000000000 Z
12
+ date: 2012-01-11 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &14904864 !ruby/object:Gem::Requirement
16
+ requirement: &9897072 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,12 +21,9 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *14904864
25
- description: ! 'Nether is a rails engine for easily adding endless page functionality
26
- to content paginated by will_paginate
27
-
28
- in your rails 3.1 application. Currently only supports apps using the assets pipeline
29
- and will_paginate.'
24
+ version_requirements: *9897072
25
+ description: Nether is a rails engine for easily adding endless page functionality
26
+ to paginated content.
30
27
  email:
31
28
  - matthew.evan.cross@gmail.com
32
29
  executables: []
@@ -89,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
86
  version: '0'
90
87
  segments:
91
88
  - 0
92
- hash: -1022373489
89
+ hash: -844119331
93
90
  required_rubygems_version: !ruby/object:Gem::Requirement
94
91
  none: false
95
92
  requirements:
@@ -98,10 +95,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
95
  version: '0'
99
96
  segments:
100
97
  - 0
101
- hash: -1022373489
98
+ hash: -844119331
102
99
  requirements: []
103
100
  rubyforge_project:
104
- rubygems_version: 1.8.11
101
+ rubygems_version: 1.7.2
105
102
  signing_key:
106
103
  specification_version: 3
107
104
  summary: Endless page for rails 3.1