molinillo 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/molinillo/gem_metadata.rb +1 -1
- data/lib/molinillo/resolution.rb +13 -10
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63ad00d58586b91b92f5960997bc8654c20fc5b2
|
|
4
|
+
data.tar.gz: b9db062ba89b4a8981e94307882b1ee41c799cfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 94bfb948e6ed3ac1be08b8a0cd51a26863f00fcb3793a8d21279a5ac741c3569bf7caa1bc6ff978fc933c7b8c8d27a8e5192f9b6c662546f51bf086dc1ba67f0
|
|
7
|
+
data.tar.gz: 4cb1385a6b9d1bad57fb7df365cb84cd6bf880fc8156e762695997c0e847c69b6c3b36c9b97f87845d495d310b859ab745e46c1fdc54c71a12e6582dca4a74fc
|
data/lib/molinillo/resolution.rb
CHANGED
|
@@ -73,6 +73,19 @@ module Molinillo
|
|
|
73
73
|
end_resolution
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
# @return [Integer] the number of resolver iterations in between calls to
|
|
77
|
+
# {#resolver_ui}'s {UI#indicate_progress} method
|
|
78
|
+
attr_accessor :iteration_rate
|
|
79
|
+
private :iteration_rate
|
|
80
|
+
|
|
81
|
+
# @return [Time] the time at which resolution began
|
|
82
|
+
attr_accessor :started_at
|
|
83
|
+
private :started_at
|
|
84
|
+
|
|
85
|
+
# @return [Array<ResolutionState>] the stack of states for the resolution
|
|
86
|
+
attr_accessor :states
|
|
87
|
+
private :states
|
|
88
|
+
|
|
76
89
|
private
|
|
77
90
|
|
|
78
91
|
# Sets up the resolution process
|
|
@@ -101,16 +114,6 @@ module Molinillo
|
|
|
101
114
|
require 'molinillo/state'
|
|
102
115
|
require 'molinillo/modules/specification_provider'
|
|
103
116
|
|
|
104
|
-
# @return [Integer] the number of resolver iterations in between calls to
|
|
105
|
-
# {#resolver_ui}'s {UI#indicate_progress} method
|
|
106
|
-
attr_accessor :iteration_rate
|
|
107
|
-
|
|
108
|
-
# @return [Time] the time at which resolution began
|
|
109
|
-
attr_accessor :started_at
|
|
110
|
-
|
|
111
|
-
# @return [Array<ResolutionState>] the stack of states for the resolution
|
|
112
|
-
attr_accessor :states
|
|
113
|
-
|
|
114
117
|
ResolutionState.new.members.each do |member|
|
|
115
118
|
define_method member do |*args, &block|
|
|
116
119
|
state.send(member, *args, &block)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: molinillo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel E. Giddins
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|