pagoda 0.7.1 → 0.7.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b82fbafabb8913d4b309f98147a55e3e92429845
4
- data.tar.gz: 0af5c92fb2d6c0e2fe0e187a4732b0daf7cabc42
3
+ metadata.gz: 31f195181ab2be9dcc9cebc481e659f371241be2
4
+ data.tar.gz: 22896b6aee6dc963e3a152a2940a933d9fd1b395
5
5
  SHA512:
6
- metadata.gz: 0c98df4a9e79fea3407038412b118bd77476d0307c25a133bf4b97b868c9ae16acbc0e10a2c6c334d3632d3109eaa4d6751c9d4e03ae43f23dad9f5abdb1aa4e
7
- data.tar.gz: 2e7a3493cd6f28eeca0d7ad3d1be955e37a05562db3f3024cd1f4e1a0635cdd93712010da81ce2a3fdd83746763acfaf2f3af5e893cd930414ba8cb2199da78f
6
+ metadata.gz: c78d998d721daab24e7853fd3703e9a5721bb38868ba1fe132fa8d0c8ee5c4484a6e4a49c33147f3f1fcd143aa097a995d9bd9ecaa041519ceb2df1df51c91cd
7
+ data.tar.gz: ff3c45ed81a8f117e0e1818c20fbc19c90ee9dc1f4bf17e758cbd878edeacfc9cdd17303a479566892e9b4367485b32b3f9a77b42b981c3fce545b1193e11d52
data/bin/pagoda CHANGED
@@ -66,8 +66,8 @@ post do |global,command,options,args|
66
66
  end
67
67
 
68
68
  on_error do |exception|
69
- # if exception.class == RestClient::Unauthorized
70
- # Pagoda::Command::Base.error "Username or Password is invald"
69
+ if exception.class == RestClient::Unauthorized
70
+ Pagoda::Command::Base.error "Username or Password is invald"
71
71
  if exception.class == RestClient::ResourceNotFound
72
72
  Pagoda::Command::Base.error "It appears we cant find your 'resource', please try again later"
73
73
  elsif exception.class == RestClient::InternalServerError
@@ -1,5 +1,5 @@
1
1
  module Pagoda
2
2
  module CLI
3
- VERSION = "0.7.1"
3
+ VERSION = "0.7.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagoda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyon Hill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-31 00:00:00.000000000 Z
11
+ date: 2013-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec