infinitescrolling-rails 0.1.3 → 0.1.4

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/Gemfile.lock CHANGED
@@ -1,80 +1,65 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- infinitescrolling-rails (0.1.3)
4
+ infinitescrolling-rails (0.1.4)
5
5
  jquery-rails
6
- railties (~> 3.0)
6
+ railties (~> 3.1.0)
7
+ sprockets (~> 2.0.0)
7
8
 
8
9
  GEM
9
10
  remote: http://rubygems.org/
10
11
  specs:
11
- abstract (1.0.0)
12
- actionmailer (3.0.9)
13
- actionpack (= 3.0.9)
14
- mail (~> 2.2.19)
15
- actionpack (3.0.9)
16
- activemodel (= 3.0.9)
17
- activesupport (= 3.0.9)
18
- builder (~> 2.1.2)
19
- erubis (~> 2.6.6)
20
- i18n (~> 0.5.0)
21
- rack (~> 1.2.1)
22
- rack-mount (~> 0.6.14)
23
- rack-test (~> 0.5.7)
24
- tzinfo (~> 0.3.23)
25
- activemodel (3.0.9)
26
- activesupport (= 3.0.9)
27
- builder (~> 2.1.2)
28
- i18n (~> 0.5.0)
29
- activerecord (3.0.9)
30
- activemodel (= 3.0.9)
31
- activesupport (= 3.0.9)
32
- arel (~> 2.0.10)
33
- tzinfo (~> 0.3.23)
34
- activeresource (3.0.9)
35
- activemodel (= 3.0.9)
36
- activesupport (= 3.0.9)
37
- activesupport (3.0.9)
38
- arel (2.0.10)
39
- builder (2.1.2)
40
- erubis (2.6.6)
41
- abstract (>= 1.0.0)
42
- i18n (0.5.0)
43
- jquery-rails (1.0.12)
12
+ actionpack (3.1.1)
13
+ activemodel (= 3.1.1)
14
+ activesupport (= 3.1.1)
15
+ builder (~> 3.0.0)
16
+ erubis (~> 2.7.0)
17
+ i18n (~> 0.6)
18
+ rack (~> 1.3.2)
19
+ rack-cache (~> 1.1)
20
+ rack-mount (~> 0.8.2)
21
+ rack-test (~> 0.6.1)
22
+ sprockets (~> 2.0.2)
23
+ activemodel (3.1.1)
24
+ activesupport (= 3.1.1)
25
+ builder (~> 3.0.0)
26
+ i18n (~> 0.6)
27
+ activesupport (3.1.1)
28
+ multi_json (~> 1.0)
29
+ builder (3.0.0)
30
+ erubis (2.7.0)
31
+ hike (1.2.1)
32
+ i18n (0.6.0)
33
+ jquery-rails (1.0.16)
44
34
  railties (~> 3.0)
45
35
  thor (~> 0.14)
46
- mail (2.2.19)
47
- activesupport (>= 2.3.6)
48
- i18n (>= 0.4.0)
49
- mime-types (~> 1.16)
50
- treetop (~> 1.4.8)
51
- mime-types (1.16)
52
- polyglot (0.3.1)
53
- rack (1.2.3)
54
- rack-mount (0.6.14)
36
+ json (1.6.1)
37
+ multi_json (1.0.3)
38
+ rack (1.3.5)
39
+ rack-cache (1.1)
40
+ rack (>= 0.4)
41
+ rack-mount (0.8.3)
55
42
  rack (>= 1.0.0)
56
- rack-test (0.5.7)
43
+ rack-ssl (1.3.2)
44
+ rack
45
+ rack-test (0.6.1)
57
46
  rack (>= 1.0)
58
- rails (3.0.9)
59
- actionmailer (= 3.0.9)
60
- actionpack (= 3.0.9)
61
- activerecord (= 3.0.9)
62
- activeresource (= 3.0.9)
63
- activesupport (= 3.0.9)
64
- bundler (~> 1.0)
65
- railties (= 3.0.9)
66
- railties (3.0.9)
67
- actionpack (= 3.0.9)
68
- activesupport (= 3.0.9)
47
+ railties (3.1.1)
48
+ actionpack (= 3.1.1)
49
+ activesupport (= 3.1.1)
50
+ rack-ssl (~> 1.3.2)
69
51
  rake (>= 0.8.7)
70
52
  rdoc (~> 3.4)
71
- thor (~> 0.14.4)
72
- rake (0.9.2)
73
- rdoc (3.8)
53
+ thor (~> 0.14.6)
54
+ rake (0.9.2.2)
55
+ rdoc (3.11)
56
+ json (~> 1.4)
57
+ sprockets (2.0.3)
58
+ hike (~> 1.2)
59
+ rack (~> 1.0)
60
+ tilt (~> 1.1, != 1.3.0)
74
61
  thor (0.14.6)
75
- treetop (1.4.9)
76
- polyglot (>= 0.3.1)
77
- tzinfo (0.3.29)
62
+ tilt (1.3.3)
78
63
 
79
64
  PLATFORMS
80
65
  ruby
@@ -82,4 +67,3 @@ PLATFORMS
82
67
  DEPENDENCIES
83
68
  bundler (~> 1.0.0)
84
69
  infinitescrolling-rails!
85
- rails (~> 3.0)
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
- # Usage #
1
+ # Usage (Rails 3.1) #
2
2
  Include the gem in your `Gemfile`:
3
+
3
4
  ```gem 'infinitescrolling-rails'```
4
5
 
5
- Run the generator:
6
- ```rails generate infinitescrolling:install```
6
+ Include in your `application.js`
7
7
 
8
- Include the javascript file in your layouts:
9
- ```javascript_include_tag "autocomplete-rails.js"```
8
+ ```//= require infinitescrolling```
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "infinitescrolling-rails"
5
- s.version = "0.1.3"
5
+ s.version = "0.1.4"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ["Leif Bladt"]
8
8
  s.email = ["leif.bladt@gmx.de"]
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.required_rubygems_version = ">= 1.3.6"
14
14
 
15
- s.add_dependency "railties", "~> 3.0"
15
+ s.add_dependency "railties", "~> 3.1.0"
16
+ s.add_dependency "sprockets", "~> 2.0.0"
16
17
  s.add_dependency "jquery-rails"
17
18
  s.add_development_dependency "bundler", "~> 1.0.0"
18
- s.add_development_dependency "rails", "~> 3.0"
19
19
 
20
20
  s.files = `git ls-files`.split("\n")
21
21
  s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/}
@@ -1,5 +1,5 @@
1
1
  module Infinitescrolling
2
2
  module Rails
3
- require 'infinitescrolling/rails/railtie'
3
+ require 'infinitescrolling/rails/engine'
4
4
  end
5
5
  end
@@ -0,0 +1,6 @@
1
+ module Infinitescrolling
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infinitescrolling-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,53 +9,52 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-07-25 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2011-11-11 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: railties
17
- requirement: &2156074000 !ruby/object:Gem::Requirement
16
+ requirement: &2155266940 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
21
20
  - !ruby/object:Gem::Version
22
- version: '3.0'
21
+ version: 3.1.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2156074000
24
+ version_requirements: *2155266940
26
25
  - !ruby/object:Gem::Dependency
27
- name: jquery-rails
28
- requirement: &2156073480 !ruby/object:Gem::Requirement
26
+ name: sprockets
27
+ requirement: &2155266420 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
- - - ! '>='
30
+ - - ~>
32
31
  - !ruby/object:Gem::Version
33
- version: '0'
32
+ version: 2.0.0
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *2156073480
35
+ version_requirements: *2155266420
37
36
  - !ruby/object:Gem::Dependency
38
- name: bundler
39
- requirement: &2156072680 !ruby/object:Gem::Requirement
37
+ name: jquery-rails
38
+ requirement: &2155266020 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
- - - ~>
41
+ - - ! '>='
43
42
  - !ruby/object:Gem::Version
44
- version: 1.0.0
45
- type: :development
43
+ version: '0'
44
+ type: :runtime
46
45
  prerelease: false
47
- version_requirements: *2156072680
46
+ version_requirements: *2155266020
48
47
  - !ruby/object:Gem::Dependency
49
- name: rails
50
- requirement: &2156071880 !ruby/object:Gem::Requirement
48
+ name: bundler
49
+ requirement: &2155265480 !ruby/object:Gem::Requirement
51
50
  none: false
52
51
  requirements:
53
52
  - - ~>
54
53
  - !ruby/object:Gem::Version
55
- version: '3.0'
54
+ version: 1.0.0
56
55
  type: :development
57
56
  prerelease: false
58
- version_requirements: *2156071880
57
+ version_requirements: *2155265480
59
58
  description: This gem provides the infinite scrolling jQuery plugin for your Rails
60
59
  3 application.
61
60
  email:
@@ -73,9 +72,8 @@ files:
73
72
  - lib/generators/infinitescrolling/install/install_generator.rb
74
73
  - lib/infinitescrolling-rails.rb
75
74
  - lib/infinitescrolling/rails.rb
76
- - lib/infinitescrolling/rails/railtie.rb
75
+ - lib/infinitescrolling/rails/engine.rb
77
76
  - vendor/assets/javascripts/infinitescrolling.js
78
- has_rdoc: true
79
77
  homepage: https://github.com/leifbladt/infinitescrolling-rails
80
78
  licenses: []
81
79
  post_install_message:
@@ -96,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
94
  version: 1.3.6
97
95
  requirements: []
98
96
  rubyforge_project:
99
- rubygems_version: 1.6.2
97
+ rubygems_version: 1.8.6
100
98
  signing_key:
101
99
  specification_version: 3
102
100
  summary: Use the infinite scrolling jQuery plugin with Rails 3
@@ -1,12 +0,0 @@
1
- # Configure Rails 3.0 to use public/javascripts/infinite_scrolling.js
2
- module Infinitescrolling
3
- module Rails
4
-
5
- class Railtie < ::Rails::Railtie
6
- #config.before_configuration do
7
- # config.action_view.javascript_expansions[:defaults] << 'infinitescrolling.js'
8
- #end
9
- end
10
-
11
- end
12
- end