keep_up 0.6.0 → 0.6.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: bdd0e57a8da8920532f77628e540e1cd7bb49487
4
- data.tar.gz: 71996aa853b7fd964acd0526e675f50d6dd16c3d
3
+ metadata.gz: e153ddef0c86caa033605b1e204c030c72089224
4
+ data.tar.gz: 86abcd90fcf89817dba010b5a1aa6c73390784d4
5
5
  SHA512:
6
- metadata.gz: 56c60b68a732b8a7c1735ba745e59ab2b9a3652affd68ab80c4e803424b13958e1f30a5305b0223e27dd165ab6c3effd7e1565270f5c62d6a2a7e2cec4486677
7
- data.tar.gz: bf9091e21a08aab213bf091d789196a3375f6aa796f461073798df6c84350f45f260715d9198719baac6a5f06c8067965f4b9ec2a8738c7b0dcd67bfe0b5e551
6
+ metadata.gz: b23d15c25865850f60e456080bbe55b0d803814ba80a1903bb9e070294d28e5651786f7c2861e9e11353809c935a55ff8bd24a77201b521c64a85a3dcad8861f
7
+ data.tar.gz: 001bec5baeafd352726f95d1caf7ef47c607e6b55873c82799826c16b474f25f232bcabe5c6756b57494351ae6652b1c41da3b41ae0dcf823c665dccf652dbe0
data/.rubocop.yml CHANGED
@@ -47,3 +47,7 @@ Style/NumericPredicate:
47
47
  # Allow explicit return with multiple return values
48
48
  Style/RedundantReturn:
49
49
  AllowMultipleReturnValues: true
50
+
51
+ # I prefer to have symbols look like symbols
52
+ Style/SymbolArray:
53
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.1 / 2017-04-19
4
+
5
+ * Update indirect dependencies in addition to direct ones
6
+
3
7
  ## 0.6.0 / 2017-02-04
4
8
 
5
9
  * Show actual resulting new version for each update
data/Rakefile CHANGED
@@ -1,10 +1,8 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
  require 'cucumber/rake/task'
4
- require 'rubocop/rake_task'
5
4
 
6
5
  RSpec::Core::RakeTask.new(:spec)
7
6
  Cucumber::Rake::Task.new(:features)
8
- RuboCop::RakeTask.new
9
7
 
10
- task default: [:spec, :features, :rubocop]
8
+ task default: [:spec, :features]
data/keep_up.gemspec CHANGED
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'keep_up/version'
@@ -28,6 +29,5 @@ Gem::Specification.new do |spec|
28
29
  spec.add_development_dependency 'rake', '~> 12.0'
29
30
  spec.add_development_dependency 'rspec', '~> 3.0'
30
31
  spec.add_development_dependency 'aruba', '~> 0.14.2'
31
- spec.add_development_dependency 'rubocop', '~> 0.47.1'
32
32
  spec.add_development_dependency 'pry'
33
33
  end
@@ -10,8 +10,8 @@ module KeepUp
10
10
  @definition_builder = definition_builder
11
11
  end
12
12
 
13
- def direct_dependencies
14
- gemspec_dependencies + gemfile_dependencies
13
+ def dependencies
14
+ gemspec_dependencies + gemfile_dependencies + transitive_dependencies
15
15
  end
16
16
 
17
17
  def apply_updated_dependency(dependency)
@@ -55,6 +55,10 @@ module KeepUp
55
55
  build_dependencies gemspec_source.gemspec.dependencies
56
56
  end
57
57
 
58
+ def transitive_dependencies
59
+ build_dependencies bundler_lockfile.specs.flat_map(&:dependencies).uniq
60
+ end
61
+
58
62
  def build_dependencies(deps)
59
63
  deps.map { |dep| build_dependency dep }.compact
60
64
  end
@@ -24,7 +24,7 @@ module KeepUp
24
24
  end
25
25
 
26
26
  def possible_updates
27
- bundle.direct_dependencies.
27
+ bundle.dependencies.
28
28
  select { |dep| filter.call dep }.
29
29
  map { |dep| repository.updated_dependency_for dep }.compact.uniq
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module KeepUp
2
- VERSION = '0.6.0'.freeze
2
+ VERSION = '0.6.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keep_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matijs van Zuijlen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-04 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.14.2
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 0.47.1
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 0.47.1
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: pry
85
71
  requirement: !ruby/object:Gem::Requirement