wadl_generator 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/wadl/generator.rb +3 -3
  2. metadata +3 -3
@@ -1,6 +1,6 @@
1
1
  module WADL
2
2
  class Generator
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  attr_reader :description, :options, :wadl
6
6
 
@@ -42,7 +42,7 @@ module WADL
42
42
  end
43
43
 
44
44
  xml.method('id' => name.pluralize.underscore, 'name' => 'GET') do
45
- if options[:agigee]
45
+ if options[:apigee]
46
46
  xml.tag!('apigee:tags') { xml.tag!('apigee:tag', name.singularize.camelcase, :primary => true) }
47
47
  xml.tag!('apigee:authentication', :required => false)
48
48
  xml.tag!('apigee:example', :url => "/#{name.pluralize.underscore}.#{config[:index_formats].keys.first}")
@@ -61,7 +61,7 @@ module WADL
61
61
  xml.param(:name => 'id', :type => 'xsd:string', :style => 'query', :required => true)
62
62
 
63
63
  xml.method('id' => name.singularize.underscore, 'name' => 'GET') do
64
- if options[:agigee]
64
+ if options[:apigee]
65
65
  xml.tag!('apigee:tags') { xml.tag!('apigee:tag', name.singularize.camelcase, :primary => true) }
66
66
  xml.tag!('apigee:authentication', :required => false)
67
67
  xml.tag!('apigee:example', :url => "/#{name.pluralize.underscore}/#{config[:example_id]}.#{config[:show_formats].keys.first}")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wadl_generator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Maurer