my_api_client 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: c0782c6a53e16278b1889aa712648bc6d57275074cd55f629da388548f86463d
4
- data.tar.gz: a8c2b67c92b061753b7be9537303a72819ac9df8890b7af21ffd6447923ab2d7
3
+ metadata.gz: 3f4373345f210df17764c1c488ee947a74ac8c9c71bdd9d6f19c37698cf3f0e1
4
+ data.tar.gz: 6b450535adc886337e9174e203c69325b8459e5c60283eb079fa83a86db8b354
5
5
  SHA512:
6
- metadata.gz: dd6d6080b1c7f7a88edf0660eb5d0b092435fcdf0d6b1572e5489df5bfa888928473765263e1f9d8d4ca78692d7d772039370fc7c7cda706cfcd3cb2452db7c6
7
- data.tar.gz: 44de01550470430982e982bec4627e9370d0fa08f97b6d6f83324d5b923c0c52282d6a8214ad2d38f57d64653402895f46d396ba7c11446b0b27f80bc1b4ddc4
6
+ metadata.gz: 505dea4704249d49c6dd967bd8f12aa9e166cef4ec05d3def5423a9956df974d48aa1093e32d9bfafb2b9205b94b0d017aacb82d305a858f9e3170600106c0d8
7
+ data.tar.gz: 1ae1c60bdb80521dca0a38726e911738f77c7ef7391d025f778a5ca11d3ecd1e4abaf50f4ec5853328662a8fcd8aba24812f7ae86376c3818d1db06945d89fe6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_api_client (0.1.1)
4
+ my_api_client (0.1.2)
5
5
  activesupport (>= 4.2.0)
6
6
  jsonpath
7
7
  sawyer
@@ -11,7 +11,7 @@ class <%= "#{class_name}ApiClient" %> < ::ApplicationApiClient
11
11
  end
12
12
 
13
13
  <% requests.each do |request| -%>
14
- <% action, http_method, pathname = request.separate(':') -%>
14
+ <% action, http_method, pathname = request.split(':') -%>
15
15
  # <%= "#{http_method.upcase} #{endpoint}/#{pathname}" %>
16
16
  #
17
17
  # @return [Sawyer::Resource] Description of the API response
@@ -6,7 +6,7 @@ RSpec.describe <%= "#{class_name}ApiClient" %>, <%= type_metatag(:api_client) %>
6
6
  let(:api_client) { described_class.new }
7
7
 
8
8
  <% requests.each do |request| -%>
9
- <% action, http_method, pathname = request.separate(':') -%>
9
+ <% action, http_method, pathname = request.split(':') -%>
10
10
  describe '#<%= action %>' do
11
11
  end
12
12
  <% end -%>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MyApiClient
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryz310