vauchar_api 0.3.5 → 0.3.6

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: edf618a657f2ffd45b77b5e6b168ccd54b3923f9965ea0f2d8e57ab66190a987
4
- data.tar.gz: 8b84c1c85d683d5e1caccb16452b29c7b0de648a131d55824abaaee97d3d36c1
3
+ metadata.gz: ef5344252655b2334b4981304e381132007cccf68f231f1729d8afd9ed3b7b54
4
+ data.tar.gz: 7da3bfdb2979b0b8c7fb88af067b1bc878b74823a3b9b3c8df0d2061f0c22148
5
5
  SHA512:
6
- metadata.gz: 02cbf1fbf103229628d78fb63014ae9c225f87cedbe884c7ba8c518b34f3f55e5ae06b32dd85f68f0b5e7b3691b49bb0fd705a9c53574e4330d8c85cda29f9c7
7
- data.tar.gz: 248c0c58bc4f44160be1ab029be6e0e7ab2088af50db5d5edae8000f3280192fb7262aa8755bf7beeddcd2c729eb5a2015cd8b996183cc608e264eff78fd2be9
6
+ metadata.gz: ecdc3a371237d3ec666be312e25c5b289e3a0b25a50c4e7ab206e0adbeb3ab66fd9d353939d18141803705631035be0c64d6022ec1532ec8d648fc8c71deaf99
7
+ data.tar.gz: e65ff4d1703f0f91c07a31d77e36da8dbce9b8cb8ed3a57031067094781415b06029c4b02431bb36ef29962d8267e31ac2532a3a78f7b5f011cf7d193aacf264
@@ -1,3 +1,3 @@
1
1
  module VaucharAPI
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
data/lib/vauchar_api.rb CHANGED
@@ -1,8 +1,5 @@
1
1
  require "active_resource"
2
2
  require "active_resource/formats_ext"
3
- require "active_resource/connection_ext"
4
- p "require active_resource/connection_ext"
5
- require "active_resource/custom_methods_ext"
6
3
 
7
4
  require "vauchar_api/configuration"
8
5
  require "vauchar_api/version"
@@ -17,5 +14,17 @@ end
17
14
  require "vauchar_api/resources"
18
15
  require "vauchar_api/connection"
19
16
 
17
+ require "active_resource/connection_ext"
18
+ p "require active_resource/connection_ext"
19
+
20
+ t = VaucharAPI::Connection.new("https://api.vauchar.com", {})
21
+ p t.methods
22
+ p t.methods.grep(/delete/)
23
+
24
+ require "active_resource/custom_methods_ext"
25
+
26
+ p "VaucharAPI::Base.respond_to?(:connection_class)"
27
+ p VaucharAPI::Base.respond_to?(:connection_class)
28
+
20
29
  VaucharAPI::Base.connection_class = VaucharAPI::Connection
21
30
  p "VaucharAPI::Base.connection_class = VaucharAPI::Connection"
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.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max