coolstrap-generator 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/coolstrap-generator.gemspec
CHANGED
@@ -33,7 +33,6 @@ Gem::Specification.new do |s|
|
|
33
33
|
s.add_runtime_dependency(%q<compass>, ["~> 0.7"])
|
34
34
|
s.add_runtime_dependency(%q<session>, ["~> 3.1"])
|
35
35
|
s.add_runtime_dependency(%q<middleman>, ["~> 2.0"])
|
36
|
-
s.add_runtime_dependency(%q<actionpack> )
|
37
36
|
|
38
37
|
# s.add_development_dependency(%q<bundler>, ["~> 1.0.14"])
|
39
38
|
s.add_development_dependency(%q<bundler>, ["~> 1.1.pre.10"])
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require "middleman"
|
2
|
-
require 'action_view'
|
3
2
|
|
4
3
|
module Middleman::Features::Helpers
|
5
4
|
|
@@ -152,40 +151,5 @@ module Middleman::Features::Helpers
|
|
152
151
|
partial("views/toolbars/#{tabbar}")
|
153
152
|
end
|
154
153
|
|
155
|
-
# dont use action view helpers, middleman already use padrino helpers :)
|
156
|
-
# https://github.com/middleman/middleman/blob/master/middleman-more/lib/middleman-more/core_extensions/default_helpers.rb
|
157
|
-
=begin
|
158
|
-
include ActionView::Helpers::DateHelper
|
159
|
-
include ActionView::Helpers::TagHelper
|
160
|
-
#include ActionView::Helpers::NumberHelper
|
161
|
-
include ActionView::Helpers::UrlHelper
|
162
|
-
|
163
|
-
module ActionView::Helpers::UrlHelper
|
164
|
-
# Returns the URL for the set of +options+ provided. See the valid options in link:classes/ActionController/Base.html#M000021
|
165
|
-
def url_for(options = {}, *parameters_for_method_reference)
|
166
|
-
if Hash === options then options = { :only_path => true }.merge(options) end
|
167
|
-
puts options
|
168
|
-
puts *parameters_for_method_reference
|
169
|
-
end
|
170
|
-
end
|
171
|
-
|
172
|
-
def time_ago_in_words(num)
|
173
|
-
#puts ActionView::Helpers::DateHelper.instance_methods
|
174
|
-
#ActionView::Helpers::DateHelper.send( "distance_of_time_in_words", Time.now)
|
175
|
-
end
|
176
|
-
=end
|
177
|
-
|
178
|
-
=begin
|
179
|
-
def link_to(*args, &block)
|
180
|
-
if block_given?
|
181
|
-
options = args.first || {}
|
182
|
-
html_options = args.second
|
183
|
-
link_to(capture(&block), options, html_options)
|
184
|
-
else
|
185
|
-
name = args[0]
|
186
|
-
options = args[1] || {}
|
187
|
-
html_options = args[2]
|
188
|
-
=end
|
189
|
-
|
190
154
|
end
|
191
155
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coolstrap-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: coffee-script
|
16
|
-
requirement: &
|
16
|
+
requirement: &2151751920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2151751920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: colored
|
27
|
-
requirement: &
|
27
|
+
requirement: &2151751220 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.2'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2151751220
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &2151750500 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.9.2
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2151750500
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: nokogiri
|
49
|
-
requirement: &
|
49
|
+
requirement: &2151749820 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.4.4
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2151749820
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: erubis
|
60
|
-
requirement: &
|
60
|
+
requirement: &2151749280 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 2.7.0
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2151749280
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rocco
|
71
|
-
requirement: &
|
71
|
+
requirement: &2151748700 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0.7'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2151748700
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: thor
|
82
|
-
requirement: &
|
82
|
+
requirement: &2151748140 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 0.14.6
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2151748140
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: compass
|
93
|
-
requirement: &
|
93
|
+
requirement: &2151763960 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0.7'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2151763960
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: session
|
104
|
-
requirement: &
|
104
|
+
requirement: &2151763360 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '3.1'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2151763360
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: middleman
|
115
|
-
requirement: &
|
115
|
+
requirement: &2151762840 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,21 +120,10 @@ dependencies:
|
|
120
120
|
version: '2.0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
124
|
-
- !ruby/object:Gem::Dependency
|
125
|
-
name: actionpack
|
126
|
-
requirement: &70104167607740 !ruby/object:Gem::Requirement
|
127
|
-
none: false
|
128
|
-
requirements:
|
129
|
-
- - ! '>='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: *70104167607740
|
123
|
+
version_requirements: *2151762840
|
135
124
|
- !ruby/object:Gem::Dependency
|
136
125
|
name: bundler
|
137
|
-
requirement: &
|
126
|
+
requirement: &2151762340 !ruby/object:Gem::Requirement
|
138
127
|
none: false
|
139
128
|
requirements:
|
140
129
|
- - ~>
|
@@ -142,10 +131,10 @@ dependencies:
|
|
142
131
|
version: 1.1.pre.10
|
143
132
|
type: :development
|
144
133
|
prerelease: false
|
145
|
-
version_requirements: *
|
134
|
+
version_requirements: *2151762340
|
146
135
|
- !ruby/object:Gem::Dependency
|
147
136
|
name: rspec
|
148
|
-
requirement: &
|
137
|
+
requirement: &2151761740 !ruby/object:Gem::Requirement
|
149
138
|
none: false
|
150
139
|
requirements:
|
151
140
|
- - ~>
|
@@ -153,7 +142,7 @@ dependencies:
|
|
153
142
|
version: 2.6.0
|
154
143
|
type: :development
|
155
144
|
prerelease: false
|
156
|
-
version_requirements: *
|
145
|
+
version_requirements: *2151761740
|
157
146
|
description: App Generator for coolstrap mobile framework
|
158
147
|
email:
|
159
148
|
- miguelmichelson@gmail.com
|