rails_log_book 2.1.0 → 2.2.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: 1d058f0c867c6fce846e033d8aafa907e5dd4eff98faa8e26d7c7d92781af1ba
4
- data.tar.gz: a7e97c3ca16861c470646e534b11055c8a849d27838de24f39d4ee93e6ac0412
3
+ metadata.gz: 6dd4aeafea7a8338a28acc53502390c4e754b1ee89f9de73dcedfd7819e63225
4
+ data.tar.gz: 661135f7039e5d6da50b4a92f8d3362e505ba94a2cffac7599ed759b6cdcb884
5
5
  SHA512:
6
- metadata.gz: 4181481765b293567c425908b00f9c0518bf69993ccf728016ad997c2f4dbc3434acd9ea852184bc3eadf98d90ba64996c21c20bb7da0755c517e722ce607d40
7
- data.tar.gz: ab44200dda93ed92505d3b218bd656b6877ea8e289d56608ffc99cfcd9d7338945c59bc43c552c1e71a2e32664666ec6d02aa7062176fcb38a67624d811d93ac
6
+ metadata.gz: 5839ee045701d910400217703c2a826ce37248eda39b3056ffa765e824fbba9db9307dc1e17417a116e7243ac1ea032b30116601d131cc82814bf36f067e539e
7
+ data.tar.gz: a50ff77ca42c86c0e5359c63b4f376e0c59ecdae872ebb789034613a2aa8348a9a4e362a36ed38e82a2d10f0d6767b0cae781f1a19f1aa20ad7d617c4dbbcd47
@@ -8,5 +8,10 @@ module LogBook
8
8
  attribute :record_squashing
9
9
 
10
10
  attribute :tree
11
+
12
+ def tree
13
+ return super if super
14
+ self.tree = LogBook::Tree.new
15
+ end
11
16
  end
12
17
  end
@@ -1,3 +1,3 @@
1
1
  module LogBook
2
- VERSION = '2.1.0'
2
+ VERSION = '2.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_log_book
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-17 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler