ar_http_wrapper 0.0.6 → 0.0.7

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.
@@ -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: