sculptor 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +5 -13
  2. data/.editorconfig +10 -0
  3. data/Gemfile +0 -1
  4. data/Guardfile +5 -0
  5. data/Rakefile +1 -0
  6. data/bin/sculptor +14 -0
  7. data/features/create.feature +36 -0
  8. data/features/step_definitions/custom.rb +3 -0
  9. data/features/support/setup.rb +5 -0
  10. data/lib/sculptor/cli/create.rb +54 -0
  11. data/lib/sculptor/cli/init.rb +73 -0
  12. data/lib/sculptor/cli/server.rb +5 -0
  13. data/lib/sculptor/cli.rb +52 -0
  14. data/lib/sculptor/extensions/data_loaders.rb +53 -0
  15. data/lib/sculptor/extensions/model.rb +54 -0
  16. data/lib/sculptor/extensions/resource_helpers.rb +61 -0
  17. data/lib/sculptor/extensions.rb +8 -0
  18. data/lib/sculptor/load_paths.rb +53 -0
  19. data/lib/sculptor/method_missing.rb +6 -0
  20. data/lib/sculptor/templates/glyptotheque/.bowerrc +3 -0
  21. data/lib/sculptor/templates/glyptotheque/.editorconfig +10 -0
  22. data/lib/sculptor/templates/glyptotheque/.gitignore +1 -0
  23. data/lib/sculptor/templates/glyptotheque/Gemfile.tt +22 -0
  24. data/lib/sculptor/templates/glyptotheque/bower.json +11 -0
  25. data/lib/sculptor/templates/glyptotheque/config.tt +126 -0
  26. data/lib/sculptor/templates/glyptotheque/data/.gitkeep +0 -0
  27. data/lib/sculptor/templates/glyptotheque/source/assets/img/.gitkeep +0 -0
  28. data/lib/sculptor/templates/glyptotheque/source/assets/js/app.js +5 -0
  29. data/lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/controllers.js +1 -0
  30. data/lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/directives.js +29 -0
  31. data/lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque.js +3 -0
  32. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_$variables.scss +2 -0
  33. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_base.scss +14 -0
  34. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_model.scss +145 -0
  35. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_nav.scss +104 -0
  36. data/lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque.scss +6 -0
  37. data/lib/sculptor/templates/glyptotheque/source/assets/styles/main.scss +14 -0
  38. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/borland.css +46 -0
  39. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/colorful.css +61 -0
  40. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/github.css +61 -0
  41. data/lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/trac.css +59 -0
  42. data/lib/sculptor/templates/glyptotheque/source/index.html.slim +3 -0
  43. data/lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim +8 -0
  44. data/lib/sculptor/templates/glyptotheque/source/layouts/layout.slim +18 -0
  45. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model-index.slim +11 -0
  46. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model-source.slim +5 -0
  47. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model.slim +23 -0
  48. data/lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_nav.slim +14 -0
  49. data/lib/sculptor/templates/glyptotheque.rb +34 -0
  50. data/lib/sculptor/templates/model/data.tt +4 -0
  51. data/lib/sculptor/templates/model/index-template.tt +5 -0
  52. data/lib/sculptor/templates/model/styles.tt +12 -0
  53. data/lib/sculptor/templates/model/template.tt +34 -0
  54. data/lib/sculptor/templates.rb +1 -0
  55. data/lib/sculptor/version.rb +1 -1
  56. data/lib/sculptor.rb +6 -5
  57. data/sculptor.gemspec +13 -1
  58. metadata +240 -12
@@ -0,0 +1,59 @@
1
+ .codehilite .hll { background-color: #ffffcc }
2
+ .codehilite .c { color: #999988; font-style: italic } /* Comment */
3
+ .codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .codehilite .k { font-weight: bold } /* Keyword */
5
+ .codehilite .o { font-weight: bold } /* Operator */
6
+ .codehilite .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .codehilite .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
8
+ .codehilite .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .codehilite .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .codehilite .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .codehilite .ge { font-style: italic } /* Generic.Emph */
12
+ .codehilite .gr { color: #aa0000 } /* Generic.Error */
13
+ .codehilite .gh { color: #999999 } /* Generic.Heading */
14
+ .codehilite .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .codehilite .go { color: #888888 } /* Generic.Output */
16
+ .codehilite .gp { color: #555555 } /* Generic.Prompt */
17
+ .codehilite .gs { font-weight: bold } /* Generic.Strong */
18
+ .codehilite .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .codehilite .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .codehilite .kc { font-weight: bold } /* Keyword.Constant */
21
+ .codehilite .kd { font-weight: bold } /* Keyword.Declaration */
22
+ .codehilite .kn { font-weight: bold } /* Keyword.Namespace */
23
+ .codehilite .kp { font-weight: bold } /* Keyword.Pseudo */
24
+ .codehilite .kr { font-weight: bold } /* Keyword.Reserved */
25
+ .codehilite .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26
+ .codehilite .m { color: #009999 } /* Literal.Number */
27
+ .codehilite .s { color: #bb8844 } /* Literal.String */
28
+ .codehilite .na { color: #008080 } /* Name.Attribute */
29
+ .codehilite .nb { color: #999999 } /* Name.Builtin */
30
+ .codehilite .nc { color: #445588; font-weight: bold } /* Name.Class */
31
+ .codehilite .no { color: #008080 } /* Name.Constant */
32
+ .codehilite .ni { color: #800080 } /* Name.Entity */
33
+ .codehilite .ne { color: #990000; font-weight: bold } /* Name.Exception */
34
+ .codehilite .nf { color: #990000; font-weight: bold } /* Name.Function */
35
+ .codehilite .nn { color: #555555 } /* Name.Namespace */
36
+ .codehilite .nt { color: #000080 } /* Name.Tag */
37
+ .codehilite .nv { color: #008080 } /* Name.Variable */
38
+ .codehilite .ow { font-weight: bold } /* Operator.Word */
39
+ .codehilite .w { color: #bbbbbb } /* Text.Whitespace */
40
+ .codehilite .mf { color: #009999 } /* Literal.Number.Float */
41
+ .codehilite .mh { color: #009999 } /* Literal.Number.Hex */
42
+ .codehilite .mi { color: #009999 } /* Literal.Number.Integer */
43
+ .codehilite .mo { color: #009999 } /* Literal.Number.Oct */
44
+ .codehilite .sb { color: #bb8844 } /* Literal.String.Backtick */
45
+ .codehilite .sc { color: #bb8844 } /* Literal.String.Char */
46
+ .codehilite .sd { color: #bb8844 } /* Literal.String.Doc */
47
+ .codehilite .s2 { color: #bb8844 } /* Literal.String.Double */
48
+ .codehilite .se { color: #bb8844 } /* Literal.String.Escape */
49
+ .codehilite .sh { color: #bb8844 } /* Literal.String.Heredoc */
50
+ .codehilite .si { color: #bb8844 } /* Literal.String.Interpol */
51
+ .codehilite .sx { color: #bb8844 } /* Literal.String.Other */
52
+ .codehilite .sr { color: #808000 } /* Literal.String.Regex */
53
+ .codehilite .s1 { color: #bb8844 } /* Literal.String.Single */
54
+ .codehilite .ss { color: #bb8844 } /* Literal.String.Symbol */
55
+ .codehilite .bp { color: #999999 } /* Name.Builtin.Pseudo */
56
+ .codehilite .vc { color: #008080 } /* Name.Variable.Class */
57
+ .codehilite .vg { color: #008080 } /* Name.Variable.Global */
58
+ .codehilite .vi { color: #008080 } /* Name.Variable.Instance */
59
+ .codehilite .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,3 @@
1
+ - if subpages_for('/').empty?
2
+ h1 Go ahead, create some models
3
+ p: code sculptor create hello
@@ -0,0 +1,8 @@
1
+ - content_for :page_title, 'Glyptotheque'
2
+ - content_for :ng_app, 'glyptotheque'
3
+ - content_for :styles, stylesheet_link_tag('glyptotheque')
4
+
5
+ = wrap_layout :layout do
6
+ = partial 'partials/glyptotheque/nav'
7
+ main.glyptotheque
8
+ = yield
@@ -0,0 +1,18 @@
1
+ doctype html
2
+ html ng-app=(yield_content(:ng_app))
3
+ head
4
+ meta charset='utf-8'
5
+ title = current_page.data.title || yield_content(:page_title) || resource_file(current_page)
6
+ meta name='viewport' content='width=device-width'
7
+ = stylesheet_link_tag 'main'
8
+ = yield_content :styles
9
+ = include_stylesheets(current_page.data.stylesheets) if current_page.data.stylesheets
10
+ = include_stylesheet(current_page.data.stylesheet) if current_page.data.stylesheet
11
+
12
+ body class="#{yield_content(:body_class)}"
13
+ = yield
14
+
15
+ = yield_content :javascripts
16
+ = include_javascripts current_page.data.javascripts if current_page.data.javascripts
17
+ = javascript_include_tag 'app'
18
+ = yield_content :post_body
@@ -0,0 +1,11 @@
1
+ - subpages_for(dir, exclude_indexes: true).each do |r|
2
+
3
+ - if r.data.stylesheet
4
+ - content_for :styles, include_stylesheet(r.data.stylesheet)
5
+ - elsif r.data.stylesheets
6
+ - content_for :styles, include_stylesheets(r.data.stylesheets)
7
+
8
+ - if r.data.javascripts
9
+ - content_for :javascripts, include_javascripts(r.data.javascripts)
10
+
11
+ = partial r.url, locals: { title: r.data.title, description: r.data.description, url: r.url }
@@ -0,0 +1,5 @@
1
+ section.glypto-model-source ng-class="{'__expanded': expanded}"
2
+ header
3
+ button._toggle(ng-class="{'__toggled': expanded}" ng-click="expanded = !expanded") #{source_type} source
4
+ ._container
5
+ = code(source_type) { source_code }
@@ -0,0 +1,23 @@
1
+ article.glypto-model
2
+ - if locals[:standalone]
3
+ section.glypto-model-stage.m-standalone
4
+ = html
5
+ - else
6
+ - if locals[:title] || locals[:description]
7
+ header
8
+ - if locals[:title]
9
+ h3._title
10
+ - if locals[:url]
11
+ = link_to title, url
12
+ - else
13
+ = title
14
+ - if locals[:description]
15
+ p._description = description
16
+
17
+ - url = locals[:url] ? locals[:url] : current_page.url
18
+ ._standalone = link_to 'Standalone', url.sub('.html', '-full.html'), target: '_blank'
19
+
20
+ section.glypto-model-stage
21
+ figure = html
22
+
23
+ = model_source(source_type) { source_code }
@@ -0,0 +1,14 @@
1
+ - section ||= '/'
2
+ - subpages = subpages_for(section)
3
+
4
+ - unless subpages.empty?
5
+ nav.glypto-nav
6
+ button.nav-toggle ng-click="toggle()"
7
+ = link_to 'Glyptotheque', '/', class: '_logo'
8
+ ul
9
+ - subpages.each do |r|
10
+ li(class="#{'s-selected' if r == current_page} #{'_index' if r.directory_index?}")
11
+ - if r.directory_index?
12
+ = link_to (r.data.title || resource_dir(r)), r.url
13
+ - else
14
+ = link_to (r.data.title || resource_file(r)), r.url
@@ -0,0 +1,34 @@
1
+ # Sculptor Glyptotheque template
2
+ class Middleman::Templates::Glyptotheque < Middleman::Templates::Base
3
+ class_option :css_dir, default: 'assets/styles'
4
+ class_option :js_dir, default: 'assets/js'
5
+ class_option :images_dir, default: 'assets/img'
6
+
7
+ # Template files are relative to this file
8
+ # @return [String]
9
+ def self.source_root
10
+ File.dirname(__FILE__)
11
+ end
12
+
13
+ def self.gemfile_template
14
+ 'glyptotheque/Gemfile.tt'
15
+ end
16
+
17
+ def generate_gitignore!
18
+ end
19
+
20
+ # Output the files
21
+ # @return [void]
22
+ def build_scaffold!
23
+ template 'glyptotheque/config.tt', File.join(location, 'config.rb')
24
+ copy_file 'glyptotheque/.bowerrc', File.join(location, '.bowerrc')
25
+ copy_file 'glyptotheque/.gitignore', File.join(location, '.gitignore')
26
+ copy_file 'glyptotheque/.editorconfig', File.join(location, '.editorconfig')
27
+ copy_file 'glyptotheque/bower.json', File.join(location, 'bower.json')
28
+ directory 'glyptotheque/source', File.join(location, 'source')
29
+ directory 'glyptotheque/data', File.join(location, 'data')
30
+ end
31
+ end
32
+
33
+ # Register the template
34
+ Middleman::Templates.register(:glyptotheque, Middleman::Templates::Glyptotheque)
@@ -0,0 +1,4 @@
1
+ hello: World
2
+ foo:
3
+ - baz
4
+ - bar
@@ -0,0 +1,5 @@
1
+ ---
2
+ title: <%= @dir %>
3
+ ---
4
+
5
+ = partial 'partials/glyptotheque/model-index', locals: { dir: '/<%= @dir %>' }
@@ -0,0 +1,12 @@
1
+ @import 'bourbon';
2
+
3
+ table {
4
+ border-bottom: 1px solid #bbb;
5
+
6
+ th,
7
+ td {
8
+ text-align: left;
9
+ padding: .5rem;
10
+ border-top: 1px solid #bbb;
11
+ }
12
+ }
@@ -0,0 +1,34 @@
1
+ ---
2
+ <%- unless @title.empty? -%>
3
+ title: >
4
+ <%= @title %>
5
+ <%- end -%>
6
+ <%- unless @description.empty? -%>
7
+ description: >
8
+ <%= @description %>
9
+ <%- end -%>
10
+ <%- unless @stylesheet.empty? -%>
11
+ stylesheet: <%= @stylesheet %>
12
+ <%- end -%>
13
+ ---
14
+
15
+ - title ||= current_page.data.title
16
+ - description ||= current_page.data.description
17
+
18
+ <%- if @has_data -%>
19
+ - data = load_data('<%= @model_name %>.yaml')
20
+ <%- end -%>
21
+
22
+ = model title: title,
23
+ description: description,
24
+ standalone: locals[:standalone],
25
+ url: locals[:url] do
26
+ <%- if @has_data %>
27
+ table
28
+ - data.keys.each do |k|
29
+ tr
30
+ th = k
31
+ td = data[k]
32
+ <%- else -%>
33
+ p Component HTML code here
34
+ <%- end -%>
@@ -0,0 +1 @@
1
+ require 'sculptor/templates/glyptotheque'
@@ -1,3 +1,3 @@
1
1
  module Sculptor
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/sculptor.rb CHANGED
@@ -1,5 +1,6 @@
1
- require "sculptor/version"
2
-
3
- module Sculptor
4
- # Your code goes here...
5
- end
1
+ require 'pry'
2
+ require 'middleman-core'
3
+ require 'sculptor/version'
4
+ require 'sculptor/method_missing'
5
+ require 'sculptor/extensions'
6
+ require 'sculptor/cli'
data/sculptor.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["mail@tyom.net"]
11
11
  spec.summary = "Tool to create style guides and prototype web apps"
12
12
  spec.description = "Styleguide generator, prototype and test tool powered by Middleman"
13
- spec.homepage = ""
13
+ spec.homepage = "http://github.com/tyom/sculptor"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -20,4 +20,16 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "guard"
24
+ spec.add_development_dependency "cucumber"
25
+ spec.add_development_dependency "aruba"
26
+ spec.add_development_dependency "rspec", "~> 2.14"
27
+ spec.add_development_dependency "fivemat", "1.2.1"
28
+ spec.add_development_dependency "guard-rspec"
29
+ spec.add_development_dependency "guard-cucumber"
30
+ spec.add_development_dependency "pry-plus"
31
+
32
+ spec.add_dependency "middleman-core", [">= 3.3", "< 4.0"]
33
+ spec.add_dependency "thor", [">= 0.15.2", "< 2.0"]
34
+ spec.add_dependency "nokogiri", [">= 1.6", "< 2.0"]
23
35
  end
metadata CHANGED
@@ -1,59 +1,283 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sculptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyom Semonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-21 00:00:00.000000000 Z
11
+ date: 2014-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: guard
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: cucumber
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: aruba
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.14'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.14'
97
+ - !ruby/object:Gem::Dependency
98
+ name: fivemat
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 1.2.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 1.2.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-cucumber
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: pry-plus
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: middleman-core
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '3.3'
160
+ - - "<"
161
+ - !ruby/object:Gem::Version
162
+ version: '4.0'
163
+ type: :runtime
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '3.3'
170
+ - - "<"
171
+ - !ruby/object:Gem::Version
172
+ version: '4.0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: thor
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 0.15.2
180
+ - - "<"
181
+ - !ruby/object:Gem::Version
182
+ version: '2.0'
183
+ type: :runtime
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: 0.15.2
190
+ - - "<"
191
+ - !ruby/object:Gem::Version
192
+ version: '2.0'
193
+ - !ruby/object:Gem::Dependency
194
+ name: nokogiri
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '1.6'
200
+ - - "<"
201
+ - !ruby/object:Gem::Version
202
+ version: '2.0'
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '1.6'
210
+ - - "<"
211
+ - !ruby/object:Gem::Version
212
+ version: '2.0'
41
213
  description: Styleguide generator, prototype and test tool powered by Middleman
42
214
  email:
43
215
  - mail@tyom.net
44
- executables: []
216
+ executables:
217
+ - sculptor
45
218
  extensions: []
46
219
  extra_rdoc_files: []
47
220
  files:
48
- - .gitignore
221
+ - ".editorconfig"
222
+ - ".gitignore"
49
223
  - Gemfile
224
+ - Guardfile
50
225
  - LICENSE.txt
51
226
  - README.md
52
227
  - Rakefile
228
+ - bin/sculptor
229
+ - features/create.feature
230
+ - features/step_definitions/custom.rb
231
+ - features/support/setup.rb
53
232
  - lib/sculptor.rb
233
+ - lib/sculptor/cli.rb
234
+ - lib/sculptor/cli/create.rb
235
+ - lib/sculptor/cli/init.rb
236
+ - lib/sculptor/cli/server.rb
237
+ - lib/sculptor/extensions.rb
238
+ - lib/sculptor/extensions/data_loaders.rb
239
+ - lib/sculptor/extensions/model.rb
240
+ - lib/sculptor/extensions/resource_helpers.rb
241
+ - lib/sculptor/load_paths.rb
242
+ - lib/sculptor/method_missing.rb
243
+ - lib/sculptor/templates.rb
244
+ - lib/sculptor/templates/glyptotheque.rb
245
+ - lib/sculptor/templates/glyptotheque/.bowerrc
246
+ - lib/sculptor/templates/glyptotheque/.editorconfig
247
+ - lib/sculptor/templates/glyptotheque/.gitignore
248
+ - lib/sculptor/templates/glyptotheque/Gemfile.tt
249
+ - lib/sculptor/templates/glyptotheque/bower.json
250
+ - lib/sculptor/templates/glyptotheque/config.tt
251
+ - lib/sculptor/templates/glyptotheque/data/.gitkeep
252
+ - lib/sculptor/templates/glyptotheque/source/assets/img/.gitkeep
253
+ - lib/sculptor/templates/glyptotheque/source/assets/js/app.js
254
+ - lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque.js
255
+ - lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/controllers.js
256
+ - lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/directives.js
257
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque.scss
258
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_$variables.scss
259
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_base.scss
260
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_model.scss
261
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/glyptotheque/_nav.scss
262
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/main.scss
263
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/borland.css
264
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/colorful.css
265
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/github.css
266
+ - lib/sculptor/templates/glyptotheque/source/assets/styles/pygments/trac.css
267
+ - lib/sculptor/templates/glyptotheque/source/index.html.slim
268
+ - lib/sculptor/templates/glyptotheque/source/layouts/glyptotheque.slim
269
+ - lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
270
+ - lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model-index.slim
271
+ - lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model-source.slim
272
+ - lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_model.slim
273
+ - lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_nav.slim
274
+ - lib/sculptor/templates/model/data.tt
275
+ - lib/sculptor/templates/model/index-template.tt
276
+ - lib/sculptor/templates/model/styles.tt
277
+ - lib/sculptor/templates/model/template.tt
54
278
  - lib/sculptor/version.rb
55
279
  - sculptor.gemspec
56
- homepage: ''
280
+ homepage: http://github.com/tyom/sculptor
57
281
  licenses:
58
282
  - MIT
59
283
  metadata: {}
@@ -63,12 +287,12 @@ require_paths:
63
287
  - lib
64
288
  required_ruby_version: !ruby/object:Gem::Requirement
65
289
  requirements:
66
- - - ! '>='
290
+ - - ">="
67
291
  - !ruby/object:Gem::Version
68
292
  version: '0'
69
293
  required_rubygems_version: !ruby/object:Gem::Requirement
70
294
  requirements:
71
- - - ! '>='
295
+ - - ">="
72
296
  - !ruby/object:Gem::Version
73
297
  version: '0'
74
298
  requirements: []
@@ -77,4 +301,8 @@ rubygems_version: 2.2.2
77
301
  signing_key:
78
302
  specification_version: 4
79
303
  summary: Tool to create style guides and prototype web apps
80
- test_files: []
304
+ test_files:
305
+ - features/create.feature
306
+ - features/step_definitions/custom.rb
307
+ - features/support/setup.rb
308
+ has_rdoc: