bowie 0.3.5 → 0.3.6
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/bowie_songs/lyrics.yml +0 -0
- data/lib/bowie/version.rb +1 -1
- data/songs.yml +0 -0
- data/spec/actions/install_spec.rb +3 -0
- data/spec/actions/list_spec.rb +3 -0
- data/spec/actions/prune_spec.rb +3 -0
- data/spec/actions/search_spec.rb +21 -0
- data/spec/actions/uninstall_spec.rb +3 -0
- data/spec/actions/update_spec.rb +3 -0
- data/spec/bowie_spec.rb +1 -4
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b387877d00f363b8eab20d3e52125e6ca02ca6f
|
4
|
+
data.tar.gz: 0959d78bfd26634916255c5d6e2b9f9d96696416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d67f1ca31c056bd826c7356d3dbc4b4b2386d99898ef83c4ec26eb4b1c0f07318d69d70d6edfadfdb43e4b98bc8746695c6e885e8e336992d0d0105442d2cba4
|
7
|
+
data.tar.gz: 337dae55372009dcc56f1b3e5a761af224c07de154bc00361c075b90f9e0438bcbe7c138f9929316608125892b0b9fbfee3bcd2fe2dd811434313da6993d7cf4
|
File without changes
|
data/lib/bowie/version.rb
CHANGED
data/songs.yml
ADDED
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
describe "Bowie::Actions.search" do
|
2
|
+
it "search [song]" do
|
3
|
+
expect {Bowie::Actions.search('susy')}.not_to be_nil
|
4
|
+
expect {Bowie::Actions.search('susy')['susy']}.not_to be_nil
|
5
|
+
end
|
6
|
+
|
7
|
+
it "search with no arguments" do
|
8
|
+
expect {Bowie::Actions.search()}.to raise_error
|
9
|
+
end
|
10
|
+
|
11
|
+
it "search with more than 1 argument" do
|
12
|
+
expect {Bowie::Actions.search('foo', 'bar', 'baz')}.to raise_error
|
13
|
+
end
|
14
|
+
|
15
|
+
subject(:query) {Bowie::Actions.search('susy')['susy']}
|
16
|
+
it "returns expected results" do
|
17
|
+
query['name'].should eq "susy"
|
18
|
+
query['description'].should eq "A responsive grid framework for Compass"
|
19
|
+
query['url'].should eq "https://github.com/ericam/susy"
|
20
|
+
end
|
21
|
+
end
|
data/spec/bowie_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bowie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Moretti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,6 +95,7 @@ files:
|
|
95
95
|
- Rakefile
|
96
96
|
- bin/bowie
|
97
97
|
- bowie.gemspec
|
98
|
+
- bowie_songs/lyrics.yml
|
98
99
|
- lib/bowie.rb
|
99
100
|
- lib/bowie/actions.rb
|
100
101
|
- lib/bowie/actions/install.rb
|
@@ -108,6 +109,13 @@ files:
|
|
108
109
|
- lib/bowie/utils.rb
|
109
110
|
- lib/bowie/version.rb
|
110
111
|
- lib/semver/semver.rb
|
112
|
+
- songs.yml
|
113
|
+
- spec/actions/install_spec.rb
|
114
|
+
- spec/actions/list_spec.rb
|
115
|
+
- spec/actions/prune_spec.rb
|
116
|
+
- spec/actions/search_spec.rb
|
117
|
+
- spec/actions/uninstall_spec.rb
|
118
|
+
- spec/actions/update_spec.rb
|
111
119
|
- spec/bowie_spec.rb
|
112
120
|
homepage: http://axyz.github.io/bowie/
|
113
121
|
licenses:
|
@@ -134,4 +142,10 @@ signing_key:
|
|
134
142
|
specification_version: 4
|
135
143
|
summary: The White Duke rules them all
|
136
144
|
test_files:
|
145
|
+
- spec/actions/install_spec.rb
|
146
|
+
- spec/actions/list_spec.rb
|
147
|
+
- spec/actions/prune_spec.rb
|
148
|
+
- spec/actions/search_spec.rb
|
149
|
+
- spec/actions/uninstall_spec.rb
|
150
|
+
- spec/actions/update_spec.rb
|
137
151
|
- spec/bowie_spec.rb
|