shutl_auth 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ shutl_auth
@@ -1 +1 @@
1
- 1.9.3-p429
1
+ 1.9.3-p448
@@ -1,7 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
- - "1.9.3"
3
+ - 1.9.3
5
4
  - jruby-19mode # JRuby in 1.9 mode
6
5
  jdk:
7
6
  - openjdk7
@@ -1,5 +1,5 @@
1
1
  module Shutl
2
2
  module Auth
3
- VERSION = "0.9.0"
3
+ VERSION = "0.9.1"
4
4
  end
5
5
  end
@@ -33,7 +33,11 @@ module Shutl
33
33
  Errno::ECONNREFUSED,
34
34
  EOFError,
35
35
  Net::HTTPBadResponse,
36
- Errno::ETIMEDOUT
36
+ Errno::ETIMEDOUT,
37
+ Faraday::TimeoutError,
38
+ Faraday::ConnectionFailed,
39
+ Faraday::ParsingError,
40
+ Faraday::SSLError
37
41
  ]
38
42
  end
39
43
 
@@ -32,4 +32,11 @@ module Shutl
32
32
  Logger.new('/dev/null')
33
33
  end
34
34
  end
35
+ end
36
+
37
+ module Faraday
38
+ class TimeoutError ; end
39
+ class ConnectionFailed ; end
40
+ class ParsingError ; end
41
+ class SSLError ; end
35
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shutl_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-09 00:00:00.000000000 Z
12
+ date: 2014-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: retriable
@@ -148,8 +148,8 @@ extra_rdoc_files: []
148
148
  files:
149
149
  - .gitignore
150
150
  - .rspec
151
+ - .ruby-gemset
151
152
  - .ruby-version
152
- - .rvmrc
153
153
  - .travis.yml
154
154
  - Gemfile
155
155
  - LICENSE.txt
@@ -186,18 +186,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  - - ! '>='
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
- segments:
190
- - 0
191
- hash: 3338059309435403024
192
189
  required_rubygems_version: !ruby/object:Gem::Requirement
193
190
  none: false
194
191
  requirements:
195
192
  - - ! '>='
196
193
  - !ruby/object:Gem::Version
197
194
  version: '0'
198
- segments:
199
- - 0
200
- hash: 3338059309435403024
201
195
  requirements: []
202
196
  rubyforge_project:
203
197
  rubygems_version: 1.8.23
data/.rvmrc DELETED
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
- # Only full ruby name is supported here, for short names use:
8
- # echo "rvm use 1.9.3" > .rvmrc
9
- environment_id="ruby-1.9.3-p327@shutl_auth"
10
-
11
- # Uncomment the following lines if you want to verify rvm version per project
12
- # rvmrc_rvm_version="1.17.2 (stable)" # 1.10.1 seams as a safe start
13
- # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
- # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
- # return 1
16
- # }
17
-
18
- # First we attempt to load the desired environment directly from the environment
19
- # file. This is very fast and efficient compared to running through the entire
20
- # CLI and selector. If you want feedback on which environment was used then
21
- # insert the word 'use' after --create as this triggers verbose mode.
22
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
- then
25
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
- [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
27
- \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
28
- else
29
- # If the environment file has not yet been created, use the RVM CLI to select.
30
- rvm --create "$environment_id" || {
31
- echo "Failed to create RVM environment '${environment_id}'."
32
- return 1
33
- }
34
- fi
35
-
36
- # If you use bundler, this might be useful to you:
37
- # if [[ -s Gemfile ]] && {
38
- # ! builtin command -v bundle >/dev/null ||
39
- # builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
40
- # }
41
- # then
42
- # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
43
- # gem install bundler
44
- # fi
45
- # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
46
- # then
47
- # bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
48
- # fi