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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 224982fe384b908cd2131b6b28149fe0920f69f7
4
- data.tar.gz: c3657561d124e9e04bafeba6a6922731e4f7be01
3
+ metadata.gz: 3b387877d00f363b8eab20d3e52125e6ca02ca6f
4
+ data.tar.gz: 0959d78bfd26634916255c5d6e2b9f9d96696416
5
5
  SHA512:
6
- metadata.gz: a5f045cc6b4817615131f49af77bef6953723baf38e4ef36ac8d04fab7993dd414bf03bca9969ae11851c9fa1f5a2b855541fdb7a6e3b8586b11997708a32181
7
- data.tar.gz: 705a4a20f1cee5246b47627ec4c108e39d292168c3ddeab96ee97d76619e1a80a3a87408cb2323bd3feb1ebea77c31ba949deb4afcbcbbf820f7d8d6b768fff3
6
+ metadata.gz: d67f1ca31c056bd826c7356d3dbc4b4b2386d99898ef83c4ec26eb4b1c0f07318d69d70d6edfadfdb43e4b98bc8746695c6e885e8e336992d0d0105442d2cba4
7
+ data.tar.gz: 337dae55372009dcc56f1b3e5a761af224c07de154bc00361c075b90f9e0438bcbe7c138f9929316608125892b0b9fbfee3bcd2fe2dd811434313da6993d7cf4
File without changes
@@ -1,3 +1,3 @@
1
1
  module Bowie
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
File without changes
@@ -0,0 +1,3 @@
1
+ describe "Bowie::Actions.install" do
2
+
3
+ end
@@ -0,0 +1,3 @@
1
+ describe "Bowie::Actions.list" do
2
+
3
+ end
@@ -0,0 +1,3 @@
1
+ describe "Bowie::Actions.prune" do
2
+
3
+ end
@@ -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
@@ -0,0 +1,3 @@
1
+ describe "Bowie::Actions.uninstall" do
2
+
3
+ end
@@ -0,0 +1,3 @@
1
+ describe "Bowie::Actions.update" do
2
+
3
+ end
@@ -1,5 +1,2 @@
1
1
  require 'rspec'
2
- require './lib/bowie'
3
-
4
- Describe Bowie do
5
- end
2
+ require './lib/bowie'
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.5
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-16 00:00:00.000000000 Z
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