vidibus-helpers 0.0.1 → 0.0.2
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/.gitignore +1 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +2 -37
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/vidibus-helpers.rb +1 -1
- data/spec/vidibus/helpers/{extensions/view_spec.rb → action_view_spec.rb} +2 -5
- data/vidibus-helpers.gemspec +7 -4
- metadata +23 -8
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -2,9 +2,6 @@ GEM
|
|
|
2
2
|
remote: http://gemcutter.org/
|
|
3
3
|
specs:
|
|
4
4
|
abstract (1.0.0)
|
|
5
|
-
actionmailer (3.0.0)
|
|
6
|
-
actionpack (= 3.0.0)
|
|
7
|
-
mail (~> 2.2.5)
|
|
8
5
|
actionpack (3.0.0)
|
|
9
6
|
activemodel (= 3.0.0)
|
|
10
7
|
activesupport (= 3.0.0)
|
|
@@ -19,47 +16,17 @@ GEM
|
|
|
19
16
|
activesupport (= 3.0.0)
|
|
20
17
|
builder (~> 2.1.2)
|
|
21
18
|
i18n (~> 0.4.1)
|
|
22
|
-
activerecord (3.0.0)
|
|
23
|
-
activemodel (= 3.0.0)
|
|
24
|
-
activesupport (= 3.0.0)
|
|
25
|
-
arel (~> 1.0.0)
|
|
26
|
-
tzinfo (~> 0.3.23)
|
|
27
|
-
activeresource (3.0.0)
|
|
28
|
-
activemodel (= 3.0.0)
|
|
29
|
-
activesupport (= 3.0.0)
|
|
30
19
|
activesupport (3.0.0)
|
|
31
|
-
arel (1.0.1)
|
|
32
|
-
activesupport (~> 3.0.0)
|
|
33
20
|
builder (2.1.2)
|
|
34
21
|
diff-lcs (1.1.2)
|
|
35
22
|
erubis (2.6.6)
|
|
36
23
|
abstract (>= 1.0.0)
|
|
37
24
|
i18n (0.4.1)
|
|
38
|
-
mail (2.2.6.1)
|
|
39
|
-
activesupport (>= 2.3.6)
|
|
40
|
-
mime-types
|
|
41
|
-
treetop (>= 1.4.5)
|
|
42
|
-
mime-types (1.16)
|
|
43
|
-
polyglot (0.3.1)
|
|
44
25
|
rack (1.2.1)
|
|
45
26
|
rack-mount (0.6.13)
|
|
46
27
|
rack (>= 1.0.0)
|
|
47
28
|
rack-test (0.5.6)
|
|
48
29
|
rack (>= 1.0)
|
|
49
|
-
rails (3.0.0)
|
|
50
|
-
actionmailer (= 3.0.0)
|
|
51
|
-
actionpack (= 3.0.0)
|
|
52
|
-
activerecord (= 3.0.0)
|
|
53
|
-
activeresource (= 3.0.0)
|
|
54
|
-
activesupport (= 3.0.0)
|
|
55
|
-
bundler (~> 1.0.0)
|
|
56
|
-
railties (= 3.0.0)
|
|
57
|
-
railties (3.0.0)
|
|
58
|
-
actionpack (= 3.0.0)
|
|
59
|
-
activesupport (= 3.0.0)
|
|
60
|
-
rake (>= 0.8.4)
|
|
61
|
-
thor (~> 0.14.0)
|
|
62
|
-
rake (0.8.7)
|
|
63
30
|
relevance-rcov (0.9.2.1)
|
|
64
31
|
rspec (2.0.0.beta.22)
|
|
65
32
|
rspec-core (= 2.0.0.beta.22)
|
|
@@ -71,16 +38,14 @@ GEM
|
|
|
71
38
|
rspec-mocks (2.0.0.beta.22)
|
|
72
39
|
rspec-core (= 2.0.0.beta.22)
|
|
73
40
|
rspec-expectations (= 2.0.0.beta.22)
|
|
74
|
-
thor (0.14.2)
|
|
75
|
-
treetop (1.4.8)
|
|
76
|
-
polyglot (>= 0.3.1)
|
|
77
41
|
tzinfo (0.3.23)
|
|
78
42
|
|
|
79
43
|
PLATFORMS
|
|
80
44
|
ruby
|
|
81
45
|
|
|
82
46
|
DEPENDENCIES
|
|
47
|
+
actionpack (~> 3.0.0)
|
|
48
|
+
activesupport (~> 3.0.0)
|
|
83
49
|
bundler (~> 1.0.0)
|
|
84
|
-
rails (~> 3.0.0)
|
|
85
50
|
relevance-rcov
|
|
86
51
|
rspec (~> 2.0.0.beta.20)
|
data/Rakefile
CHANGED
|
@@ -13,6 +13,7 @@ begin
|
|
|
13
13
|
gem.email = "andre@vidibus.com"
|
|
14
14
|
gem.homepage = "http://github.com/vidibus/vidibus-helpers"
|
|
15
15
|
gem.authors = ["Andre Pankratz"]
|
|
16
|
+
gem.add_dependency "activesupport", "~> 3.0.0"
|
|
16
17
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
|
17
18
|
end
|
|
18
19
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
data/lib/vidibus-helpers.rb
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
require "spec_helper"
|
|
2
|
+
require "action_view"
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
include Vidibus::Helpers::Extensions::View
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
describe ViewHelper do
|
|
4
|
+
describe ActionView::Base do
|
|
8
5
|
describe "#number_to_duration" do
|
|
9
6
|
it "should return 00:24 for 24 seconds" do
|
|
10
7
|
subject.number_to_duration(24).should eql("00:24")
|
data/vidibus-helpers.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{vidibus-helpers}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Andre Pankratz"]
|
|
12
|
-
s.date = %q{2010-
|
|
12
|
+
s.date = %q{2010-10-01}
|
|
13
13
|
s.description = %q{A collections of application helpers.}
|
|
14
14
|
s.email = %q{andre@vidibus.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
|
|
|
32
32
|
"lib/vidibus/helpers/extensions/controller.rb",
|
|
33
33
|
"lib/vidibus/helpers/extensions/view.rb",
|
|
34
34
|
"spec/spec_helper.rb",
|
|
35
|
-
"spec/vidibus/helpers/
|
|
35
|
+
"spec/vidibus/helpers/action_view_spec.rb",
|
|
36
36
|
"vidibus-helpers.gemspec"
|
|
37
37
|
]
|
|
38
38
|
s.homepage = %q{http://github.com/vidibus/vidibus-helpers}
|
|
@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
|
|
|
42
42
|
s.summary = %q{Helpers for Vidibus applications.}
|
|
43
43
|
s.test_files = [
|
|
44
44
|
"spec/spec_helper.rb",
|
|
45
|
-
"spec/vidibus/helpers/
|
|
45
|
+
"spec/vidibus/helpers/action_view_spec.rb"
|
|
46
46
|
]
|
|
47
47
|
|
|
48
48
|
if s.respond_to? :specification_version then
|
|
@@ -50,9 +50,12 @@ Gem::Specification.new do |s|
|
|
|
50
50
|
s.specification_version = 3
|
|
51
51
|
|
|
52
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
53
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0"])
|
|
53
54
|
else
|
|
55
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
|
|
54
56
|
end
|
|
55
57
|
else
|
|
58
|
+
s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
|
|
56
59
|
end
|
|
57
60
|
end
|
|
58
61
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vidibus-helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Andre Pankratz
|
|
@@ -15,10 +15,25 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-
|
|
18
|
+
date: 2010-10-01 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
|
-
dependencies:
|
|
21
|
-
|
|
20
|
+
dependencies:
|
|
21
|
+
- !ruby/object:Gem::Dependency
|
|
22
|
+
name: activesupport
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ~>
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 7
|
|
30
|
+
segments:
|
|
31
|
+
- 3
|
|
32
|
+
- 0
|
|
33
|
+
- 0
|
|
34
|
+
version: 3.0.0
|
|
35
|
+
type: :runtime
|
|
36
|
+
version_requirements: *id001
|
|
22
37
|
description: A collections of application helpers.
|
|
23
38
|
email: andre@vidibus.com
|
|
24
39
|
executables: []
|
|
@@ -44,7 +59,7 @@ files:
|
|
|
44
59
|
- lib/vidibus/helpers/extensions/controller.rb
|
|
45
60
|
- lib/vidibus/helpers/extensions/view.rb
|
|
46
61
|
- spec/spec_helper.rb
|
|
47
|
-
- spec/vidibus/helpers/
|
|
62
|
+
- spec/vidibus/helpers/action_view_spec.rb
|
|
48
63
|
- vidibus-helpers.gemspec
|
|
49
64
|
has_rdoc: true
|
|
50
65
|
homepage: http://github.com/vidibus/vidibus-helpers
|
|
@@ -82,4 +97,4 @@ specification_version: 3
|
|
|
82
97
|
summary: Helpers for Vidibus applications.
|
|
83
98
|
test_files:
|
|
84
99
|
- spec/spec_helper.rb
|
|
85
|
-
- spec/vidibus/helpers/
|
|
100
|
+
- spec/vidibus/helpers/action_view_spec.rb
|