spectacle 0.1.2 → 0.1.3
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/config/routes.rb +1 -1
- data/lib/spectacle.rb +1 -1
- data/lib/spectacle/config.rb +40 -59
- data/lib/spectacle/dsl.rb +104 -300
- data/lib/spectacle/version.rb +1 -1
- data/lib/tasks/spectacle.rake +9 -6
- data/spec/fixtures/tommy.json +267 -267
- data/spectacle.gemspec +4 -3
- metadata +20 -7
data/spectacle.gemspec
CHANGED
@@ -7,9 +7,9 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "spectacle"
|
8
8
|
spec.version = Spectacle::VERSION
|
9
9
|
spec.authors = ["Kam Low"]
|
10
|
-
spec.email = ["
|
11
|
-
spec.description = %q{Generates beautiful static
|
12
|
-
spec.summary = %q{Generates beautiful static
|
10
|
+
spec.email = ["hello@sourcey.com"]
|
11
|
+
spec.description = %q{Generates beautiful static HTML docs from a OpenAPI/Swagger 2.0 specification}
|
12
|
+
spec.summary = %q{Generates beautiful static HTML docs for you Rails API from a OpenAPI/Swagger 2.0 specification}
|
13
13
|
spec.homepage = "https://sourcey.com/spectacle"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -27,4 +27,5 @@ Gem::Specification.new do |spec|
|
|
27
27
|
|
28
28
|
spec.add_runtime_dependency "rails", ">= 3"
|
29
29
|
spec.add_runtime_dependency "activesupport", ">= 3"
|
30
|
+
spec.add_runtime_dependency "compass", ">= 1.0.3"
|
30
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectacle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kam Low
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,10 +80,23 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3'
|
83
|
-
|
84
|
-
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: compass
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.3
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.3
|
97
|
+
description: Generates beautiful static HTML docs from a OpenAPI/Swagger 2.0 specification
|
85
98
|
email:
|
86
|
-
-
|
99
|
+
- hello@sourcey.com
|
87
100
|
executables: []
|
88
101
|
extensions: []
|
89
102
|
extra_rdoc_files: []
|
@@ -129,8 +142,8 @@ rubyforge_project:
|
|
129
142
|
rubygems_version: 2.4.5
|
130
143
|
signing_key:
|
131
144
|
specification_version: 4
|
132
|
-
summary: Generates beautiful static
|
133
|
-
|
145
|
+
summary: Generates beautiful static HTML docs for you Rails API from a OpenAPI/Swagger
|
146
|
+
2.0 specification
|
134
147
|
test_files:
|
135
148
|
- spec/fixtures/tommy.json
|
136
149
|
- spec/lib/spectacle/dsl_spec.rb
|