alphabetic_paginate 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AlphabeticalPaginate
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,6 +1,11 @@
1
1
  require "alphabetical_paginate/version"
2
2
  require "alphabetical_paginate/paginator.rb"
3
3
 
4
- module AlphabeticalPaginate
5
- # Your code goes here...
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
6
10
  end
11
+
@@ -0,0 +1,11 @@
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
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -93,6 +93,8 @@ files:
93
93
  - lib/alphabetical_paginate.rb
94
94
  - lib/alphabetical_paginate/paginator.rb
95
95
  - lib/alphabetical_paginate/version.rb
96
+ - lib/assets/javascripts/alphabetical_paginate/paginate.js
97
+ - lib/rails/generators/alphabetical_paginate/install_generator.rb
96
98
  - spec/alphabetical_paginate_spec.rb
97
99
  homepage: https://github.com/grishinoleg/alphabetical_paginate
98
100
  licenses:
@@ -109,7 +111,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
111
  version: '0'
110
112
  segments:
111
113
  - 0
112
- hash: 151632719427267235
114
+ hash: 4172850911383306427
113
115
  required_rubygems_version: !ruby/object:Gem::Requirement
114
116
  none: false
115
117
  requirements:
@@ -118,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
120
  version: '0'
119
121
  segments:
120
122
  - 0
121
- hash: 151632719427267235
123
+ hash: 4172850911383306427
122
124
  requirements: []
123
125
  rubyforge_project:
124
126
  rubygems_version: 1.8.25