tint 0.0.6 → 0.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bf5b7492db85d5811d4cef5eacf1ea485d0ff23
4
- data.tar.gz: a209dcc5a5154cef5ad48ef614b2305cec5e3771
3
+ metadata.gz: 29684a690930c1330bb8dc2d9d5096ad94e5786a
4
+ data.tar.gz: dbaba01b03d22ec36258a28cededf0b33faa7cc6
5
5
  SHA512:
6
- metadata.gz: 1e48ba414b74198f2fe478e9650a3b081fed327f161fc117b19dab7267d41eb66e47c9eb1dfb982e923361bcf8051ee2813d64f2308a5736532284234ab6a236
7
- data.tar.gz: b60ef0723a9142b51576006e1e9801df62e06f6e000a3f2a31dbccb100d2e5b311fc97394ad9f1cab7aae41a9b37b86f66796e597a0d2f5f562712bacfcc4656
6
+ metadata.gz: e0cf56623f356d61714a0c44d5786284184bf7e46b312ae12a4f3a9401e93ab604e8acef05d0a83015283eaf5b7ae447316b20d118baebacccde20167142524b
7
+ data.tar.gz: 352a5dac921171694689f62a4774342c117e3d8cc16a97bc96e7f194fd41f712b70b6a1a8a6dc3200b7ed65a3458ebada1536ae1f820acb5f5742fc25f32c293
@@ -121,7 +121,7 @@ module Tint
121
121
  end
122
122
  end
123
123
 
124
- super(object, options)
124
+ super
125
125
  end
126
126
 
127
127
  def parent_eager_loads_include_own?(context = {})
@@ -75,7 +75,8 @@ module Tint
75
75
 
76
76
  unless value.nil?
77
77
  json_value = value.respond_to?(:as_json) ? value.as_json : value
78
- memo[strategy.transform(key)] = json_value.kind_of?(String) ? remove_js_unsafe_chars(json_value) : value
78
+
79
+ memo[strategy.transform(key)] = json_value.kind_of?(String) ? remove_js_unsafe_chars(json_value) : json_value
79
80
  end
80
81
 
81
82
  memo
data/lib/tint/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tint
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleck Greenham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2019-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: draper
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  version: '0'
153
153
  requirements: []
154
154
  rubyforge_project:
155
- rubygems_version: 2.2.2
155
+ rubygems_version: 2.5.2.1
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: Declarative object decorators for JSON APIs