archive_tree 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +36 -37
- data/lib/archive_tree/action_view_extensions.rb +3 -3
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -2,35 +2,34 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
abstract (1.0.0)
|
5
|
-
actionmailer (3.0.
|
6
|
-
actionpack (= 3.0.
|
7
|
-
mail (~> 2.2.
|
8
|
-
actionpack (3.0.
|
9
|
-
activemodel (= 3.0.
|
10
|
-
activesupport (= 3.0.
|
5
|
+
actionmailer (3.0.4.rc)
|
6
|
+
actionpack (= 3.0.4.rc)
|
7
|
+
mail (~> 2.2.9)
|
8
|
+
actionpack (3.0.4.rc)
|
9
|
+
activemodel (= 3.0.4.rc)
|
10
|
+
activesupport (= 3.0.4.rc)
|
11
11
|
builder (~> 2.1.2)
|
12
12
|
erubis (~> 2.6.6)
|
13
|
-
i18n (~> 0.4
|
13
|
+
i18n (~> 0.4)
|
14
14
|
rack (~> 1.2.1)
|
15
|
-
rack-mount (~> 0.6.
|
16
|
-
rack-test (~> 0.5.
|
15
|
+
rack-mount (~> 0.6.13)
|
16
|
+
rack-test (~> 0.5.6)
|
17
17
|
tzinfo (~> 0.3.23)
|
18
|
-
activemodel (3.0.
|
19
|
-
activesupport (= 3.0.
|
18
|
+
activemodel (3.0.4.rc)
|
19
|
+
activesupport (= 3.0.4.rc)
|
20
20
|
builder (~> 2.1.2)
|
21
|
-
i18n (~> 0.4
|
22
|
-
activerecord (3.0.
|
23
|
-
activemodel (= 3.0.
|
24
|
-
activesupport (= 3.0.
|
25
|
-
arel (~>
|
21
|
+
i18n (~> 0.4)
|
22
|
+
activerecord (3.0.4.rc)
|
23
|
+
activemodel (= 3.0.4.rc)
|
24
|
+
activesupport (= 3.0.4.rc)
|
25
|
+
arel (~> 2.0.2)
|
26
26
|
tzinfo (~> 0.3.23)
|
27
|
-
activeresource (3.0.
|
28
|
-
activemodel (= 3.0.
|
29
|
-
activesupport (= 3.0.
|
30
|
-
activesupport (3.0.
|
27
|
+
activeresource (3.0.4.rc)
|
28
|
+
activemodel (= 3.0.4.rc)
|
29
|
+
activesupport (= 3.0.4.rc)
|
30
|
+
activesupport (3.0.4.rc)
|
31
31
|
archive-tar-minitar (0.5.2)
|
32
|
-
arel (
|
33
|
-
activesupport (~> 3.0.0)
|
32
|
+
arel (2.0.3)
|
34
33
|
builder (2.1.2)
|
35
34
|
columnize (0.3.2)
|
36
35
|
database_cleaner (0.6.0)
|
@@ -44,7 +43,7 @@ GEM
|
|
44
43
|
i18n (0.4.2)
|
45
44
|
linecache19 (0.5.11)
|
46
45
|
ruby_core_source (>= 0.1.4)
|
47
|
-
mail (2.2.
|
46
|
+
mail (2.2.10)
|
48
47
|
activesupport (>= 2.3.6)
|
49
48
|
i18n (~> 0.4.1)
|
50
49
|
mime-types (~> 1.16)
|
@@ -57,19 +56,19 @@ GEM
|
|
57
56
|
rack (>= 1.0.0)
|
58
57
|
rack-test (0.5.6)
|
59
58
|
rack (>= 1.0)
|
60
|
-
rails (3.0.
|
61
|
-
actionmailer (= 3.0.
|
62
|
-
actionpack (= 3.0.
|
63
|
-
activerecord (= 3.0.
|
64
|
-
activeresource (= 3.0.
|
65
|
-
activesupport (= 3.0.
|
66
|
-
bundler (~> 1.0
|
67
|
-
railties (= 3.0.
|
68
|
-
railties (3.0.
|
69
|
-
actionpack (= 3.0.
|
70
|
-
activesupport (= 3.0.
|
71
|
-
rake (>= 0.8.
|
72
|
-
thor (~> 0.14.
|
59
|
+
rails (3.0.4.rc)
|
60
|
+
actionmailer (= 3.0.4.rc)
|
61
|
+
actionpack (= 3.0.4.rc)
|
62
|
+
activerecord (= 3.0.4.rc)
|
63
|
+
activeresource (= 3.0.4.rc)
|
64
|
+
activesupport (= 3.0.4.rc)
|
65
|
+
bundler (~> 1.0)
|
66
|
+
railties (= 3.0.4.rc)
|
67
|
+
railties (3.0.4.rc)
|
68
|
+
actionpack (= 3.0.4.rc)
|
69
|
+
activesupport (= 3.0.4.rc)
|
70
|
+
rake (>= 0.8.7)
|
71
|
+
thor (~> 0.14.4)
|
73
72
|
rake (0.8.7)
|
74
73
|
rspec (2.0.1)
|
75
74
|
rspec-core (~> 2.0.1)
|
@@ -92,7 +91,7 @@ GEM
|
|
92
91
|
ruby_core_source (0.1.4)
|
93
92
|
archive-tar-minitar (>= 0.5.2)
|
94
93
|
thor (0.14.4)
|
95
|
-
treetop (1.4.
|
94
|
+
treetop (1.4.9)
|
96
95
|
polyglot (>= 0.3.1)
|
97
96
|
tzinfo (0.3.23)
|
98
97
|
|
@@ -30,7 +30,7 @@ module ArchiveTree
|
|
30
30
|
options.reverse_merge!({ :model_sym => :post, :route => :posts_path, :toggle => true, :toggle_text => '[ + ]' })
|
31
31
|
model = options[:model_sym].to_s.capitalize.constantize
|
32
32
|
|
33
|
-
|
33
|
+
model.count > 0 ? draw_years(model, options[:route], options[:toggle], options[:toggle_text]) : ''
|
34
34
|
end # draw_archive_tree
|
35
35
|
|
36
36
|
private
|
@@ -49,7 +49,7 @@ module ArchiveTree
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
ul_body
|
52
|
+
ul_body.html_safe
|
53
53
|
end
|
54
54
|
end # draw_years
|
55
55
|
|
@@ -64,7 +64,7 @@ module ArchiveTree
|
|
64
64
|
self.send(route, year, month < 10 ? "0#{month}" : month)))
|
65
65
|
end
|
66
66
|
|
67
|
-
ul_body
|
67
|
+
ul_body.html_safe
|
68
68
|
end
|
69
69
|
end # draw_months
|
70
70
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 2
|
9
|
+
version: 1.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Diogo Almeida
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-17 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|