gearhead 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8da15acd51e6492411698015103ce3dc8f35e47f9c209b65624aa5d74d876141
4
- data.tar.gz: 1f13b739558ced09c7b145c0e00a40557a07437b1e058ccc76074889cb242d2c
3
+ metadata.gz: afb6a1e6b19a280a9d989f0ce075b8388efe9ddf6a33625fdd7fec0fcf8d06e0
4
+ data.tar.gz: 9b3eb8f0bef7c65e4c4753a34112832948510138ee6cb10fbcb62a7fc4135f1d
5
5
  SHA512:
6
- metadata.gz: b4257c5b8dbf26a9c5b306f07ba1ca20f37fa3c6bc56ff75424067a67aaa98a1473ee6f37c28bb5908d8c73849cbe6d988d6bc82da9d3a0cd60a75001f869899
7
- data.tar.gz: 15167236c5ecb3bf004650d12ace55a98548f678471cfd371688377357cdd72c656d431b37c6cde9221031e167133125e92226190aef4b52eb9e964f31ab2aa5
6
+ metadata.gz: ff6f8c1df2067283d63f3056cbc51dfe7d5793474e3861e1c2d043f00ec44d01f1c6736bb65a990cc8b159fbc3caee0b1d9fdeda8b190271dbc3257fa6c551e9
7
+ data.tar.gz: ff94d8200b2589893b7f7122f196438a54211dc77dc8c40319c172ed3d7f67b9edc37e9c4651d6a0f9081cc72da0338b72dcb31da3608cf58271c1474fe69424
data/README.md CHANGED
@@ -40,7 +40,7 @@ Gearhead.routes(self)
40
40
 
41
41
  You can change most of these on the Gear-level, but we have opinions.
42
42
 
43
- ```ruby
43
+ ```ruby
44
44
  Gearhead.setup do |config|
45
45
  # == Routing
46
46
  #
@@ -1,6 +1,6 @@
1
1
  module Gearhead
2
2
  module Serializers
3
- module ActiveModelSerializers
3
+ module FastJsonapi
4
4
  class CollectionSerializer
5
5
  def self.for(records, serializer, options = {})
6
6
  serializer.new(records, options)
@@ -1,3 +1,3 @@
1
1
  module Gearhead
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.0'
3
3
  end
@@ -1,4 +1,4 @@
1
- Gearhead.configure do |config|
1
+ Gearhead.setup do |config|
2
2
  # == Routing
3
3
  #
4
4
  # The endpoint in which to mount gearhead on.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gearhead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh