rabl 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.6.1
4
+
5
+ * Upgrade dependency to multi_json 1.1.0 (Thanks @geronimo)
6
+
3
7
  ## 0.6.0
4
8
 
5
9
  * Change engine to only instantiate one builder when rendering a collection
data/README.md CHANGED
@@ -418,7 +418,7 @@ end
418
418
 
419
419
  Using partials and inheritance can significantly reduce code duplication in your templates.
420
420
 
421
- ## Template Scope ##
421
+ ### Template Scope ###
422
422
 
423
423
  In RABL, you have access to everything you need to build an API response. Each RABL template has full access to the controllers
424
424
  instance variables as well as all view helpers and routing urls.
@@ -455,6 +455,11 @@ end
455
455
  This will display the quiz object with nested questions and answers as you would expect with a quiz node, and embedded questions and answers.
456
456
  Note that RABL can be nested arbitrarily deep within child nodes to allow for these representations to be defined.
457
457
 
458
+ ## Resources ##
459
+
460
+ There are many resources available relating to RABL including the [RABL Wiki](https://github.com/nesquena/rabl/wiki),
461
+ and many tutorials and guides detailed below.
462
+
458
463
  ### Advanced Usage ###
459
464
 
460
465
  Links to resources for advanced usage:
@@ -480,13 +485,26 @@ Tutorials can always be helpful when first getting started:
480
485
  * http://blog.dcxn.com/2011/06/22/rails-json-templates-through-rabl
481
486
  * http://teohm.github.com/blog/2011/05/31/using-rabl-in-rails-json-web-api
482
487
 
483
- Let me know if there's any other useful resources.
488
+ Let me know if there's any other useful resources not listed here.
489
+
490
+ ### Related Libraries ###
491
+
492
+ There are several libraries that either complement or extend the functionality of RABL:
493
+
494
+ * [grape-rabl](https://github.com/LTe/grape-rabl) - Allows rabl templates to be used with [grape](https://github.com/intridea/grape)
495
+ * [gon](https://github.com/gazay/gon) - Exposes your Rails variables in JS with RABL support integrated.
496
+
497
+ Let me know if there's any other related libraries not listed here.
484
498
 
485
499
  ### Troubleshooting ###
486
500
 
487
501
  * Redundant calls for a collection: https://github.com/nesquena/rabl/issues/142#issuecomment-2969107
488
502
  * Testing RABL Views: https://github.com/nesquena/rabl/issues/130#issuecomment-4179285
489
503
 
504
+ ### Examples ###
505
+
506
+ See the [examples](https://github.com/nesquena/rabl/tree/master/examples) directory.
507
+
490
508
  ## Issues ##
491
509
 
492
510
  Check out the [Issues](https://github.com/nesquena/rabl/issues) tab for a full list:
@@ -494,7 +512,7 @@ Check out the [Issues](https://github.com/nesquena/rabl/issues) tab for a full l
494
512
  * Better Tilt template support (precompiling templates)
495
513
  * Benchmarks and performance optimizations
496
514
 
497
- ## Continuous Integration
515
+ ## Continuous Integration ##
498
516
 
499
517
  [![Continuous Integration status](https://secure.travis-ci.org/nesquena/rabl.png)](http://travis-ci.org/nesquena/rabl)
500
518
 
@@ -536,10 +554,6 @@ There are a few excellent libraries that helped inspire RABL and they are listed
536
554
 
537
555
  Thanks again for all of these great projects.
538
556
 
539
- ## Examples
540
-
541
- See the [examples](https://github.com/nesquena/rabl/tree/master/examples) directory.
542
-
543
- ## Copyright
557
+ ## Copyright ##
544
558
 
545
559
  Copyright © 2011-2012 Nathan Esquenazi. See [MIT-LICENSE](https://github.com/nesquena/rabl/blob/master/MIT-LICENSE) for details.
data/lib/rabl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rabl
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
data/rabl.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency 'multi_json', '~> 1.0.3'
22
+ s.add_dependency 'multi_json', '~> 1.1.0'
23
23
  s.add_dependency 'activesupport', '>= 2.3.14'
24
24
 
25
25
  s.add_development_dependency 'riot', '~> 0.12.3'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rabl
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.0
5
+ version: 0.6.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan Esquenazi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-02-27 00:00:00 Z
13
+ date: 2012-03-09 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 1.0.3
23
+ version: 1.1.0
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
26
  - !ruby/object:Gem::Dependency