autopage 0.0.11 → 0.0.12
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/History.txt +33 -13
- data/Manifest.txt +3 -3
- data/README.rdoc +14 -10
- data/TODO +1 -1
- data/install.rb +9 -8
- data/lib/autopage.rb +1 -1
- metadata +7 -7
data/History.txt
CHANGED
@@ -1,36 +1,56 @@
|
|
1
|
-
== 0.0.
|
1
|
+
== 0.0.12 2009-04-17
|
2
2
|
|
3
|
-
1
|
3
|
+
1 minor enhancements:
|
4
|
+
|
5
|
+
* modify README, History.txt content.
|
6
|
+
|
7
|
+
== 0.0.11 2009-04-16
|
8
|
+
|
9
|
+
1 minor enhancements:
|
10
|
+
|
11
|
+
* add ActionView::Base helper method for js,css file inclusion.
|
4
12
|
|
5
13
|
== 0.0.9 2009-04-15
|
6
14
|
|
7
|
-
1
|
15
|
+
1 major enhancements:
|
16
|
+
|
17
|
+
* add jquery js and css file, so remove dependency of Jquery
|
8
18
|
|
9
19
|
== 0.0.8 2009-04-15
|
10
20
|
|
11
|
-
|
21
|
+
1 bug fixes:
|
22
|
+
|
23
|
+
* clean unused folders and add rspec for class method.
|
12
24
|
|
13
25
|
== 0.0.7 2009-04-15
|
14
26
|
|
15
|
-
|
16
|
-
|
27
|
+
1 bug fixes:
|
28
|
+
|
29
|
+
* fix the gem as a rails plugin.
|
30
|
+
* install autopage plugin: ruby script/plugin install git://rubyforge.org:autopage.git
|
17
31
|
|
18
32
|
== 0.0.5 2009-04-15
|
19
33
|
|
20
|
-
|
21
|
-
|
34
|
+
2 minor enhancements:
|
35
|
+
|
36
|
+
* add 'rake mani' task to replace 'rake manifest' does not work on windows
|
37
|
+
* add 'install.rb' to auto copy jquery.idTabs.min.js file into rails plugin if install gems as a plugin
|
22
38
|
|
23
39
|
== 0.0.4 2009-04-15
|
24
40
|
|
25
|
-
|
26
|
-
|
41
|
+
1 bug fixes:
|
42
|
+
|
43
|
+
* fix manifest bug which cause gem without content
|
44
|
+
* replace 'rake gem' with [ find . -type f | egrep -v "(.git\/|nbproject\/|pkg\/|script\/|\.gitignore$|\.gem$)" | sed 's/\.\///g' > Manifest.txt ]
|
27
45
|
|
28
46
|
== 0.0.2 2009-04-14
|
29
47
|
|
30
|
-
|
31
|
-
|
48
|
+
1 bug fixes:
|
49
|
+
|
50
|
+
* fix spec bug include init.rb to make this gem suitable for rails plugin
|
32
51
|
|
33
52
|
== 0.0.1 2009-04-13
|
34
53
|
|
35
|
-
|
54
|
+
1 major enhancement:
|
55
|
+
|
36
56
|
* Initial release
|
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,33 +1,37 @@
|
|
1
1
|
= auto_page
|
2
2
|
|
3
3
|
* http://autopage.rubyforge.org
|
4
|
+
* http://github.com/eiffelqiu/autopage/tree/master
|
4
5
|
|
5
6
|
== DESCRIPTION:
|
6
7
|
|
7
|
-
A Rails Plugin to
|
8
|
+
A Rails Plugin to convert long text into multi tab page.
|
8
9
|
|
9
10
|
== FEATURES/PROBLEMS:
|
10
11
|
|
11
|
-
* can not install
|
12
|
+
* can not install and run as a gem
|
12
13
|
|
13
|
-
==
|
14
|
+
== INSTALL:
|
14
15
|
|
15
|
-
|
16
|
+
* ruby script/plugin install git://rubyforge.org:autopage.git
|
17
|
+
or
|
18
|
+
* ruby script/plugin install git@github.com:eiffelqiu/autopage.git
|
16
19
|
|
17
|
-
==
|
20
|
+
== SYNOPSIS:
|
18
21
|
|
19
|
-
|
22
|
+
STEP 1: put in your html <head>
|
23
|
+
<%= javascript_include_autopage %>
|
20
24
|
|
21
|
-
|
25
|
+
-----------------------------------
|
22
26
|
|
23
|
-
|
24
|
-
|
27
|
+
STEP 2: call tab_page function on String
|
28
|
+
<%= @article.tab_page(188) %>
|
25
29
|
|
26
30
|
== LICENSE:
|
27
31
|
|
28
32
|
(The MIT License)
|
29
33
|
|
30
|
-
Copyright (c) 2009 Eiffel
|
34
|
+
Copyright (c) 2009 Eiffel Qiu
|
31
35
|
|
32
36
|
Permission is hereby granted, free of charge, to any person obtaining
|
33
37
|
a copy of this software and associated documentation files (the
|
data/TODO
CHANGED
data/install.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
FileUtils.cp File.dirname(__FILE__) +
|
10
|
-
|
3
|
+
["jquery.min.js","jquery-ui.min.js","jquery-ui-tab.css"].each do |o|
|
4
|
+
if o.index('.js') then
|
5
|
+
x = File.dirname(__FILE__) + "/../../../public/javascripts/#{o}"
|
6
|
+
FileUtils.cp File.dirname(__FILE__) + "/templates/js/#{o}", x unless File.exist?(x)
|
7
|
+
else
|
8
|
+
x = File.dirname(__FILE__) + "/../../../public/stylesheets/#{o}"
|
9
|
+
FileUtils.cp File.dirname(__FILE__) + "/templates/css/#{o}", x unless File.exist?(x)
|
10
|
+
end
|
11
|
+
end
|
data/lib/autopage.rb
CHANGED
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.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eiffel qiu
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-18 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.8.0
|
34
34
|
version:
|
35
|
-
description: A Rails Plugin to
|
35
|
+
description: A Rails Plugin to convert long text into multi tab page.
|
36
36
|
email:
|
37
37
|
- eiffelqiu@gmail.com
|
38
38
|
executables: []
|
@@ -54,12 +54,12 @@ files:
|
|
54
54
|
- templates/css/jquery-ui-tab.css
|
55
55
|
- templates/js/jquery.min.js
|
56
56
|
- templates/js/jquery-ui.min.js
|
57
|
+
- init.rb
|
58
|
+
- Rakefile
|
59
|
+
- install.rb
|
57
60
|
- README.rdoc
|
58
61
|
- TODO
|
59
|
-
- install.rb
|
60
|
-
- init.rb
|
61
62
|
- History.txt
|
62
|
-
- Rakefile
|
63
63
|
has_rdoc: true
|
64
64
|
homepage: http://autopage.rubyforge.org
|
65
65
|
post_install_message:
|
@@ -86,6 +86,6 @@ rubyforge_project: autopage
|
|
86
86
|
rubygems_version: 1.3.1
|
87
87
|
signing_key:
|
88
88
|
specification_version: 2
|
89
|
-
summary: A Rails Plugin to
|
89
|
+
summary: A Rails Plugin to convert long text into multi tab page.
|
90
90
|
test_files: []
|
91
91
|
|