ar_http_wrapper 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ shared_examples "ActiveRecordApiWrapper" do |klass,mountpoint,api_version|
3
3
  let(:mountpoint) {mountpoint}
4
4
  let(:api_version) {api_version}
5
5
  def subject_name
6
- subject.to_s.underscore
6
+ subject.to_s.underscore.gsub('/','_').pluralize
7
7
  end
8
8
  def api_version_path
9
9
  api_version ? api_version+'/' : ''
@@ -1,3 +1,3 @@
1
1
  module ArHttpWrapper
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_http_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: