hal-interpretation 1.8.0 → 1.8.1

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: f58aa8729b4937c393264c78c95d632709da9466
4
- data.tar.gz: 56ba264b40ef29039d9e43b036f294686e7355ca
3
+ metadata.gz: 969e94cd36e156d8a8dacc0c6cf90489d3360e35
4
+ data.tar.gz: 26ec24e354607d6cbe2f59a0f4c2641afcb718d1
5
5
  SHA512:
6
- metadata.gz: f837c0d54a4761ad9b0cee0f62c7ab01217daefe2533dea6afac51a5f82b66bb5e9b82ce4f385a72ef00dd6efff364c7e30e02268bb6f226c6f75381c27be740
7
- data.tar.gz: 01f37e998c2e7cd8740065c0e664806b4c7710765c8ff6af89737896609dfb87297775510087aa4628ccd79dfccd281a2cb9a6581b746c85260e145b5297e39a
6
+ metadata.gz: 2f1065997cfd989a531013c6051cbe3f2cf8df53f3160c8b102aea3ceb21bb26432f27cece18b603ac171e1e1909a05427dcf532d2686d6ace4e2d1adfadd3fe
7
+ data.tar.gz: bcfd8283a0e51b661f214e937dd7633e4d85ce375e8ca48d7d39cca48ff18c22c9292fb0e6a27ea809ca8636d130b67143299e06ec776a7e6207a859e2d8a723
@@ -1,3 +1,3 @@
1
1
  module HalInterpretation
2
- VERSION = "1.8.0"
2
+ VERSION = "1.8.1"
3
3
  end
@@ -57,7 +57,7 @@ module HalInterpretation
57
57
  yield item_to_update
58
58
  item_to_update
59
59
  else
60
- item_class.new(&blk)
60
+ item_class.new.tap(&blk)
61
61
  end
62
62
  end
63
63
 
@@ -299,10 +299,6 @@ describe HalInterpretation do
299
299
  attr_accessor :name, :latitude, :up, :bday, :seq, :hair, :friend_ids,
300
300
  :archives_url_tmpl, :profile, :cohorts
301
301
 
302
- def initialize
303
- yield self
304
- end
305
-
306
302
  def latitude=(lat)
307
303
  @latitude = if !lat.nil?
308
304
  Float(lat)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hal-interpretation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-13 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hal-client