middleman-sculptor 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +10 -0
- data/.gitignore +9 -0
- data/Gemfile +3 -0
- data/Rakefile +2 -0
- data/bin/middleman-sculptor +7 -0
- data/bin/sculpt +7 -0
- data/lib/middleman-sculptor.rb +16 -0
- data/lib/middleman-sculptor/cli.rb +57 -0
- data/lib/middleman-sculptor/cli/init.rb +15 -0
- data/lib/middleman-sculptor/cli/version.rb +12 -0
- data/lib/middleman-sculptor/extension.rb +13 -0
- data/lib/middleman-sculptor/hash_dot_syntax.rb +6 -0
- data/lib/middleman-sculptor/helpers/model.rb +110 -0
- data/lib/middleman-sculptor/helpers/outliner.rb +44 -0
- data/lib/middleman-sculptor/helpers/resources.rb +155 -0
- data/lib/middleman-sculptor/resource_patch.rb +49 -0
- data/lib/middleman-sculptor/sprockets_patch.rb +48 -0
- data/lib/middleman-sculptor/template.rb +39 -0
- data/lib/middleman-sculptor/template/.bowerrc +3 -0
- data/lib/middleman-sculptor/template/.editorconfig +10 -0
- data/lib/middleman-sculptor/template/.gitignore +2 -0
- data/lib/middleman-sculptor/template/Gemfile.tt +11 -0
- data/lib/middleman-sculptor/template/bower.json +12 -0
- data/lib/middleman-sculptor/template/config.tt +149 -0
- data/lib/middleman-sculptor/template/data/.gitkeep +0 -0
- data/lib/middleman-sculptor/template/source/assets/images/.gitkeep +0 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/app.js +6 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/glyptotheque.js +8 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/glyptotheque/controllers.js +1 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/glyptotheque/directives.js +124 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/glyptotheque/services.js +1 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/head-js.js +1 -0
- data/lib/middleman-sculptor/template/source/assets/scripts/iframe-js.js +1 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque.scss +9 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_$variables.scss +3 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_base.scss +58 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_codehilite.scss +10 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_html-outline.scss +131 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_model-utils.scss +78 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_model.scss +48 -0
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_nav.scss +172 -0
- data/lib/middleman-sculptor/template/source/assets/styles/main.scss +18 -0
- data/lib/middleman-sculptor/template/source/assets/styles/pygments/borland.css +46 -0
- data/lib/middleman-sculptor/template/source/assets/styles/pygments/colorful.css +61 -0
- data/lib/middleman-sculptor/template/source/assets/styles/pygments/github.css +61 -0
- data/lib/middleman-sculptor/template/source/assets/styles/pygments/trac.css +59 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/_model-outline-element.slim +22 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/_model-outline.slim +3 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/_model-utils.slim +13 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/_model.slim +26 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/_nav.slim +31 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim +14 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/site-index.html.slim +5 -0
- data/lib/middleman-sculptor/template/source/glyptotheque/sitemap.json.erb +1 -0
- data/lib/middleman-sculptor/template/source/layouts/glyptotheque.slim +19 -0
- data/lib/middleman-sculptor/template/source/layouts/isolated.slim +19 -0
- data/lib/middleman-sculptor/template/source/layouts/layout.slim +18 -0
- data/lib/middleman-sculptor/version.rb +5 -0
- data/lib/middleman_extension.rb +1 -0
- data/middleman-sculptor.gemspec +29 -0
- metadata +197 -0
@@ -0,0 +1 @@
|
|
1
|
+
require 'middleman-sculptor'
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require 'middleman-sculptor/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'middleman-sculptor'
|
7
|
+
s.version = Middleman::Sculptor::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ['Tyom Semonov']
|
10
|
+
s.email = ['mail@tyom.net']
|
11
|
+
s.homepage = 'https://github.com/tyom/middleman-sculptor'
|
12
|
+
s.summary = %q{Style guide generator for Middleman}
|
13
|
+
s.description = %q{Generate style guides and static components in Middleman}
|
14
|
+
s.license = 'MIT'
|
15
|
+
|
16
|
+
s.files = `git ls-files -z`.split("\0")
|
17
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
19
|
+
|
20
|
+
s.require_paths = ['lib']
|
21
|
+
s.required_ruby_version = '>= 1.9.3'
|
22
|
+
|
23
|
+
s.add_dependency 'middleman-core', '~> 3.3'
|
24
|
+
s.add_dependency 'rest-client', '>= 1.7.3'
|
25
|
+
s.add_dependency "nokogiri", [">= 1.6", "< 2.0"]
|
26
|
+
s.add_dependency 'oj', '~> 2.10.2'
|
27
|
+
s.add_dependency 'slim', '>= 3.0'
|
28
|
+
s.add_dependency 'pry'
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: middleman-sculptor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.3'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tyom Semonov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: middleman-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rest-client
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.7.3
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.7.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.6'
|
48
|
+
- - <
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '2.0'
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '1.6'
|
58
|
+
- - <
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '2.0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: oj
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 2.10.2
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ~>
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 2.10.2
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: slim
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '3.0'
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '3.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: pry
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
description: Generate style guides and static components in Middleman
|
104
|
+
email:
|
105
|
+
- mail@tyom.net
|
106
|
+
executables:
|
107
|
+
- middleman-sculptor
|
108
|
+
- sculpt
|
109
|
+
extensions: []
|
110
|
+
extra_rdoc_files: []
|
111
|
+
files:
|
112
|
+
- .editorconfig
|
113
|
+
- .gitignore
|
114
|
+
- Gemfile
|
115
|
+
- Rakefile
|
116
|
+
- bin/middleman-sculptor
|
117
|
+
- bin/sculpt
|
118
|
+
- lib/middleman-sculptor.rb
|
119
|
+
- lib/middleman-sculptor/cli.rb
|
120
|
+
- lib/middleman-sculptor/cli/init.rb
|
121
|
+
- lib/middleman-sculptor/cli/version.rb
|
122
|
+
- lib/middleman-sculptor/extension.rb
|
123
|
+
- lib/middleman-sculptor/hash_dot_syntax.rb
|
124
|
+
- lib/middleman-sculptor/helpers/model.rb
|
125
|
+
- lib/middleman-sculptor/helpers/outliner.rb
|
126
|
+
- lib/middleman-sculptor/helpers/resources.rb
|
127
|
+
- lib/middleman-sculptor/resource_patch.rb
|
128
|
+
- lib/middleman-sculptor/sprockets_patch.rb
|
129
|
+
- lib/middleman-sculptor/template.rb
|
130
|
+
- lib/middleman-sculptor/template/.bowerrc
|
131
|
+
- lib/middleman-sculptor/template/.editorconfig
|
132
|
+
- lib/middleman-sculptor/template/.gitignore
|
133
|
+
- lib/middleman-sculptor/template/Gemfile.tt
|
134
|
+
- lib/middleman-sculptor/template/bower.json
|
135
|
+
- lib/middleman-sculptor/template/config.tt
|
136
|
+
- lib/middleman-sculptor/template/data/.gitkeep
|
137
|
+
- lib/middleman-sculptor/template/source/assets/images/.gitkeep
|
138
|
+
- lib/middleman-sculptor/template/source/assets/scripts/app.js
|
139
|
+
- lib/middleman-sculptor/template/source/assets/scripts/glyptotheque.js
|
140
|
+
- lib/middleman-sculptor/template/source/assets/scripts/glyptotheque/controllers.js
|
141
|
+
- lib/middleman-sculptor/template/source/assets/scripts/glyptotheque/directives.js
|
142
|
+
- lib/middleman-sculptor/template/source/assets/scripts/glyptotheque/services.js
|
143
|
+
- lib/middleman-sculptor/template/source/assets/scripts/head-js.js
|
144
|
+
- lib/middleman-sculptor/template/source/assets/scripts/iframe-js.js
|
145
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque.scss
|
146
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_$variables.scss
|
147
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_base.scss
|
148
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_codehilite.scss
|
149
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_html-outline.scss
|
150
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_model-utils.scss
|
151
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_model.scss
|
152
|
+
- lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_nav.scss
|
153
|
+
- lib/middleman-sculptor/template/source/assets/styles/main.scss
|
154
|
+
- lib/middleman-sculptor/template/source/assets/styles/pygments/borland.css
|
155
|
+
- lib/middleman-sculptor/template/source/assets/styles/pygments/colorful.css
|
156
|
+
- lib/middleman-sculptor/template/source/assets/styles/pygments/github.css
|
157
|
+
- lib/middleman-sculptor/template/source/assets/styles/pygments/trac.css
|
158
|
+
- lib/middleman-sculptor/template/source/glyptotheque/_model-outline-element.slim
|
159
|
+
- lib/middleman-sculptor/template/source/glyptotheque/_model-outline.slim
|
160
|
+
- lib/middleman-sculptor/template/source/glyptotheque/_model-utils.slim
|
161
|
+
- lib/middleman-sculptor/template/source/glyptotheque/_model.slim
|
162
|
+
- lib/middleman-sculptor/template/source/glyptotheque/_nav.slim
|
163
|
+
- lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
|
164
|
+
- lib/middleman-sculptor/template/source/glyptotheque/site-index.html.slim
|
165
|
+
- lib/middleman-sculptor/template/source/glyptotheque/sitemap.json.erb
|
166
|
+
- lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
|
167
|
+
- lib/middleman-sculptor/template/source/layouts/isolated.slim
|
168
|
+
- lib/middleman-sculptor/template/source/layouts/layout.slim
|
169
|
+
- lib/middleman-sculptor/version.rb
|
170
|
+
- lib/middleman_extension.rb
|
171
|
+
- middleman-sculptor.gemspec
|
172
|
+
homepage: https://github.com/tyom/middleman-sculptor
|
173
|
+
licenses:
|
174
|
+
- MIT
|
175
|
+
metadata: {}
|
176
|
+
post_install_message:
|
177
|
+
rdoc_options: []
|
178
|
+
require_paths:
|
179
|
+
- lib
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - '>='
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: 1.9.3
|
185
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
requirements: []
|
191
|
+
rubyforge_project:
|
192
|
+
rubygems_version: 2.2.2
|
193
|
+
signing_key:
|
194
|
+
specification_version: 4
|
195
|
+
summary: Style guide generator for Middleman
|
196
|
+
test_files: []
|
197
|
+
has_rdoc:
|