vauchar_api 0.3.7 → 0.3.8

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
  SHA256:
3
- metadata.gz: 30da9c5066f24123eb1076ea4aabb6cf1d058349280d8048cce128b5c4616123
4
- data.tar.gz: 1496f5669c037d7e9810b7a4f5d10600faa64f75fe7e2c75bd4911805963e0a4
3
+ metadata.gz: 6b10f87a7eb68a8bdb73e797219190b52586cc78865b375eb8b8dfa971c9ede8
4
+ data.tar.gz: 66238525ac719adb563db434c756d90fe358f38e1205939797ac6dc88ee1e275
5
5
  SHA512:
6
- metadata.gz: 76df041b6d0ee69f76d16fb353dde09345424c36740ec3a9cd9e89abe22c4f9d9f9724cd390814a0d614d4ab6d9961e98e5c2b45578159272b3b86eddcd6665f
7
- data.tar.gz: 5e452c34b2f57f6693c9ff7160384bdff7a2bb896e3a73523d2989c80fe017a14e25897ce1afa32f632f2c08906c92907222eb1d6982948baed560bfc31c53b5
6
+ metadata.gz: 6583222e078454d93cd2dbf25bf7815b72e4ed3d0906cf5f949d8d06b416d6b0e09b863826a56a175366fc6fc9a9b4f7b4d4128554302c7d03ceaf765f39457a
7
+ data.tar.gz: c02dc4a24f944dfa18943b071fee552020915975ff64c1f66412ff833294bb55d28451613333cf511513eba4698ab33062095bb79479dcff9ea29d33f6fefbb7
@@ -1,3 +1,3 @@
1
1
  module VaucharAPI
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
data/lib/vauchar_api.rb CHANGED
@@ -1,9 +1,9 @@
1
- require "active_resource"
2
- require "active_resource/formats_ext"
3
-
4
1
  require "vauchar_api/configuration"
5
2
  require "vauchar_api/version"
6
3
 
4
+ require "active_resource"
5
+ require "active_resource/formats_ext"
6
+
7
7
  module VaucharAPI
8
8
  def self.config
9
9
  yield Configuration
@@ -12,16 +12,5 @@ end
12
12
 
13
13
  require "vauchar_api/resources"
14
14
  require "vauchar_api/connection"
15
-
16
- p "VaucharAPI::Base.respond_to?(:connection_class)"
17
- p VaucharAPI::Base.respond_to?(:connection_class)
18
-
19
- if VaucharAPI::Base.respond_to?(:connection_class)
20
- VaucharAPI::Base.connection_class = VaucharAPI::Connection
21
- else
22
- require 'active_resource/connection_ext'
23
- end
24
-
25
- t = VaucharAPI::Connection.new("https://api.vauchar.com", {})
26
- p t.methods
27
- p t.methods.grep(/delete/)
15
+ require "active_resource/connection_ext"
16
+ require "active_resource/custom_methods_ext"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vauchar_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max