tree_support 0.1.2 → 0.1.3

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
- SHA1:
3
- metadata.gz: 1d42846d7b222401aa8cb748f56c6cc2844cb68c
4
- data.tar.gz: 49e88e6f20cd13b54d984ea006c600dccac477a7
2
+ SHA256:
3
+ metadata.gz: 7f2ebbcf282a237241a4b1024195a4b04bfd0d37a9ef2f91f7f89bb35ee2eb6a
4
+ data.tar.gz: eef7435f64333a96a01a0f53dd400e4c12309603f6e9174d626a6caa93728165
5
5
  SHA512:
6
- metadata.gz: 48b2f24e9a380597643745b27874649fcd68537d92797ae028b9020313611761eda6ed7589a44f7b5cb5a47f88de00b91d03c1bf56d9df99bf0a3de6785a93da
7
- data.tar.gz: be086b2d96e0135aae4f0eb290b4a2c435626c0eddd686ea6ca57337451631d8b0ab474807ce18646844cb448504fbfa2762cb461571fe2989bd38afc20b386c
6
+ metadata.gz: f1dc3dee91d0c759cb63d6cd046eceb526c807375ff1db6266c1cd116ff5f88eab4b544d9b5e9c66497c9c4dcf9b3004d33678409db716caeb81f32b113f718d
7
+ data.tar.gz: 19ec998d864802413431bda4eaac88936f83bf6eadcee15b364c3b9371417190e552fe64c850821fe9a19a1d3c8407765c28c47e53e01cd56266ecd08d2190ae
@@ -35,9 +35,9 @@ module TreeSupport
35
35
  @block = block
36
36
  end
37
37
 
38
- # 木構造の可視化
38
+ # Visualization of tree structure
39
39
  #
40
- # 必要なメソッド
40
+ # Required method
41
41
  # parent.children
42
42
  # name
43
43
  #
@@ -17,7 +17,7 @@
17
17
  require "tree_support/treeable"
18
18
  require "tree_support/inspector"
19
19
  require "tree_support/node"
20
- require "tree_support/ar_tree_model" if defined?(ActiveRecord)
20
+ require "tree_support/ar_tree_model" if defined?(ActiveRecord) || defined?(Rails)
21
21
  require "tree_support/railtie" if defined?(Rails)
22
22
 
23
23
  # Do not put gviz when you do not use it to touch Object
@@ -1,3 +1,3 @@
1
1
  module TreeSupport
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tree_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - akicho8
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-09 00:00:00.000000000 Z
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  version: '0'
185
185
  requirements: []
186
186
  rubyforge_project:
187
- rubygems_version: 2.6.11
187
+ rubygems_version: 2.7.3
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: Tree structure visualization function library