derelict 0.4.3.travis.121 → 0.4.3.travis.123

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjliYWQyNzJmYzJhZmFiMDIwMzZkMzcxNThkOTlkNmY5NzhlNjJhZg==
4
+ ZDE2MDUxMDczNGU4MzM0M2I4YjBlZTRiMGI0ZWEzYjk1ZjZjNmQyMQ==
5
5
  data.tar.gz: !binary |-
6
- MzY4NWQwMDViYzE4YzljNTM5ZThhNTAwNzYwNjhhZmQ0NTE4NmY5Mg==
6
+ Y2EyZGEyZTRkNzZlZmYzNzMyNGMxYjNlYTc3MmE1MTkxMDdiM2ZlZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGZmZWZjMzRmNDM3OWExYTdhYmY2NWJiOTE4OGNlNTdkZTc1MjI1MTVjNDNm
10
- MTk1YmJhMzc4Y2I0MGNhNzdhZjRhMjQ4ZjdiZDUzZjVjYTg5MDEzMzE0NGE0
11
- NDlkOGI2NWI0MjU1NzYyOTJiNWVmYzQ1Yjg4NjRlZDU0NWJkNjA=
9
+ ZDgzYTQ2OGY3NjY4Mzg2N2RmZGY3OTZmNzkzMGU5MjBiMWRmZTllMDk2MTQ1
10
+ NmMzYjc2NTI3MzE4ZDViYWYwYWI0MDA1NWIwOTVkNzQzYWZiZDQzZmQwZWZk
11
+ ZTZlYzQwNDM1YjU3YTk5MDc4NjJlNjk2ZDFhZjE3Y2VhNjc4ODc=
12
12
  data.tar.gz: !binary |-
13
- MmI1MmY1MjhjODk0MGRkZDRjMmMzMzQwOTdhYjg5MWRiODQyOGYxOGJmOTFi
14
- OTg0MzFmYzQzNTdjM2E5NGE0ZGMwY2NiOTk0NWE1NWY3YmM3NDM2MDJjY2U4
15
- MGRlYjk4MmU1ZTk2ZjM3NTUyNWU3YTM1YWZlZGEyZGY2NDIwYzM=
13
+ Zjc3ODAzYjFjMWEyMjRkMDRhZjg2ZDM3NmM2MjljOGUyNGFlY2NiNzNjMjE0
14
+ ZGE0OWMwMzM5MzZiOGY1ZDk0M2ZjOTAyNmZmNjc1OTBiM2MwMTFiYTUzZmNi
15
+ OTE4ZDJjNmEyNjgyNDUyNTM5Yzc4OTVlZDRiMGFmMGZlNTNmMjE=
@@ -18,8 +18,8 @@ module Derelict
18
18
  # 1. Box name, as listed in the output
19
19
  # 2. Name of the provider for that box
20
20
  PARSE_BOX = %r[
21
- ^(.*) # Box name starts at the start of the line
22
- \ \( # Provider is separated by a space and open-parenthesis
21
+ ^(.*?) # Box name starts at the start of the line
22
+ \ +\( # Provider is separated by spaces and open-parenthesis
23
23
  (.*) # Provider name
24
24
  \)$ # Ends with close-parenthesis and end-of-line
25
25
  ]x # Ignore whitespace to allow these comments
@@ -19,21 +19,21 @@ describe Derelict::Parser::BoxList do
19
19
  context "with valid output" do
20
20
  let(:output) {
21
21
  <<-END.gsub /^ +/, ""
22
- foo (provider_one)
23
- bar (provider_two)
22
+ foobar (provider_one)
23
+ baz (provider_two)
24
24
  END
25
25
  }
26
26
 
27
- let(:foo) { Derelict::Box.new "foo", "provider_one" }
28
- let(:bar) { Derelict::Box.new "bar", "provider_two" }
29
- it { should eq Set[foo, bar] }
27
+ let(:foobar) { Derelict::Box.new "foobar", "provider_one" }
28
+ let(:baz) { Derelict::Box.new "baz", "provider_two" }
29
+ it { should eq Set[foobar, baz] }
30
30
  end
31
31
 
32
32
  context "with invalid output" do
33
33
  let(:output) {
34
34
  <<-END.gsub /^ +/, ""
35
- foo (provider_one) lolwut
36
- bar with no brackets
35
+ foobar (provider_one) lolwut
36
+ baz with no brackets
37
37
  END
38
38
  }
39
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: derelict
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3.travis.121
4
+ version: 0.4.3.travis.123
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Feehan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-17 00:00:00.000000000 Z
11
+ date: 2013-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: log4r