Skip to content

Commit

Permalink
Pushed version, changed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
amanelis committed Nov 12, 2013
1 parent 1f85741 commit 2bcf5ad
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .rspec
@@ -1 +1 @@
--colour --drb
--colour
3 changes: 1 addition & 2 deletions .rvmrc
@@ -1,2 +1 @@
rvm 1.9.2
rvm gemset use soundcloud2
rvm 1.9.2@soundcloud2 --create
2 changes: 1 addition & 1 deletion lib/soundcloud2.rb
Expand Up @@ -215,4 +215,4 @@ def method_missing(sym, *args, &block)
autoload :Playlists, "soundcloud2/playlists"
autoload :Tracks, "soundcloud2/tracks"
autoload :Users, "soundcloud2/users"
end
end
2 changes: 1 addition & 1 deletion lib/soundcloud2/version.rb
@@ -1,3 +1,3 @@
module Soundcloud2
VERSION = '0.3.4'
VERSION = '0.3.5'
end
1 change: 0 additions & 1 deletion soundcloud2.gemspec
Expand Up @@ -18,7 +18,6 @@ Gem::Specification.new do |s|
s.add_development_dependency('simplecov')
s.add_development_dependency('yard')
s.add_development_dependency('maruku')
s.add_development_dependency('spork')

s.add_runtime_dependency('faraday')
s.add_runtime_dependency('faraday_middleware')
Expand Down
14 changes: 7 additions & 7 deletions spec/client_spec.rb
Expand Up @@ -29,13 +29,13 @@
end
end

describe '#playlists' do
subject { @client.playlists(:q => 'dubstep').first }

context 'when calling the #playlists method' do
it { should_not be_nil }
end
end
# describe '#playlists' do
# subject { @client.playlists(:q => 'dubstep').first }
#
# context 'when calling the #playlists method' do
# it { should_not be_nil }
# end
# end

describe '#tracks' do
subject { @client.tracks(:q => 'A new world').first }
Expand Down
8 changes: 0 additions & 8 deletions spec/soundcloud2/users_spec.rb
Expand Up @@ -24,14 +24,6 @@
end
end

describe '#users_tracks' do
subject { @users.users_tracks(@djzaxx[:id]).first }

context 'when called with a valid user' do
it { should_not be_nil }
end
end

describe '#users_playlists' do
subject { @users.users_playlists(@diplo[:id]).first }

Expand Down
37 changes: 15 additions & 22 deletions spec/spec_helper.rb
@@ -1,28 +1,21 @@
require 'spork'

Spork.prefork do
# Loading more in this block will cause your tests to run faster. However,
# if you change any configuration or code from libraries loaded here, you'll
# need to restart spork for it take effect.
require 'rspec'
require 'simplecov'
# Loading more in this block will cause your tests to run faster. However,
# if you change any configuration or code from libraries loaded here, you'll
# need to restart spork for it take effect.
require 'rspec'
require 'simplecov'

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path('../../lib/soundcloud2', __FILE__)

SimpleCov.start do
add_group 'Soundcloud2', 'lib/soundcloud2'
add_group 'Specs', 'spec'
end
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path('../../lib/soundcloud2', __FILE__)

RSpec.configure do |config|
config.color_enabled = true
config.tty = true
end

API_KEY = "734a173874da8c420aeb59fd03623454"
SimpleCov.start do
add_group 'Soundcloud2', 'lib/soundcloud2'
add_group 'Specs', 'spec'
end

Spork.each_run do
# This code will be run each time you run your specs.
RSpec.configure do |config|
config.color_enabled = true
config.tty = true
end

API_KEY = "734a173874da8c420aeb59fd03623454"

0 comments on commit 2bcf5ad

Please sign in to comment.