Skip to content

Commit

Permalink
Vendor redis_rb from Rubygems, not GitHub
Browse files Browse the repository at this point in the history
Also just include the entire gem. Space used is negligible and this
way we don't have to think about what to leave in/out.

Create a vendor-gem script in Ruby instead of Make.
  • Loading branch information
jacobvosmaer committed Jan 2, 2017
1 parent a3712cc commit 3fe9cea
Show file tree
Hide file tree
Showing 105 changed files with 8,668 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,3 +10,4 @@ tags
.bundle/
custom_hooks
hooks/*.d
/*.gem
12 changes: 0 additions & 12 deletions Makefile

This file was deleted.

16 changes: 16 additions & 0 deletions lib/vendor/redis/.gitignore
@@ -0,0 +1,16 @@
*.rdb
*.swp
Gemfile.lock
*.gem
/tmp/
/.idea
/.yardoc
/coverage/*
/doc/
/examples/sentinel/sentinel.conf
/nohup.out
/pkg/*
/rdsrv
/redis/*
/test/db
/test/test.conf
65 changes: 65 additions & 0 deletions lib/vendor/redis/.travis.yml
@@ -0,0 +1,65 @@
language: ruby

rvm:
- 1.8.7
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3.0
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
- rbx-2

gemfile: ".travis/Gemfile"

sudo: false

env:
global:
- VERBOSE=true
- TIMEOUT=1
matrix:
- conn=ruby REDIS_BRANCH=2.8
- conn=hiredis REDIS_BRANCH=2.8
- conn=synchrony REDIS_BRANCH=2.8
- conn=ruby REDIS_BRANCH=unstable

branches:
only:
- master

matrix:
exclude:
# hiredis
- rvm: jruby-18mode
gemfile: .travis/Gemfile
env: conn=hiredis REDIS_BRANCH=2.8
- rvm: jruby-19mode
gemfile: .travis/Gemfile
env: conn=hiredis REDIS_BRANCH=2.8
- rvm: jruby-9.0.5.0
gemfile: .travis/Gemfile
env: conn=hiredis REDIS_BRANCH=2.8

# synchrony
- rvm: 1.8.7
gemfile: .travis/Gemfile
env: conn=synchrony REDIS_BRANCH=2.8
- rvm: jruby-18mode
gemfile: .travis/Gemfile
env: conn=synchrony REDIS_BRANCH=2.8
- rvm: jruby-19mode
gemfile: .travis/Gemfile
env: conn=synchrony REDIS_BRANCH=2.8
- rvm: jruby-9.0.5.0
gemfile: .travis/Gemfile
env: conn=synchrony REDIS_BRANCH=2.8
allow_failures:
- rvm: rbx-2

notifications:
irc:
- irc.freenode.net#redis-rb
email: false
11 changes: 11 additions & 0 deletions lib/vendor/redis/.travis/Gemfile
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec :path => "../"

case ENV["conn"]
when "hiredis"
gem "hiredis"
when "synchrony"
gem "hiredis"
gem "em-synchrony"
end
3 changes: 3 additions & 0 deletions lib/vendor/redis/.yardopts
@@ -0,0 +1,3 @@
--exclude redis/connection
--exclude redis/compat
--markup markdown

0 comments on commit 3fe9cea

Please sign in to comment.