tainbox 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/tainbox/instance_methods.rb +4 -4
- data/lib/tainbox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 363e986bb37cd4e76b357888de64c29575894704
|
4
|
+
data.tar.gz: cc053609b310491829cecd2e3582c24c2024e05d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37611bee35ad713e04a7db1cbed5268db0a89c10e65c3dc5384298331912905035709fbe25f8e113bf82a510e4bac3e1edf0e335ccf6c728b9a75cf0c6485dd9
|
7
|
+
data.tar.gz: 42028d9a5a83ca2d220299e832b673d5ea8af6a7c32ebdfe57134d4791cfa5a9db087b45ae3b7e7f76d72cc6faaf946ab2887b61468707fd51b78eb7b3c64b0a
|
data/CHANGELOG.md
CHANGED
@@ -39,11 +39,11 @@ module Tainbox::InstanceMethods
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
def to_hash
|
43
|
-
attributes
|
44
|
-
end
|
45
|
-
|
46
42
|
def attribute_provided?(attribute)
|
47
43
|
tainbox_provided_attributes.include?(attribute.to_sym)
|
48
44
|
end
|
45
|
+
|
46
|
+
def as_json(*args)
|
47
|
+
attributes.as_json(*args)
|
48
|
+
end
|
49
49
|
end
|
data/lib/tainbox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tainbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Gubitskiy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|