api_client 0.5.1 → 0.5.2

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: 0e2014cdd7bf63e26ed16cee931446d9291fff29
4
- data.tar.gz: c558b5f618e206a097dad7c16452ae4b4694d873
3
+ metadata.gz: dfe39a32ee0c3b57e6b5c2155a100fdbdb63f61b
4
+ data.tar.gz: 292919f33b87cc0e7994c6d58f31496ff179d8b3
5
5
  SHA512:
6
- metadata.gz: 8c9d4cdbfcd4aedc3e344440007813042dd11939d35aad0e09805b191b23cced2c8b49443987dd8eb446dbf2b74e6c224ec16e37cf4c9683ee83f17d0728c0fb
7
- data.tar.gz: 17af9c48a1354418b02e239b5ae1a589e7e40558f84ad7ad148da95c5c83c3d207b9c92c5ca8bde1aed843f03e80c5bb60bfa1d4f3af9d5cba0ddaff8ea30850
6
+ metadata.gz: 8aae61eda65f0504ddc137bdf4feb6146eafea25a91ce1eac4cec4c2496c8eecaef1e05006cc0117d740f1b7b2016b00c32dce6b498744c92f99ec9212340798
7
+ data.tar.gz: 1c13ec9d84f4879e9f8a648a64db320dfa083c1f10e6a21c632033dccc5536a82c0de5dd34964d9cde944aa13323dd83178c93e5339289cc2651cf7ef23bda54
@@ -18,7 +18,7 @@ module ApiClient
18
18
  subclass.namespace small_name
19
19
  subclass.prefix self.prefix
20
20
  subclass.always do
21
- name = subclass.name.split('::').last.downcase
21
+ name = small_name
22
22
  pre_fix = prefix
23
23
  path ["", prefix, "#{name}s"].compact.join('/')
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module ApiClient
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Bunsch