Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Commit

Permalink
Brings the gem "infrastructure" up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaskorhonen committed Feb 9, 2013
1 parent aa7d454 commit 417c065
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 40 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ pkg/*
*.gem
.bundle
.yardoc/
Gemfile.lock
11 changes: 6 additions & 5 deletions .travis.yml
@@ -1,7 +1,8 @@
script: "rake spec"
language: ruby
script: "bundle exec rspec spec"
rvm:
- 1.8.7
- 1.9.2
- jruby
- rbx
- ree
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-18mode
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,4 +1,4 @@
source :gemcutter
source "https://rubygems.org"

# Specify your gem's dependencies in radix62.gemspec
gemspec
26 changes: 0 additions & 26 deletions Gemfile.lock

This file was deleted.

3 changes: 2 additions & 1 deletion Rakefile
@@ -1,8 +1,9 @@
require "bundler"
Bundler::GemHelper.install_tasks

require "rspec/core/rake_task"
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

gemspec = eval(File.read("radix62.gemspec"))

Expand Down
5 changes: 3 additions & 2 deletions radix62.gemspec
Expand Up @@ -14,8 +14,9 @@ Gem::Specification.new do |s|
s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "radix62"

s.add_development_dependency "bundler", "~> 1.0.0"
s.add_development_dependency "rspec", "~> 2.0.0.beta20"
s.add_development_dependency "bundler"
s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~> 2.12"

s.files = `git ls-files`.split("\n")
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
Expand Down
1 change: 1 addition & 0 deletions spec/radix62_spec.rb
@@ -1,5 +1,6 @@
# -*- encoding: utf-8 -*-
require "spec_helper"
require "support/known_good"

describe Radix62 do
context "alphabet" do
Expand Down
20 changes: 15 additions & 5 deletions spec/spec_helper.rb
@@ -1,10 +1,20 @@
# -*- encoding: utf-8 -*-
require "bundler"
Bundler.setup
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

require "rspec"
require "support/known_good"
require "radix62"

RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus

# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = 'random'
end

0 comments on commit 417c065

Please sign in to comment.