autopage 0.0.5 → 0.0.6

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,3 +1,8 @@
1
+ == 0.0.6 2009-04-15
2
+
3
+ * 1 fix the gem as a rails plugin.
4
+ install autopage plugin: ruby script/plugin install git://rubyforge.org:autopage.git
5
+
1
6
  == 0.0.5 2009-04-15
2
7
 
3
8
  * 1 add 'rake mani' task to replace 'rake manifest' does not work on windows
@@ -5,11 +5,11 @@ tasks/manifest.rake
5
5
  spec/autopage_spec.rb
6
6
  spec/spec.opts
7
7
  spec/spec_helper.rb
8
- lib/init.rb
9
- lib/install.rb
10
- lib/templates/jquery.idTabs.min.js
11
8
  lib/autopage.rb
12
9
  config/website.yml
13
10
  History.txt
14
11
  TODO
15
12
  Manifest.txt
13
+ init.rb
14
+ install.rb
15
+ templates/jquery.idTabs.min.js
@@ -21,6 +21,7 @@ A Rails Plugin to autogenerate long text content to multipage.
21
21
  == INSTALL:
22
22
 
23
23
  * gem install autopage
24
+ * ruby script/plugin install git://rubyforge.org:autopage.git
24
25
 
25
26
  == LICENSE:
26
27
 
data/init.rb ADDED
@@ -0,0 +1,2 @@
1
+ $:.unshift "#{File.dirname(__FILE__)}/lib"
2
+ require 'autopage'
File without changes
@@ -5,7 +5,7 @@ $:.unshift(File.dirname(__FILE__)) unless
5
5
  # A Rails Plugin to autogenerate long text content to multipage.
6
6
  #
7
7
  module Autopage
8
- VERSION = '0.0.5'
8
+ VERSION = '0.0.6'
9
9
 
10
10
  def self.included(base)
11
11
  base.extend ClassMethods
@@ -2,15 +2,13 @@
2
2
 
3
3
  # rake manifest does not work on windows,
4
4
  # this task do the same task.
5
- desc "rake manifest's replacement rake task"
6
- task :mani do
7
- system %[find . -type f | egrep -v "(.git\/|nbproject\/|pkg\/|script\/|\.gitignore$|\.gem$)" > Manifest.txt]
8
- strio = File.read('Manifest.txt').gsub!(/\.\//,''); puts strio
9
- File.open('Manifest.txt','w') {|f| f.puts strio }
10
- end
11
-
12
-
13
5
  namespace :autopage do
14
-
6
+
7
+ desc "rake manifest's replacement rake task"
8
+ task :manifest do
9
+ system %[find . -type f | egrep -v "(.git\/|nbproject\/|pkg\/|script\/|\.gitignore$|\.gem$)" > Manifest.txt]
10
+ strio = File.read('Manifest.txt').gsub!(/\.\//,''); puts strio
11
+ File.open('Manifest.txt','w') {|f| f.puts strio }
12
+ end
15
13
 
16
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autopage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - eiffel qiu
@@ -51,14 +51,14 @@ files:
51
51
  - spec/autopage_spec.rb
52
52
  - spec/spec.opts
53
53
  - spec/spec_helper.rb
54
- - lib/init.rb
55
- - lib/install.rb
56
- - lib/templates/jquery.idTabs.min.js
57
54
  - lib/autopage.rb
58
55
  - config/website.yml
59
56
  - History.txt
60
57
  - TODO
61
58
  - Manifest.txt
59
+ - init.rb
60
+ - install.rb
61
+ - templates/jquery.idTabs.min.js
62
62
  has_rdoc: true
63
63
  homepage: http://autopage.rubyforge.org
64
64
  post_install_message:
@@ -1 +0,0 @@
1
- require 'autopage'
@@ -1,5 +0,0 @@
1
- plugins_dir = File.expand_path(".")
2
- autopage_dir = File.join(plugins_dir, 'autopage')
3
- root_dir = File.join(autopage_dir, '..', '..', '..')
4
-
5
- File.copy File.join(autopage_dir, 'templates', 'jquery.idTabs.min.js'), File.join(root_dir, 'public', 'javascripts', 'jquery.idTabs.min.js')