rhoconnect-rb 1.0.2 → 1.0.3

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.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
1
  ## 1.0.2
2
+ * fix users post call
3
+ ## 1.0.2
2
4
  * added underscore to string class if not rails env
3
5
 
4
6
  ## 1.0.1
@@ -11,9 +11,12 @@ module Rhoconnectrb
11
11
  if action.size == 1
12
12
  if action[0] =~ /put|delete/
13
13
  resp = Base.send(action[0],"/#{klass}/#{args[0]}",args[1])
14
- else
14
+ elsif action[0] =~ /get/
15
15
  url = args.size > 0 ? "/#{klass}/#{args[0]}" : "/#{klass}"
16
16
  resp = Base.send(action[0],url,args[1])
17
+ elsif action[0] =~ /post/
18
+ url = "/#{klass}"
19
+ resp = Base.send(action[0],url,args[0])
17
20
  end
18
21
  end
19
22
 
@@ -1,3 +1,3 @@
1
1
  module Rhoconnectrb
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhoconnect-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: -134563938500815554
100
+ hash: 215792702015605790
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  none: false
103
103
  requirements: