Thor refactor
Remove command.rb and simplify all running
Add dependency at rspec 3.1 and aruba
Add cucumber with aruba for testing scenarios. Fixed rspec 3 some differences after upgrade from version 2
Preview feature
Publish feature
Update rake file to run integration test via Feature: Fetch apiary.apib from API_NAME.apiary.io

  # This is integration testing you have to set APIARY_API_KEY
  Scenario: Fetch apiary.apib from API_NAME.apiary.io                # features/fetch.feature:4
    When I run `apiary fetch --api-name apiaryclienttest`            # aruba-0.6.1/lib/aruba/cucumber.rb:93
    Then the output should contain the content of file "apiary.apib" # features/step_definitions/file_content_step.rb:1

Feature: Show API documentation in specified browser

  # This is integration testing you have to set APIARY_API_KEY
  Scenario: Write generated HTML into specified file                  # features/preview.feature:4
    When I run `apiary preview --path apiary.apib --output=test.html` # aruba-0.6.1/lib/aruba/cucumber.rb:93
    Then a file named "test.html" should exist                        # aruba-0.6.1/lib/aruba/cucumber.rb:307

Feature: Publish apiary.apib on docs.API_NAME.apiary.io

  # This is integration testing you have to set APIARY_API_KEY
  Scenario: Publish apiary.apib on docs.API_NAME.apiary.io                         # features/publish.feature:4
    When I run `apiary publish --path=apiary.apib --api-name 1111apiaryclienttest` # aruba-0.6.1/lib/aruba/cucumber.rb:93
    Then the exit status should be 1                                               # aruba-0.6.1/lib/aruba/cucumber.rb:197

Feature: Version of Apiary client

  Scenario: Print the semantic version of Apiary client                                                                        # features/version.feature:3
    When I run `apiary version`                                                                                                # aruba-0.6.1/lib/aruba/cucumber.rb:93
    Then the output should match /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/ # aruba-0.6.1/lib/aruba/cucumber.rb:180
    And the exit status should be 0                                                                                            # aruba-0.6.1/lib/aruba/cucumber.rb:197

4 scenarios (4 passed)
9 steps (9 passed)
0m3.871s
Update fixtures
Fix handling files
Fix indentation
Remove debug part
Add circleci config
Fix fixtures, skip unrelevant test
Remove ununsed test
Merge pull request #47 from apiaryio/abtris/refactor-thor

Refactor thor