ti 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ti/generate/view.rb +1 -1
- data/lib/ti/version.rb +1 -1
- metadata +29 -29
data/lib/ti/generate/view.rb
CHANGED
@@ -22,7 +22,7 @@ module Ti
|
|
22
22
|
template = templates("app/views/view.erb")
|
23
23
|
end
|
24
24
|
|
25
|
-
payload = Pathname.new("#{view_directory}/#{context[:domain].downcase}")
|
25
|
+
payload = Pathname.new("#{view_directory}/#{(context[:domain] || '').downcase}")
|
26
26
|
contents = Erubis::Eruby.new(File.read(template)).result(context) if template
|
27
27
|
|
28
28
|
create_directories(payload) unless File.directory?(payload)
|
data/lib/ti/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,7 +16,7 @@ date: 2011-05-04 00:00:00.000000000Z
|
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: sass
|
19
|
-
requirement: &
|
19
|
+
requirement: &2158629800 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: 3.1.1
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *2158629800
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: guard-sass
|
30
|
-
requirement: &
|
30
|
+
requirement: &2158629240 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: 0.0.6
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *2158629240
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: guard
|
41
|
-
requirement: &
|
41
|
+
requirement: &2158628740 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: 0.3.4
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *2158628740
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: guard-coffeescript
|
52
|
-
requirement: &
|
52
|
+
requirement: &2158628260 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
@@ -57,10 +57,10 @@ dependencies:
|
|
57
57
|
version: 0.2.0
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *2158628260
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: guard-livereload
|
63
|
-
requirement: &
|
63
|
+
requirement: &2158627760 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
@@ -68,10 +68,10 @@ dependencies:
|
|
68
68
|
version: 0.1.10
|
69
69
|
type: :runtime
|
70
70
|
prerelease: false
|
71
|
-
version_requirements: *
|
71
|
+
version_requirements: *2158627760
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: jasmine
|
74
|
-
requirement: &
|
74
|
+
requirement: &2158627260 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - ~>
|
@@ -79,10 +79,10 @@ dependencies:
|
|
79
79
|
version: 1.0.2.0
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
|
-
version_requirements: *
|
82
|
+
version_requirements: *2158627260
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: coffee-script
|
85
|
-
requirement: &
|
85
|
+
requirement: &2158626760 !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
88
|
- - ~>
|
@@ -90,10 +90,10 @@ dependencies:
|
|
90
90
|
version: 2.2.0
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
|
-
version_requirements: *
|
93
|
+
version_requirements: *2158626760
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: colored
|
96
|
-
requirement: &
|
96
|
+
requirement: &2158626260 !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
@@ -101,10 +101,10 @@ dependencies:
|
|
101
101
|
version: '1.2'
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
|
-
version_requirements: *
|
104
|
+
version_requirements: *2158626260
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: rocco
|
107
|
-
requirement: &
|
107
|
+
requirement: &2158625680 !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
110
110
|
- - ~>
|
@@ -112,10 +112,10 @@ dependencies:
|
|
112
112
|
version: '0.6'
|
113
113
|
type: :runtime
|
114
114
|
prerelease: false
|
115
|
-
version_requirements: *
|
115
|
+
version_requirements: *2158625680
|
116
116
|
- !ruby/object:Gem::Dependency
|
117
117
|
name: rake
|
118
|
-
requirement: &
|
118
|
+
requirement: &2158625200 !ruby/object:Gem::Requirement
|
119
119
|
none: false
|
120
120
|
requirements:
|
121
121
|
- - ~>
|
@@ -123,10 +123,10 @@ dependencies:
|
|
123
123
|
version: 0.8.7
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
|
-
version_requirements: *
|
126
|
+
version_requirements: *2158625200
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: nokogiri
|
129
|
-
requirement: &
|
129
|
+
requirement: &2158624680 !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|
132
132
|
- - ~>
|
@@ -134,10 +134,10 @@ dependencies:
|
|
134
134
|
version: 1.4.4
|
135
135
|
type: :runtime
|
136
136
|
prerelease: false
|
137
|
-
version_requirements: *
|
137
|
+
version_requirements: *2158624680
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: erubis
|
140
|
-
requirement: &
|
140
|
+
requirement: &2158624180 !ruby/object:Gem::Requirement
|
141
141
|
none: false
|
142
142
|
requirements:
|
143
143
|
- - ~>
|
@@ -145,10 +145,10 @@ dependencies:
|
|
145
145
|
version: 2.7.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
|
-
version_requirements: *
|
148
|
+
version_requirements: *2158624180
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
150
|
name: bundler
|
151
|
-
requirement: &
|
151
|
+
requirement: &2158623680 !ruby/object:Gem::Requirement
|
152
152
|
none: false
|
153
153
|
requirements:
|
154
154
|
- - ~>
|
@@ -156,10 +156,10 @@ dependencies:
|
|
156
156
|
version: 1.0.10
|
157
157
|
type: :development
|
158
158
|
prerelease: false
|
159
|
-
version_requirements: *
|
159
|
+
version_requirements: *2158623680
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
161
|
name: rspec
|
162
|
-
requirement: &
|
162
|
+
requirement: &2158623200 !ruby/object:Gem::Requirement
|
163
163
|
none: false
|
164
164
|
requirements:
|
165
165
|
- - ~>
|
@@ -167,7 +167,7 @@ dependencies:
|
|
167
167
|
version: 2.5.0
|
168
168
|
type: :development
|
169
169
|
prerelease: false
|
170
|
-
version_requirements: *
|
170
|
+
version_requirements: *2158623200
|
171
171
|
description: Titanium Project Generator
|
172
172
|
email: robert@codewranglers.org
|
173
173
|
executables:
|