apipony 0.0.1 → 0.0.2

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: 16ec7c74c22986537ee6460f202811c66a46d91b
4
- data.tar.gz: 562ca6ed7206f38acf9ebff6ef0f902f543dc729
3
+ metadata.gz: 144a079b40fddf950847c622b79dd69ec3d6fee1
4
+ data.tar.gz: 492831cd4db9f1df18d1c8d1b0db060c803bf88a
5
5
  SHA512:
6
- metadata.gz: 2a74541337286f496381429131949798932742457c0166be5385dc62673b08e2a570f0165e1c5d3d7b38d14d4fa946a768e776f1fc027a6237f74b3d3d225223
7
- data.tar.gz: 390e6edd30e0f94a030cf39ab604d2c538f13c4925eda4b3b5a16fe726594bf39ecf5b16abf3a27aadd1eaffbf14c9b6d65c0b60215b42a41c6131ebe3404786
6
+ metadata.gz: 5e87225df5de612cd512647bb667263a37ff448d252093260e498c67e82153ea696f01a1bb00f93e186d488e63d2d10d26a6076fbfaa8774378b914e192db999
7
+ data.tar.gz: 813f3be8dbaab68413ac22e8fd8197d2e3119854561fc1705fccb760a6683e07d490201b14d7e9bbc386082467d20c035e5d41eaef3336efea73a0b2f1aeb2d0
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Apipony
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/apipony.svg)](https://badge.fury.io/rb/apipony)
4
+ [![Code Climate](https://codeclimate.com/github/droptheplot/apipony/badges/gpa.svg)](https://codeclimate.com/github/droptheplot/apipony)
5
+
3
6
  Ruby DSL to create Rails API documentation from your application.
4
7
 
5
8
  ## Getting started
@@ -4,6 +4,8 @@ class Apipony::Documentation
4
4
 
5
5
  def define(&block)
6
6
  @sections = []
7
+ @title = 'API Documentation'
8
+ @base_url = ''
7
9
 
8
10
  instance_eval(&block)
9
11
  end
@@ -1,3 +1,3 @@
1
1
  module Apipony
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  Apipony::Documentation.define do
2
2
  config do |c|
3
- c.title = 'Apipony Documentation'
3
+ c.title = 'API Documentation'
4
4
  c.base_url = '/api/v1'
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apipony
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
  - Sergey Novikov