cobra_commander 0.5.0 → 0.5.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
  SHA256:
3
- metadata.gz: 0a05f3e1ab4ccff9ca040dcf4d694aebc28df0f50160067cf73eaea89f4bad59
4
- data.tar.gz: d0132e226b7527e72ebb84e3844116dd3a0c2ed8ecc1394d9df5f7fad5f777d8
3
+ metadata.gz: dfee6f7a8cb59dfa182b31bb4ef7b95615c76336150e6519facb0c5d2deb2eb5
4
+ data.tar.gz: 492bde3922963729f4765a1ab245467429167135fb8d431d8a3461db4d86c1b7
5
5
  SHA512:
6
- metadata.gz: 1cb90f61448f1bc69088418fc86dafbc25fce09d069507e22fc22f0a2d9a63eccf95ce3edeb13b6ee2657e19303489c2b59087944ddc07597c7d0e201c36a307
7
- data.tar.gz: '023961e1f0abe297e0d0cacc169b3da23fac68f833627d01d480f06d0822019877cd1ac78bb20bf7f951b2bbdce04a0c0ddbb7b3b444a90669f18c967a43775c'
6
+ metadata.gz: e2a87ebda5fcf0d6570714ec750cb3b9eba61d5f8afa89e5a9ab090a0e5aa2248f498048d1253a344052d6aca59f7cb69ca6be0179472ae0a2317a433f071f89
7
+ data.tar.gz: f3dcbceadec7c318d5311aee82faa2bfd30f97a27b2f245485e25139de685659a7b1d0112d0c51dca13f387676afd41cc322ddb1b3f1445dc809821208e20578
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## Version 0.5.1 - 2018-10-15
6
+
7
+ * Fix a bug with dependencies_of where it wouldn't match components further down the list of umbrella's dependencies
8
+ * Bumps Thor version from 0.19.4 to a range (< 2.0, >= 0.18.1) compatible with railties
9
+
5
10
  ## Version 0.5.0 - 2018-09-20
6
11
 
7
12
  * Renames `dependencies_of` to `dependents_of`. PR [#25](https://github.com/powerhome/cobra_commander/pull/25)
@@ -32,7 +32,7 @@ DESCRIPTION
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ["lib"]
34
34
 
35
- spec.add_dependency "thor", "~> 0.19.4"
35
+ spec.add_dependency "thor", ["< 2.0", ">= 0.18.1"]
36
36
  spec.add_dependency "ruby-graphviz", "~> 1.2.3"
37
37
 
38
38
  spec.add_development_dependency "bundler", "~> 1.13"
@@ -68,8 +68,10 @@ module CobraCommander
68
68
  def _subtree(name, tree)
69
69
  return tree if tree.name == name
70
70
  tree.dependencies.each do |component|
71
- return _subtree(name, component)
71
+ presence = _subtree(name, component)
72
+ return presence if presence
72
73
  end
74
+ nil
73
75
  end
74
76
 
75
77
  def type_of_component
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CobraCommander
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobra_commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Langfeld
@@ -9,22 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-09-20 00:00:00.000000000 Z
12
+ date: 2018-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - "<"
19
+ - !ruby/object:Gem::Version
20
+ version: '2.0'
21
+ - - ">="
19
22
  - !ruby/object:Gem::Version
20
- version: 0.19.4
23
+ version: 0.18.1
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - "<"
29
+ - !ruby/object:Gem::Version
30
+ version: '2.0'
31
+ - - ">="
26
32
  - !ruby/object:Gem::Version
27
- version: 0.19.4
33
+ version: 0.18.1
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: ruby-graphviz
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
200
  version: '0'
195
201
  requirements: []
196
202
  rubyforge_project:
197
- rubygems_version: 2.7.7
203
+ rubygems_version: 2.7.3
198
204
  signing_key:
199
205
  specification_version: 4
200
206
  summary: Tools for working with Component Based Rails Apps