dino_utils 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6bc89d610d713b0d4f68316656af11c671d53ea
4
- data.tar.gz: 8ab15aafed134b191265f92e316bf65aee887e39
3
+ metadata.gz: 948bf4e57da73b4b9a35b1b76be4b296c9f717b5
4
+ data.tar.gz: 0f00ace91325ea71362ed54bbe2345c7f5c73ff0
5
5
  SHA512:
6
- metadata.gz: 3d0c5e04ff41d76eca51b806ed5bdeecfd82fbcc756da3ce55e4edb0e1c1d7e849467ea8468a860f38425be30a1f7951da7b626759add997603fa829849a9d54
7
- data.tar.gz: eee3495e3ab6507e8641c4f0ad4758a13df816c86f379bb9dc8276f409d815e4df01e89899f7053e2ac5a0ba9473e010a43a68fd2fa8e129eebe4f0a7bf1dfbc
6
+ metadata.gz: 443bf67a090b842cc54b3565a0715a3971e73df18aa29d85349411212687af9b47a57ce9b89d9e92ef2749950fc55fcf23a9d0ec1b84a590c782004004690ba9
7
+ data.tar.gz: 7dcab4aab73e3ca734238ea49231ae7bc0b084a844a8a58c4269222bf924555690c6d1b1ca3ff23570c9783b942c4cb681800394cce36dd8b90fc6f622cdd7ef
data/Gemfile CHANGED
@@ -6,4 +6,6 @@ gemspec
6
6
  group :development, :test do
7
7
  gem 'guard-rspec', require: false
8
8
  gem 'rspec-given'
9
+ gem 'vcr'
10
+ gem 'webmock'
9
11
  end
data/bin/safe_yaml ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'safe_yaml' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+
9
+ require 'pathname'
10
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ Pathname.new(__FILE__).realpath)
12
+
13
+ require 'rubygems'
14
+ require 'bundler/setup'
15
+
16
+ load Gem.bin_path('safe_yaml', 'safe_yaml')
@@ -1,3 +1,3 @@
1
1
  module DinoUtils
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
data/lib/tn/http.rb CHANGED
@@ -16,6 +16,7 @@ module TN
16
16
  def self.default_connection
17
17
  Faraday.new do |conn|
18
18
  conn.use TN::HTTP::WrapError
19
+ conn.use Faraday::Response::RaiseError
19
20
  yield conn if block_given?
20
21
  conn.adapter Faraday.default_adapter
21
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dino_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Van Dyk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-18 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -135,6 +135,7 @@ files:
135
135
  - bin/pry
136
136
  - bin/rake
137
137
  - bin/rspec
138
+ - bin/safe_yaml
138
139
  - bin/setup
139
140
  - bin/thor
140
141
  - dino_utils.gemspec