traitify 1.8.1 → 1.8.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: 7530eaaaa500fb5b4cf332190b306002acdc01eb
4
- data.tar.gz: 3878d31690a2881194aabcee0a3fe925a021bc26
3
+ metadata.gz: 58c9b5d889ea03bdf0e6772d54ea60557a4683f5
4
+ data.tar.gz: 25820511725fc3dcf27e3118edbdc80003fcab57
5
5
  SHA512:
6
- metadata.gz: a257561597252a1a2ed5880bbdedd753ed28b76020d400cd1a7a1dbbdc348142ae85ed2f25a977726b6cdeae2ca479dac016c086851a9203a4704aa5c88cbc16
7
- data.tar.gz: a8b8c9ee517c348218c4585123105502da7873cf239ccfdda335378bbd35203ea8809f3106cdcbc2382bd26c0af5ba5a83af8d1a7c56c99188223f9317da0ca2
6
+ metadata.gz: 9038ae9d321c42c792cec46bc35007c4af394700ffa67b8c815a9dce48199e64e8a0b9a3c94ffc539039f9eff96798cc790df8073238a6e54a6470ce1967994e
7
+ data.tar.gz: 18a402a17d30443eb74a0a05c58de3fc520bd7999cc6cac7244d2f34c90556d5a3ec0e68ae498e706b544bc557fdbabb1325b141bdb4d26c994d2965386a8bb1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 1.8.2
2
+
3
+ * Bug Fixes
4
+ * Allowed errors to be handled better
5
+
1
6
  ### 1.8.1
2
7
 
3
8
  * Features
@@ -9,16 +9,10 @@ module Traitify
9
9
  end
10
10
 
11
11
  def request(method, path, options = {})
12
- begin
13
- conn(url: host).send(method) do |request|
14
- request.url [version, path].join
15
- request.body = options.to_json if options
16
- end.body
17
- rescue => e
18
- puts e.message
19
- puts e.inspect
20
- { error: e.message }
21
- end
12
+ conn(url: host).send(method) do |request|
13
+ request.url [version, path].join
14
+ request.body = options.to_json if options
15
+ end.body
22
16
  end
23
17
  end
24
18
  end
@@ -1,3 +1,3 @@
1
1
  module Traitify
2
- VERSION = "1.8.1"
2
+ VERSION = "1.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traitify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Prats
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-17 00:00:00.000000000 Z
12
+ date: 2015-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie