ochko-flow_pagination 1.2 → 1.2.1

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/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg
2
+ doc
3
+ *.gem
data/Rakefile CHANGED
@@ -1,10 +1,14 @@
1
- require 'echoe'
2
-
3
- Echoe.new('flow_pagination', '1.1') do |e|
4
- e.description = "FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination)."
5
- e.url = "http://github.com/mexpolk/flow_pagination"
6
- e.author = "Ivan Torres"
7
- e.email = "mexpolk@gmail.com"
8
- e.ignore_pattern = ["tmp/*", "script/*"]
9
- e.development_dependencies = []
1
+ begin
2
+ require 'jeweler'
3
+ Jeweler::Tasks.new do |gemspec|
4
+ gemspec.name = "ochko-flow_pagination"
5
+ gemspec.summary = "FlowPagination link renderer for WillPaginate"
6
+ gemspec.description = "Replace paginate links with remote 'more' link"
7
+ gemspec.email = "ochkoo@gmail.com"
8
+ gemspec.homepage = "http://github.com/ochko/flow_pagination"
9
+ gemspec.authors = ["Ochirkhuyag.L"]
10
+ end
11
+ Jeweler::GemcutterTasks.new
12
+ rescue LoadError
13
+ puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org"
10
14
  end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.2.1
@@ -8,8 +8,8 @@ module FlowPagination
8
8
  flow_pagination = ''
9
9
 
10
10
  if self.current_page < self.last_page
11
- flow_pagination = @template.button_to_remote(
12
- @template.t('flow_pagination.button', :default => 'More'),
11
+ flow_pagination = @template.link_to_remote(
12
+ @template.t('flow_pagination.link', :default => 'more'),
13
13
  :url => url_for(self.next_page),
14
14
  :method => @template.request.request_method)
15
15
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ochko-flow_pagination
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- version: "1.2"
9
+ - 1
10
+ version: 1.2.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Ochirkhuyag.L
13
- - Ivan Torres
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
@@ -19,7 +19,7 @@ date: 2010-05-19 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description: FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination).
22
+ description: Replace paginate links with remote 'more' link
23
23
  email: ochkoo@gmail.com
24
24
  executables: []
25
25
 
@@ -27,27 +27,22 @@ extensions: []
27
27
 
28
28
  extra_rdoc_files:
29
29
  - README.rdoc
30
- - lib/flow_pagination.rb
31
30
  files:
31
+ - .gitignore
32
+ - MIT-LICENSE
32
33
  - Manifest
33
34
  - README.rdoc
34
35
  - Rakefile
36
+ - VERSION
35
37
  - init.rb
36
38
  - lib/flow_pagination.rb
37
- - MIT-LICENSE
38
- - flow_pagination.gemspec
39
39
  has_rdoc: true
40
40
  homepage: http://github.com/ochko/flow_pagination
41
41
  licenses: []
42
42
 
43
43
  post_install_message:
44
44
  rdoc_options:
45
- - --line-numbers
46
- - --inline-source
47
- - --title
48
- - Flow_pagination
49
- - --main
50
- - README.rdoc
45
+ - --charset=UTF-8
51
46
  require_paths:
52
47
  - lib
53
48
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -64,17 +59,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
59
  requirements:
65
60
  - - ">="
66
61
  - !ruby/object:Gem::Version
67
- hash: 11
62
+ hash: 3
68
63
  segments:
69
- - 1
70
- - 2
71
- version: "1.2"
64
+ - 0
65
+ version: "0"
72
66
  requirements: []
73
67
 
74
- rubyforge_project: flow_pagination
68
+ rubyforge_project:
75
69
  rubygems_version: 1.3.7
76
70
  signing_key:
77
71
  specification_version: 3
78
- summary: FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination).
72
+ summary: FlowPagination link renderer for WillPaginate
79
73
  test_files: []
80
74
 
@@ -1,30 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{ochko-flow_pagination}
5
- s.version = "1.2"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Ochirkhuyag.L", "Ivan Torres"]
9
- s.date = %q{2010-05-19}
10
- s.description = %q{FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination).}
11
- s.email = %q{ochkoo@gmail.com}
12
- s.extra_rdoc_files = ["README.rdoc", "lib/flow_pagination.rb"]
13
- s.files = ["Manifest", "README.rdoc", "Rakefile", "init.rb", "lib/flow_pagination.rb", "MIT-LICENSE", "flow_pagination.gemspec"]
14
- s.homepage = %q{http://github.com/ochko/flow_pagination}
15
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Flow_pagination", "--main", "README.rdoc"]
16
- s.require_paths = ["lib"]
17
- s.rubyforge_project = %q{flow_pagination}
18
- s.rubygems_version = %q{1.3.5}
19
- s.summary = %q{FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination).}
20
-
21
- if s.respond_to? :specification_version then
22
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
- s.specification_version = 3
24
-
25
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
26
- else
27
- end
28
- else
29
- end
30
- end