Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cache: bundler
sudo: false
matrix:
fast_finish: true
branches:
only: master
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
script: bundle exec rspec
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
source :rubygems
gemspec
gemspec
gem 'rspec-its'
50 changes: 37 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,40 @@ PATH
GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
diff-lcs (1.3)
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
fakeweb (1.3.0)
json (1.7.6)
mime-types (1.19)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
rspec-mocks (~> 2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
json (2.1.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
netrc (0.11.0)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-its (1.2.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.7.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)

PLATFORMS
ruby
Expand All @@ -30,3 +50,7 @@ DEPENDENCIES
fakeweb (>= 1.3.0)
mixcloud!
rspec (>= 2.7.0)
rspec-its

BUNDLED WITH
1.16.1
6 changes: 5 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
== Mixcloud
== Mixcloud {<img src="https://travis-ci.org/actfong/mixcloud.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/actfong/mixcloud]

The Mixcloud gem is a ruby wrapper of the Mixcloud.com API.
It enables you to create Ruby objects of Mixcloud resources such as Cloudcast, Artist, etc. by providing their API urls.
Expand All @@ -9,6 +9,10 @@ For more info check

This gem has not yet been tested with a Rails app. So it is still pretty much a beta. But feel free to test it, use it, drop me a note if you think something needs to be changed or added, or if something isn't quite working.

== Requirements

Ruby >= 2.0 is supported, except for 2.4 which is currently broken due an issue with the `fakeweb` gem dependency. Once fakeweb is updated we can update to add support.

== Installation

sudo gem install mixcloud
Expand Down
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
require 'rspec'
require 'mixcloud'
require 'fakeweb'
require 'rspec/its'

RSpec.configure do |config|
config.color_enabled = true
config.color = true
config.formatter = 'documentation'
end

Expand Down