doohickey 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/config/initializers/doohickey.rb +1 -0
- data/doohickey.gemspec +8 -6
- data/lib/doohickey/engine.rb +7 -0
- data/lib/doohickey.rb +8 -2
- metadata +9 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -0,0 +1 @@
|
|
1
|
+
Doohickey::Initializer.initialize
|
data/doohickey.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{doohickey}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Trond Arve Nordheim"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-08-30}
|
13
13
|
s.description = %q{Contains SASS mixins and a default SASS configuration for use in Ruby on Rails projects}
|
14
14
|
s.email = %q{tanordheim@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -37,10 +37,12 @@ Gem::Specification.new do |s|
|
|
37
37
|
"app/stylesheets/doohickey/utils/_floats.sass",
|
38
38
|
"app/stylesheets/doohickey/utils/_hacks.sass",
|
39
39
|
"app/stylesheets/doohickey/utils/_reset.sass",
|
40
|
+
"config/initializers/doohickey.rb",
|
40
41
|
"doohickey.gemspec",
|
41
42
|
"init.rb",
|
42
43
|
"install.rb",
|
43
44
|
"lib/doohickey.rb",
|
45
|
+
"lib/doohickey/engine.rb",
|
44
46
|
"lib/doohickey/sass_extensions/gradients.rb",
|
45
47
|
"tasks/doohickey_tasks.rake",
|
46
48
|
"test/doohickey_test.rb",
|
@@ -50,18 +52,18 @@ Gem::Specification.new do |s|
|
|
50
52
|
s.homepage = %q{http://github.com/tanordheim/doohickey}
|
51
53
|
s.rdoc_options = ["--charset=UTF-8"]
|
52
54
|
s.require_paths = ["lib"]
|
53
|
-
s.rubygems_version = %q{1.3.
|
55
|
+
s.rubygems_version = %q{1.3.7}
|
54
56
|
s.summary = %q{Easy to use SASS mixins for Rails projects}
|
55
57
|
s.test_files = [
|
56
|
-
"test/
|
57
|
-
"test/
|
58
|
+
"test/doohickey_test.rb",
|
59
|
+
"test/test_helper.rb"
|
58
60
|
]
|
59
61
|
|
60
62
|
if s.respond_to? :specification_version then
|
61
63
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
62
64
|
s.specification_version = 3
|
63
65
|
|
64
|
-
if Gem::Version.new(Gem::
|
66
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
65
67
|
else
|
66
68
|
end
|
67
69
|
else
|
data/lib/doohickey.rb
CHANGED
@@ -12,8 +12,12 @@ end
|
|
12
12
|
require "doohickey/sass_extensions/#{function}"
|
13
13
|
end
|
14
14
|
|
15
|
-
# Define the Doohickey initializer
|
16
15
|
module Doohickey
|
16
|
+
|
17
|
+
# Load the Doohickey engine definition if we're in Rails3
|
18
|
+
require "doohickey/engine" if defined?(Rails) && Rails::VERSION::MAJOR == 3
|
19
|
+
|
20
|
+
# Define the Doohickey initializer
|
17
21
|
class Initializer
|
18
22
|
|
19
23
|
def self.rails_root
|
@@ -63,4 +67,6 @@ module Doohickey
|
|
63
67
|
end
|
64
68
|
|
65
69
|
end
|
66
|
-
|
70
|
+
|
71
|
+
end
|
72
|
+
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 2
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.2.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Trond Arve Nordheim
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-08-30 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -48,10 +48,12 @@ files:
|
|
48
48
|
- app/stylesheets/doohickey/utils/_floats.sass
|
49
49
|
- app/stylesheets/doohickey/utils/_hacks.sass
|
50
50
|
- app/stylesheets/doohickey/utils/_reset.sass
|
51
|
+
- config/initializers/doohickey.rb
|
51
52
|
- doohickey.gemspec
|
52
53
|
- init.rb
|
53
54
|
- install.rb
|
54
55
|
- lib/doohickey.rb
|
56
|
+
- lib/doohickey/engine.rb
|
55
57
|
- lib/doohickey/sass_extensions/gradients.rb
|
56
58
|
- tasks/doohickey_tasks.rake
|
57
59
|
- test/doohickey_test.rb
|
@@ -67,6 +69,7 @@ rdoc_options:
|
|
67
69
|
require_paths:
|
68
70
|
- lib
|
69
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
70
73
|
requirements:
|
71
74
|
- - ">="
|
72
75
|
- !ruby/object:Gem::Version
|
@@ -74,6 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
77
|
- 0
|
75
78
|
version: "0"
|
76
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
none: false
|
77
81
|
requirements:
|
78
82
|
- - ">="
|
79
83
|
- !ruby/object:Gem::Version
|
@@ -83,10 +87,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
87
|
requirements: []
|
84
88
|
|
85
89
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.3.
|
90
|
+
rubygems_version: 1.3.7
|
87
91
|
signing_key:
|
88
92
|
specification_version: 3
|
89
93
|
summary: Easy to use SASS mixins for Rails projects
|
90
94
|
test_files:
|
91
|
-
- test/test_helper.rb
|
92
95
|
- test/doohickey_test.rb
|
96
|
+
- test/test_helper.rb
|