alphabetic_paginate 0.0.3 → 0.0.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.
@@ -1,6 +1,9 @@
1
1
  require "alphabetic_paginate/version"
2
- require "alphabetic_paginate/paginator.rb"
3
2
 
4
3
  module Alphabetic_paginate
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ end
5
8
  end
6
9
 
@@ -1,3 +1,3 @@
1
1
  module AlphabeticPaginate
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alphabetic_paginate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-11 00:00:00.000000000 Z
13
+ date: 2013-07-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -76,6 +76,22 @@ dependencies:
76
76
  - - ! '>='
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
+ - !ruby/object:Gem::Dependency
80
+ name: railties
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: '3.1'
87
+ type: :runtime
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: '3.1'
79
95
  description: Paginates in alphabetic groups
80
96
  email:
81
97
  - og402@nyu.edu
@@ -84,17 +100,10 @@ executables: []
84
100
  extensions: []
85
101
  extra_rdoc_files: []
86
102
  files:
87
- - Gemfile
88
- - LICENSE.txt
89
- - README.md
90
- - Rakefile
91
- - alphabetic_paginate.gemspec
92
103
  - lib/alphabetic_paginate.rb
93
- - lib/alphabetic_paginate/paginator.rb
94
104
  - lib/alphabetic_paginate/version.rb
95
- - lib/generators/alphabetic_paginate/alphabetic_paginate_generator.rb
96
- - lib/generators/templates/paginate.js
97
- - spec/alphabetic_paginate_spec.rb
105
+ - lib/alphabetic_paginate/paginator.rb
106
+ - README.md
98
107
  homepage: https://github.com/grishinoleg/alphabetic_paginate
99
108
  licenses:
100
109
  - MIT
@@ -108,18 +117,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
117
  - - ! '>='
109
118
  - !ruby/object:Gem::Version
110
119
  version: '0'
111
- segments:
112
- - 0
113
- hash: -2008056317683508478
114
120
  required_rubygems_version: !ruby/object:Gem::Requirement
115
121
  none: false
116
122
  requirements:
117
123
  - - ! '>='
118
124
  - !ruby/object:Gem::Version
119
125
  version: '0'
120
- segments:
121
- - 0
122
- hash: -2008056317683508478
123
126
  requirements: []
124
127
  rubyforge_project:
125
128
  rubygems_version: 1.8.25
@@ -127,5 +130,4 @@ signing_key:
127
130
  specification_version: 3
128
131
  summary: Creates pagination where all data is sorted into pages based on the first
129
132
  letter of the sorting value
130
- test_files:
131
- - spec/alphabetic_paginate_spec.rb
133
+ test_files: []
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in alphabetic_paginate.gemspec
4
- gemspec
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2013 Oleg Grishin
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -1,25 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'alphabetic_paginate/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "alphabetic_paginate"
8
- spec.version = AlphabeticPaginate::VERSION
9
- spec.authors = ["Oleg Grishin", "Linglian Zhang"]
10
- spec.email = ["og402@nyu.edu", "lz781@nyu.edu"]
11
- spec.description = "Paginates in alphabetic groups"
12
- spec.summary = "Creates pagination where all data is sorted into pages based on the first letter of the sorting value"
13
- spec.homepage = "https://github.com/grishinoleg/alphabetic_paginate"
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rake"
23
- spec.add_development_dependency "rspec", "~> 2.6"
24
- spec.add_dependency "activesupport"
25
- end
@@ -1,16 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/named_base'
3
-
4
- module Alphabetic_paginate
5
- module Generators
6
- class CellGenerator < ::Rails::Generators::NamedBase
7
-
8
- source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
9
-
10
- def create_java_file
11
- template 'paginate.js', File.join('app/alphabetic_pagine', class_path, "#{file_name}_paginate.js")
12
- end
13
-
14
- end
15
- end
16
- end
File without changes
@@ -1,5 +0,0 @@
1
- require 'alphabetic_paginate'
2
-
3
- describe Alphabetic_paginate::Paginator do
4
-
5
- end