Skip to content
Permalink
Browse files

Basic environment setup

  • Loading branch information
iay committed May 23, 2018
1 parent dddc4ee commit 23a6fefd805d172ed43ae3fe98ccb92d4d18da8e
Showing with 131 additions and 0 deletions.
  1. +57 −0 .gitignore
  2. +21 −0 Gemfile
  3. +42 −0 Gemfile.lock
  4. +8 −0 README.md
  5. +3 −0 Rakefile
@@ -0,0 +1,57 @@
# Don't commit imported gems
vendor/

#
# Below this line we have the default GitHub ignores for Ruby.
#

*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
# .env

## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/

## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
21 Gemfile
@@ -0,0 +1,21 @@
# frozen_string_literal: true

source 'https://rubygems.org'

group :devel do # required for development
gem 'rubocop'
end

gem 'inc-validator-client', path: '../inc-validator-client-ruby'

#
# Pin the 'ffi' gem at version 1.9.21 to prevent segfaults on
# macOS 10.13 High Sierra.
#
# Underlying issue: https://github.com/ffi/ffi/issues/619
#
# This gem is an indirect dependency via
# esi-client-bvv --> typhoeus --> ethon --> ffi
# but ethon requires only >= 1.3.0.
#
gem 'ffi', '1.9.21'
@@ -0,0 +1,42 @@
PATH
remote: ../inc-validator-client-ruby
specs:
inc-validator-client (1.0.0)
json (~> 2.1, >= 2.1.0)
typhoeus (~> 1.0, >= 1.0.1)
GEM
remote: https://rubygems.org/
specs:
ast (2.4.0)
ethon (0.11.0)
ffi (>= 1.3.0)
ffi (1.9.21)
json (2.1.0)
parallel (1.12.1)
parser (2.5.1.0)
ast (~> 2.4.0)
powerpack (0.1.1)
rainbow (3.0.0)
rubocop (0.56.0)
parallel (~> 1.10)
parser (>= 2.5)
powerpack (~> 0.1)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.9.0)
typhoeus (1.3.0)
ethon (>= 0.9.0)
unicode-display_width (1.3.2)

PLATFORMS
ruby

DEPENDENCIES
ffi (= 1.9.21)
inc-validator-client!
rubocop

BUNDLED WITH
1.14.6
@@ -3,6 +3,14 @@
Simple Ruby-based tests to exercise the `inc-validator-client-ruby` client
library to access the `inc-validator` micro-service.

## Setting Up

Perform the following to set up the test environment:

```bash
$ bundle install --path vendor
```

## Copyright and License

The entire package is Copyright (C) 2018, Ian A. Young.
@@ -0,0 +1,3 @@
task :cop do
system 'bundle exec rubocop'
end

0 comments on commit 23a6fef

Please sign in to comment.
You can’t perform that action at this time.