apiaryio 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/apiary/cli.rb CHANGED
@@ -8,7 +8,7 @@ module Apiary
8
8
  class CLI < Thor
9
9
 
10
10
  desc 'fetch', 'Fetch API Description Document from API_NAME.apiary.io'
11
- method_option :api_name, :type => :string, :required => true, :default => ''
11
+ method_option :api_name, :type => :string, :required => true
12
12
  method_option :api_host, :type => :string, :banner => 'HOST', :desc => 'Specify apiary host'
13
13
  method_option :output, :type => :string, :banner => 'FILE', :desc => 'Write API Description Document into specified file'
14
14
 
@@ -35,7 +35,7 @@ module Apiary
35
35
  method_option :message, :type => :string, :banner => 'COMMIT_MESSAGE', :desc => 'Publish with custom commit message'
36
36
  method_option :path, :type => :string, :desc => 'Specify path to API Description Document. When given a directory, it will look for apiary.apib or swagger.yaml file'
37
37
  method_option :api_host, :type => :string, :banner => 'HOST', :desc => 'Specify apiary host'
38
- method_option :api_name, :type => :string, :required => true, :default => ''
38
+ method_option :api_name, :type => :string, :required => true
39
39
 
40
40
  def publish
41
41
  cmd = Apiary::Command::Publish.new options
@@ -1,3 +1,3 @@
1
1
  module Apiary
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiaryio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: