quick_start 0.3.1 → 0.3.2

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -21,7 +21,7 @@ module QuickStart
21
21
  next if line =~ /\s*#/
22
22
  name, path_with_options = line.split('=', 2).map! { |arg| arg.strip }
23
23
  path, comma_separated_options = path_with_options.split(',', 2).map! { |arg| arg.strip }
24
- options = {}
24
+ options = default_options.dup
25
25
  comma_separated_options.split(',').each do |option|
26
26
  options[option.to_sym] = true
27
27
  end if comma_separated_options
@@ -29,6 +29,10 @@ module QuickStart
29
29
  end
30
30
  end
31
31
 
32
+ def default_options
33
+ { :checked => true }
34
+ end
35
+
32
36
  def executables
33
37
  @executables ||= []
34
38
  end
@@ -10,13 +10,14 @@ module QuickStart
10
10
  end
11
11
 
12
12
  def checked
13
- options[:checked]
13
+ options[:checked] && ! options[:unchecked]
14
14
  end
15
15
 
16
16
  alias :checked? :checked
17
17
 
18
18
  def checked=(value)
19
19
  options[:checked] = value
20
+ options[:unchecked] = !value
20
21
  end
21
22
 
22
23
  def run
data/quick_start.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{quick_start}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micha\305\202 \305\201omnicki"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick_start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Micha\xC5\x82 \xC5\x81omnicki"