rest_my_case 1.11.3 → 1.11.4

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
  SHA1:
3
- metadata.gz: 78f99df8c7db0f6a62714a54db8fa0794046dd73
4
- data.tar.gz: b09354e37ab128edac2cca4db729ac105e5771bb
3
+ metadata.gz: 1f633d11371360495dfae4b50cdc8a79e0540df6
4
+ data.tar.gz: ba3f4c4077ca1e25d26298e501a0fab71384ccb3
5
5
  SHA512:
6
- metadata.gz: dabbf5ae8149ac157c3fe55f43f39d9fdf7d603cea3f91daaf735f9100aa7881a9c256aa66078359dc102bce6d5d325754d5b2ef4007ac966c0223ed9397256a
7
- data.tar.gz: e7aedaf4f69365b3b0c35535cb1136373764b83f9d447f20e52467a8426b8c2e9de130f20ad99bdf53c47a76c2fab32305ce298983a2e9798dad1cf56678a422
6
+ metadata.gz: b86dc58287e72ac1728910197c7b97022d5778caa73b188113e4156e1def90d63cf0e82942e3e19ce85353bdc4a5d7cb8e9d2106e7ef1b0ee4a5f0659bf3ea08
7
+ data.tar.gz: c85409908e15e15010ea5f9afc6e33ec4ffe2907eec71b80374f954c87854462007c1df4b8681a66b33fd2ecb2cda1e230ab5f3c4ebd9f2b3bc803b178799a55
@@ -8,7 +8,9 @@ module RestMyCase
8
8
 
9
9
  alias_method :attributes, :marshal_dump
10
10
 
11
- include ActiveModel::Serialization if defined?(ActiveModel)
11
+ if defined?(ActiveModel) && defined?(ActiveModel::Serialization)
12
+ include ActiveModel::Serialization
13
+ end
12
14
 
13
15
  def self.error_class
14
16
  Errors::Base
@@ -1,5 +1,5 @@
1
1
  module RestMyCase
2
2
 
3
- VERSION = '1.11.3'
3
+ VERSION = '1.11.4'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_my_case
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.3
4
+ version: 1.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - goncalvesjoao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.4.5
199
+ rubygems_version: 2.5.1
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: Quick and light "The Clean Architecture" use case implementation.