pizzazz 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pizzazz.rb +13 -5
- data/lib/pizzazz/colorer.rb +1 -0
- data/lib/pizzazz/html.rb +1 -1
- data/lib/pizzazz/version.rb +1 -1
- metadata +3 -3
data/lib/pizzazz.rb
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
require 'pizzazz/colorer'
|
2
|
-
require 'pizzazz/html'
|
3
|
-
require 'pizzazz/engine'
|
4
|
-
require 'pizzazz/version'
|
5
|
-
|
6
1
|
module Pizzazz
|
7
2
|
TAB_SIZE = 2
|
8
3
|
|
@@ -11,3 +6,16 @@ module Pizzazz
|
|
11
6
|
p.ify
|
12
7
|
end
|
13
8
|
end
|
9
|
+
|
10
|
+
# This is ugly. I'd love a better solution.
|
11
|
+
begin
|
12
|
+
require 'rails'
|
13
|
+
require 'pizzazz/engine'
|
14
|
+
Pizzazz::RAILS_AVAILABLE = true
|
15
|
+
rescue LoadError
|
16
|
+
Pizzazz::RAILS_AVAILABLE = false
|
17
|
+
end
|
18
|
+
|
19
|
+
require 'pizzazz/colorer'
|
20
|
+
require 'pizzazz/html'
|
21
|
+
require 'pizzazz/version'
|
data/lib/pizzazz/colorer.rb
CHANGED
data/lib/pizzazz/html.rb
CHANGED
data/lib/pizzazz/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pizzazz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -46,7 +46,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
46
|
version: '0'
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
hash:
|
49
|
+
hash: 1975583259138659068
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
segments:
|
57
57
|
- 0
|
58
|
-
hash:
|
58
|
+
hash: 1975583259138659068
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project:
|
61
61
|
rubygems_version: 1.8.23
|