alphabetic_paginate 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.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in alphabetical_paginate.gemspec
3
+ # Specify your gem's dependencies in alphabetic_paginate.gemspec
4
4
  gemspec
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # AlphabeticalPaginate
1
+ # AlphabeticPaginate
2
2
 
3
- Paginates in alphabetical groups
3
+ Paginates in alphabetic groups
4
4
 
5
5
  ## Installation
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'alphabetical_paginate'
9
+ gem 'alphabetic_paginate'
10
10
 
11
11
  And then execute:
12
12
 
@@ -14,7 +14,7 @@ And then execute:
14
14
 
15
15
  Or install it yourself as:
16
16
 
17
- $ gem install alphabetical_paginate
17
+ $ gem install alphabetic_paginate
18
18
 
19
19
  ## Usage
20
20
 
@@ -1,16 +1,16 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'alphabetical_paginate/version'
4
+ require 'alphabetic_paginate/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "alphabetic_paginate"
8
- spec.version = AlphabeticalPaginate::VERSION
8
+ spec.version = AlphabeticPaginate::VERSION
9
9
  spec.authors = ["Oleg Grishin", "Linglian Zhang"]
10
10
  spec.email = ["og402@nyu.edu", "lz781@nyu.edu"]
11
- spec.description = "Paginates in alphabetical groups"
11
+ spec.description = "Paginates in alphabetic groups"
12
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/alphabetical_paginate"
13
+ spec.homepage = "https://github.com/grishinoleg/alphabetic_paginate"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -0,0 +1,6 @@
1
+ require "alphabetic_paginate/version"
2
+ require "alphabetic_paginate/paginator.rb"
3
+
4
+ module Alphabetic_paginate
5
+ end
6
+
@@ -1,4 +1,4 @@
1
- module Alphabetical_paginate
1
+ module Alphabetic_paginate
2
2
  class Paginator
3
3
  def self.paginate()
4
4
  return "works"
@@ -0,0 +1,3 @@
1
+ module AlphabeticPaginate
2
+ VERSION = "0.0.3"
3
+ end
@@ -0,0 +1,16 @@
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
@@ -0,0 +1,5 @@
1
+ require 'alphabetic_paginate'
2
+
3
+ describe Alphabetic_paginate::Paginator do
4
+
5
+ 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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -76,7 +76,7 @@ dependencies:
76
76
  - - ! '>='
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
- description: Paginates in alphabetical groups
79
+ description: Paginates in alphabetic groups
80
80
  email:
81
81
  - og402@nyu.edu
82
82
  - lz781@nyu.edu
@@ -84,19 +84,18 @@ executables: []
84
84
  extensions: []
85
85
  extra_rdoc_files: []
86
86
  files:
87
- - .gitignore
88
87
  - Gemfile
89
88
  - LICENSE.txt
90
89
  - README.md
91
90
  - Rakefile
92
- - alphabetical_paginate.gemspec
93
- - lib/alphabetical_paginate.rb
94
- - lib/alphabetical_paginate/paginator.rb
95
- - lib/alphabetical_paginate/version.rb
96
- - lib/assets/javascripts/alphabetical_paginate/paginate.js
97
- - lib/rails/generators/alphabetical_paginate/install_generator.rb
98
- - spec/alphabetical_paginate_spec.rb
99
- homepage: https://github.com/grishinoleg/alphabetical_paginate
91
+ - alphabetic_paginate.gemspec
92
+ - lib/alphabetic_paginate.rb
93
+ - lib/alphabetic_paginate/paginator.rb
94
+ - 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
98
+ homepage: https://github.com/grishinoleg/alphabetic_paginate
100
99
  licenses:
101
100
  - MIT
102
101
  post_install_message:
@@ -111,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
110
  version: '0'
112
111
  segments:
113
112
  - 0
114
- hash: 4172850911383306427
113
+ hash: -2008056317683508478
115
114
  required_rubygems_version: !ruby/object:Gem::Requirement
116
115
  none: false
117
116
  requirements:
@@ -120,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
119
  version: '0'
121
120
  segments:
122
121
  - 0
123
- hash: 4172850911383306427
122
+ hash: -2008056317683508478
124
123
  requirements: []
125
124
  rubyforge_project:
126
125
  rubygems_version: 1.8.25
@@ -129,4 +128,4 @@ specification_version: 3
129
128
  summary: Creates pagination where all data is sorted into pages based on the first
130
129
  letter of the sorting value
131
130
  test_files:
132
- - spec/alphabetical_paginate_spec.rb
131
+ - spec/alphabetic_paginate_spec.rb
data/.gitignore DELETED
@@ -1,17 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
@@ -1,11 +0,0 @@
1
- require "alphabetical_paginate/version"
2
- require "alphabetical_paginate/paginator.rb"
3
-
4
- module Rails
5
- class Alphabetical_paginate < Engine
6
- initializer :assets do |install|
7
- Rails.application.install.assets.precompile += %w( alphabetical_paginate/paginate.js )
8
- end
9
- end
10
- end
11
-
@@ -1,3 +0,0 @@
1
- module AlphabeticalPaginate
2
- VERSION = "0.0.2"
3
- end
@@ -1,11 +0,0 @@
1
- module Alphabetical_pagination
2
- module Generators
3
- class InstallGenerator < Rails::Generators::Base
4
- source_root File.expand_path("../../../", __FILE__)
5
-
6
- def add_assets
7
- directory "assets", "vendor/assets"
8
- end
9
- end
10
- end
11
- end
@@ -1,5 +0,0 @@
1
- require 'alphabetical_paginate'
2
-
3
- describe Alphabetical_paginate::Paginator do
4
-
5
- end