deviantart 0.3.6 → 0.3.7

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: 1d5bf6c9d3b9303a4e87358ce8e83eac5d39b34a
4
- data.tar.gz: 0623fbebfaf2ceef4f4b3a12750536e627666cc1
3
+ metadata.gz: 6527a476740d134aae1b713d2d91a73f5c758817
4
+ data.tar.gz: 15abac9edd76a73dc865909f316a4ac76152de3d
5
5
  SHA512:
6
- metadata.gz: f3e3eff87cf0d4c5548be79b9d178cb29f4f3b22b38ae5c79ded8600bff59a78d086761970c2c8163e3d57c90422d3f19b33d4b30bb7455019931c5bdf85381e
7
- data.tar.gz: 27c930fae90724d9e7b23a026b50ec5a7eddf5dc5dff6fdd4baccb38c356c6619b8fb6a846bb88f53a5240e736b02984d50594bbc602e6ad040c560c6f795181
6
+ metadata.gz: 9e3efa9b96448fca3bd47b8567181b7008fd2fdea69e8f9778898acd3a3efea5b361966a9602a5acffc242c02441702d49a063f1794b4698401c2a7ceb3f9f1c
7
+ data.tar.gz: e051cf41abb3a6cfd8ccb98524be05ec03df20a74ff0906dfbe2e00f71a35469727355ff31da27747dd4e37795eadb85b8e3d26b721afb4005d9772d172b0f38
@@ -8,5 +8,16 @@ module DeviantArt
8
8
  super(json)
9
9
  @status_code = status_code
10
10
  end
11
+
12
+ def inspect
13
+ messages = []
14
+ messages << self.class.name
15
+ messages << "status_code: #{@status_code}"
16
+ messages << "error_code: #{@error_code}" if @error_code
17
+ messages << "error: #{@error}" if @error
18
+ messages << "error_description: #{@error_description}" if @error_description
19
+ messages << "error_details: #{@error_details}" if @error_details
20
+ messages.join("\n")
21
+ end
11
22
  end
12
23
  end
@@ -1,3 +1,3 @@
1
1
  module DeviantArt
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deviantart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Ass
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-29 00:00:00.000000000 Z
11
+ date: 2017-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler