nsume 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -14
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/Rakefile +6 -4
- data/lib/generators/_data/navbar.yml +1 -1
- data/lib/nsume/version.rb +1 -1
- data/nsume.gemspec +1 -1
- data/spec/nsume/version_spec.rb +5 -3
- data/spec/spec_helper.rb +1 -0
- metadata +5 -5
- data/lib/generators/vendor/autodoc/document.md.erb +0 -16
- data/lib/generators/vendor/autodoc/footer.md.erb +0 -13
- data/lib/generators/vendor/autodoc/header.md.erb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b6c526e2f7eb8d316fab299f78ab2585e78d369
|
4
|
+
data.tar.gz: 6904a3b8d01132f101dc942391b412373c7a8af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29b8dda02b3a869e5a64b42ed9568f4a8eef50b3808ac5f98c55852c658f2849c73a3b002c6f0940b75b732d5b56cdefd66f645594ff6e014de80d9fcf49b9d1
|
7
|
+
data.tar.gz: 90a01685b25a46f1bf33d86c63403f92aa31288cfbc947339f41cecda4567486e75a4927e055bb363c826ececb0fcb9af1dc126b7c148be0b1d8cbb4b55bd0f4
|
data/.gitignore
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -45,7 +45,7 @@ open http://0.0.0.0:4000
|
|
45
45
|
* [Bootstrap](http://getbootstrap.com/)
|
46
46
|
* [Bootswatch](http://bootswatch.com/)
|
47
47
|
* [Liquid](http://liquidmarkup.org/)
|
48
|
-
* [
|
48
|
+
* [CassetteRack](https://github.com/ogom/cassette-rack)
|
49
49
|
|
50
50
|
## License
|
51
51
|
|
data/Rakefile
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
require
|
1
|
+
require 'bundler/gem_tasks'
|
2
2
|
|
3
3
|
require 'rspec/core/rake_task'
|
4
|
-
RSpec::Core::RakeTask.new(:spec)
|
4
|
+
RSpec::Core::RakeTask.new(:spec) do |task|
|
5
|
+
task.rspec_opts = ['--color', '--format', 'doc']
|
6
|
+
end
|
5
7
|
|
6
|
-
task :
|
7
|
-
task :
|
8
|
+
task test: :spec
|
9
|
+
task default: :spec
|
data/lib/nsume/version.rb
CHANGED
data/nsume.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "http://nsume.org"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
-
spec.files = `git ls-files`.split(
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
data/spec/nsume/version_spec.rb
CHANGED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'nsume'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nsume
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ogom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -95,9 +95,6 @@ files:
|
|
95
95
|
- lib/generators/changelog/index.html
|
96
96
|
- lib/generators/docs/index.html
|
97
97
|
- lib/generators/index.html
|
98
|
-
- lib/generators/vendor/autodoc/document.md.erb
|
99
|
-
- lib/generators/vendor/autodoc/footer.md.erb
|
100
|
-
- lib/generators/vendor/autodoc/header.md.erb
|
101
98
|
- lib/nsume.rb
|
102
99
|
- lib/nsume/cli.rb
|
103
100
|
- lib/nsume/configure.rb
|
@@ -110,6 +107,7 @@ files:
|
|
110
107
|
- lib/templates/post.md.erb
|
111
108
|
- nsume.gemspec
|
112
109
|
- spec/nsume/version_spec.rb
|
110
|
+
- spec/spec_helper.rb
|
113
111
|
homepage: http://nsume.org
|
114
112
|
licenses:
|
115
113
|
- MIT
|
@@ -136,3 +134,5 @@ specification_version: 4
|
|
136
134
|
summary: naturally consume.
|
137
135
|
test_files:
|
138
136
|
- spec/nsume/version_spec.rb
|
137
|
+
- spec/spec_helper.rb
|
138
|
+
has_rdoc:
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<%# coding: UTF-8 -%>
|
2
|
-
## <%= title %>
|
3
|
-
<%= description %>
|
4
|
-
<%= parameters_section %>
|
5
|
-
|
6
|
-
### Request
|
7
|
-
```
|
8
|
-
<%= method %> <%= request.path %><%= request_query %><%= request_body_section %>
|
9
|
-
```
|
10
|
-
|
11
|
-
### Response
|
12
|
-
`<%= response.status %> <%= response.message %>`
|
13
|
-
|
14
|
-
```
|
15
|
-
<%= response_body_section %>
|
16
|
-
```
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<%# coding: UTF-8 -%>
|
2
|
-
|
3
|
-
# Diagram
|
4
|
-
|
5
|
-
{% assign filename = page.title | downcase | append:'.html' %}
|
6
|
-
|
7
|
-
## State
|
8
|
-
|
9
|
-
![state]({{ site.baseurl }}{{ page.url | remove: filename | replace: 'api', 'diag/state' }}<%= pathname.basename(".*").to_s.singularize + ".png" %>)
|
10
|
-
|
11
|
-
## Entity Relationship
|
12
|
-
|
13
|
-
![erd]({{ site.baseurl }}{{ page.url | remove: filename | replace: 'api', 'diag/erd' }}<%= pathname.basename(".*").to_s.singularize + ".png" %>)
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<%# coding: UTF-8 -%>
|
2
|
-
---
|
3
|
-
layout: default
|
4
|
-
title: <%= pathname.basename(".*").to_s.capitalize %>
|
5
|
-
---
|
6
|
-
|
7
|
-
| Method | Resource | Description |
|
8
|
-
|:-------:|:---------|:------------|
|
9
|
-
<% documents.each do |document| -%>
|
10
|
-
| <%= document.method %> | [<%= document.resource %>](#toc_0) | <%= document.description %> |
|
11
|
-
<% end -%>
|