rabl 0.9.3.pre1 → 0.9.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.
- checksums.yaml +8 -8
- data/CHANGELOG.md +1 -1
- data/README.md +7 -2
- data/lib/rabl/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MjcwOGMyNWMwNDhjYzlkN2ZkMTg3ZjRlMjgwMzdiYTliNTQwOWE3NA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
N2FjZmZkNjFhMmVhMTY4NjAxNDEyNGZmN2ZkMzUyMzJlMmYxZWViZg==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YjQ1YmM1Y2FkZGFjYmYxYzJmMGQyYmI1Y2MzZjkwNGJmMmNhMDU2NzFjYjZi
|
|
10
|
+
ZmZhYTRmZGNiZmFmOTkxMjY2OWZkZjQ2OTRhMmNkZDlmMmZiMjQ5MTMzNjdi
|
|
11
|
+
MDA4NmE4ZmNmYjA4Njk3MDcyM2QyMDI4OGJjYzdiZmRjNTNhMWY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Mjk5MGY5YmZlNTZkMjQ0YjUwNjdmZDlmYmU4NjNjNDYzNDMwODliMzQwNjQy
|
|
14
|
+
MGI2NGJlMDQ4MjhmOWIxNTRiYmEyZjgxZTM0NTE1YTcxYmNjMDQ3Y2I3OTc5
|
|
15
|
+
MmRkZWU5ODdlZGM5YTdiOTU4YzQ3NDZjODYxMmI1MDhjYzEzOGM=
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -26,6 +26,10 @@ For a breakdown of common misconceptions about RABL, please check out our guide
|
|
|
26
26
|
|
|
27
27
|
## Breaking Changes ##
|
|
28
28
|
|
|
29
|
+
* v0.9.0 (released Oct 14, 2013) changes the [default node name for certain associations](https://github.com/nesquena/rabl/issues/505)
|
|
30
|
+
especially around STI models. You might want to verify for any breakages as a result and
|
|
31
|
+
be more explicit by specifying an alias i.e `@users => :users`
|
|
32
|
+
|
|
29
33
|
* v0.8.0 (released Feb 14, 2013) removes multi_json dependency and
|
|
30
34
|
relies on Oj (or JSON) as the json parser. Simplifies code, removes a dependency
|
|
31
35
|
but you might want to remove any references to MultiJson.
|
|
@@ -142,8 +146,9 @@ Rabl.configure do |config|
|
|
|
142
146
|
end
|
|
143
147
|
```
|
|
144
148
|
|
|
145
|
-
Each option specifies behavior related to RABL's output.
|
|
146
|
-
|
|
149
|
+
Each option specifies behavior related to RABL's output.
|
|
150
|
+
|
|
151
|
+
If `include_json_root` is disabled that removes the root node for each root object in the output, and `enable_json_callbacks` enables support for 'jsonp' style callback
|
|
147
152
|
output if the incoming request has a 'callback' parameter.
|
|
148
153
|
|
|
149
154
|
If `include_child_root` is set to false then child objects in the response will not include
|
data/lib/rabl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rabl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.3
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Esquenazi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-12-
|
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -461,9 +461,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
461
461
|
version: '0'
|
|
462
462
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
463
463
|
requirements:
|
|
464
|
-
- - ! '
|
|
464
|
+
- - ! '>='
|
|
465
465
|
- !ruby/object:Gem::Version
|
|
466
|
-
version:
|
|
466
|
+
version: '0'
|
|
467
467
|
requirements: []
|
|
468
468
|
rubyforge_project: rabl
|
|
469
469
|
rubygems_version: 2.0.7
|