serviceable 0.4.3 → 0.5

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.
Files changed (2) hide show
  1. data/lib/serviceable.rb +1 -1
  2. metadata +4 -5
@@ -85,7 +85,7 @@ module Serviceable
85
85
  # include[user][only]=first_name,last_name
86
86
  define_method("merge_options") do |options={}|
87
87
  merged_options = options || {}
88
- for key in [:only, :except, :include]
88
+ for key in [:only, :except, :include, :methods]
89
89
  opts = {key => params[key]} if params[key]
90
90
  merged_options = merged_options.merge(opts) if opts
91
91
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serviceable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 4
9
- - 3
10
- version: 0.4.3
8
+ - 5
9
+ version: "0.5"
11
10
  platform: ruby
12
11
  authors:
13
12
  - Aubrey Goodman
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2013-08-08 00:00:00 Z
17
+ date: 2013-08-26 00:00:00 Z
19
18
  dependencies: []
20
19
 
21
20
  description: Decorate your controller classes with acts_as_service :model_name, and instantly support JSON/XML CRUD interface. Override any callback method to customize your endpoint. Allow client to specify response contents using query string filter parameters.