straptible 0.2.0 → 0.2.1

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: 053811f519e96e48afe831df2e2eed2b5c97c9fc
4
- data.tar.gz: cebb8bb2f63792be341048cb08e516f8187b1981
3
+ metadata.gz: d0516cdac20691f9a552fda4cfe78906bee0e426
4
+ data.tar.gz: 0d8bfac9ecec6d0313c0bdd7f397af0765669b6c
5
5
  SHA512:
6
- metadata.gz: 95d98f7fece344d58f2cce33ca6a5c090b01a6bd409cb33d04570690352339ffbf0cd49035a56320ff2a41fd38da1ba1ee65c25c29a90e93601e71409ad99193
7
- data.tar.gz: a3dcf99420ddccb65ead42bf5214a8c77b875004aaf277dab14c53674cd44ed84b08bc4761ce828cdec23187b45d26bc337d3c5711924dc72f4cd639f5c85156
6
+ metadata.gz: c701d19b4afb422c810d8cb380a56a90ce065ef4246aec64e1d22fd23d9c1feb1ceb1b232f28f7099c7f1620b5ac07893dd4da881efcd3994a25a5ea865dbb73
7
+ data.tar.gz: 3e6292dca21bbd316b401b3a9b2e5bea8768ebdda0e32f665b50e2812ff00588587431b2d7bd08eb3e9710ab88d198a6128256046cf5235f1c9b1605285cb6ac
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ![](lib/straptible/rails/templates/public.api/icon-72-cropped.png) Straptible
1
+ # ![](lib/straptible/rails/templates/public.api/icon-60px.png) Straptible
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/straptible.png)](https://rubygems.org/gems/straptible)
4
4
  [![Build Status](https://secure.travis-ci.org/aptible/straptible.png?branch=master)](http://travis-ci.org/aptible/straptible)
@@ -1,4 +1,4 @@
1
- # ![](https://raw.github.com/aptible/straptible/master/lib/straptible/rails/templates/public.api/icon-72-cropped.png) <%= config[:constant_name] %>
1
+ # ![](https://raw.github.com/aptible/straptible/master/lib/straptible/rails/templates/public.api/icon-60px.png) <%= config[:constant_name] %>
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/<%= config[:name] %>.png)](https://rubygems.org/gems/<%= config[:name] %>)
4
4
  [![Build Status](https://travis-ci.org/aptible/<%= config[:name] %>.png?branch=master)](https://travis-ci.org/aptible/<%= config[:name] %>)
@@ -10,7 +10,7 @@ TODO: Add description.
10
10
 
11
11
  Add the following line to your application's Gemfile.
12
12
 
13
- gem <%= config[:name] %>
13
+ gem '<%= config[:name] %>'
14
14
 
15
15
  And then run `bundle install`.
16
16
 
@@ -1,4 +1,4 @@
1
- # ![](public/icon-72-cropped.png) <%= app_const_base %>
1
+ # ![](public/icon-60px.png) <%= app_const_base %>
2
2
 
3
3
  TODO: Add description for this API.
4
4
 
@@ -18,14 +18,14 @@ The following command will run Ruby style guide checking, unit tests, and integr
18
18
 
19
19
  ## API Blueprint
20
20
 
21
- We use [API Blueprint](http://apiblueprint.org/) for API documentation. To compose your blueprint, edit `blueprint.md` according to to the API Blueprint [format](https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md). [This tutorial](http://apiary.io/blueprint) might be a good starting point.
21
+ We use [API Blueprint](http://apiblueprint.org/) for API documentation. To compose your blueprint, edit `apiary.apib` according to to the API Blueprint [format](https://github.com/apiaryio/api-blueprint/blob/master/API%20Blueprint%20Specification.md). [This tutorial](http://apiary.io/blueprint) might be a good starting point.
22
22
 
23
23
  To validate the API implementation against its blueprint, first fire up a Rails server, then invoke Dredd:
24
24
 
25
25
  bundle exec rails server -p 3000 -d
26
- dredd blueprint.md http://localhost:3000
26
+ dredd apiary.apib http://localhost:3000
27
27
 
28
- To preview the documentation, use Aglio: `aglio -i blueprint.md -p 4000 -s`. Then visit [localhost:4000](http://localhost:4000/).
28
+ To preview the documentation, use Aglio: `aglio -i apiary.apib -p 4000 -s`. Then visit [localhost:4000](http://localhost:4000/).
29
29
 
30
30
  ## Copyright
31
31
 
@@ -1,3 +1,3 @@
1
1
  module Straptible
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -33,7 +33,7 @@ describe 'straptible api' do
33
33
  it 'includes an appropriate README.md' do
34
34
  readme = File.join(@tmpdir, 'foobar', 'README.md')
35
35
  File.exist?(readme).should be_true
36
- File.read(readme).should match /\#.*public\/icon-72-cropped.png.*Foobar/
36
+ File.read(readme).should match /\#.*public\/icon-60px.png.*Foobar/
37
37
  end
38
38
 
39
39
  it 'does not include HTML error pages' do
@@ -21,7 +21,7 @@ describe 'straptible gem' do
21
21
  it 'includes an appropriate README.md' do
22
22
  readme = File.join(@tmpdir, 'foobar', 'README.md')
23
23
  File.exist?(readme).should be_true
24
- File.read(readme).should match /\#.*icon-72-cropped.png.*Foobar/
24
+ File.read(readme).should match /\#.*icon-60px.png.*Foobar/
25
25
  end
26
26
  end
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: straptible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-12 00:00:00.000000000 Z
11
+ date: 2013-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -143,8 +143,7 @@ files:
143
143
  - lib/straptible/rails/templates/gitignore
144
144
  - lib/straptible/rails/templates/package.json
145
145
  - lib/straptible/rails/templates/public.api/favicon.ico
146
- - lib/straptible/rails/templates/public.api/icon-72-cropped.png
147
- - lib/straptible/rails/templates/public.api/icon-72.png
146
+ - lib/straptible/rails/templates/public.api/icon-60px.png
148
147
  - lib/straptible/rails/templates/public.api/robots.txt
149
148
  - lib/straptible/rails/templates/spec/spec_helper.rb
150
149
  - lib/straptible/rails/templates/travis.yml.api