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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1572133ca2c3b6de0e262949d4d7ee36e09757f8
4
- data.tar.gz: 6173ee0056f10c3ffe632e4e8ee3bc98c3fd90c5
3
+ metadata.gz: 2b6c526e2f7eb8d316fab299f78ab2585e78d369
4
+ data.tar.gz: 6904a3b8d01132f101dc942391b412373c7a8af5
5
5
  SHA512:
6
- metadata.gz: 9f23510ce38b1c4762cf4812e266d4b519c2167d5443901fe5433fd75c16a587003b8b7420c82cfc0caa503cf2ab8ca85c931ddf98094048f721d0f34bb463e4
7
- data.tar.gz: e7ef758bc714a24aa8e5a1f34a6a0c1c8e20a2f9b50706d0a360fdc24861aa7c7e18f232c28bef449058d3fac5ee6fd23a26d8aaf7b982668057e6b22e9da66b
6
+ metadata.gz: 29b8dda02b3a869e5a64b42ed9568f4a8eef50b3808ac5f98c55852c658f2849c73a3b002c6f0940b75b732d5b56cdefd66f645594ff6e014de80d9fcf49b9d1
7
+ data.tar.gz: 90a01685b25a46f1bf33d86c63403f92aa31288cfbc947339f41cecda4567486e75a4927e055bb363c826ececb0fcb9af1dc126b7c148be0b1d8cbb4b55bd0f4
data/.gitignore CHANGED
@@ -1,17 +1,4 @@
1
- *.gem
2
- *.rbc
3
1
  .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
2
  pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
3
  tmp
4
+ Gemfile.lock
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 ogom
1
+ Copyright (c) 2015 ogom
2
2
 
3
3
  MIT License
4
4
 
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
- * [Autodoc](https://github.com/r7kamura/autodoc)
48
+ * [CassetteRack](https://github.com/ogom/cassette-rack)
49
49
 
50
50
  ## License
51
51
 
data/Rakefile CHANGED
@@ -1,7 +1,9 @@
1
- require "bundler/gem_tasks"
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 :test => :spec
7
- task :default => :spec
8
+ task test: :spec
9
+ task default: :spec
@@ -1,5 +1,5 @@
1
1
  - label: API
2
- path: /docs/api/v1
2
+ path: /docs/api
3
3
  dropdown: true
4
4
 
5
5
  - label: Changelog
data/lib/nsume/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nsume
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
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"]
@@ -1,6 +1,8 @@
1
- describe Nsume do
2
- describe "VERSION" do
3
- it "Nsume::VERSION" do
1
+ require 'spec_helper'
2
+
3
+ describe "Nsume::VERSION" do
4
+ describe "reference" do
5
+ it "returns #{Nsume::VERSION} version" do
4
6
  expect(Nsume::VERSION).to eq(Nsume::VERSION)
5
7
  end
6
8
  end
@@ -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.2.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: 2014-06-21 00:00:00.000000000 Z
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 -%>