Skip to content

Commit 1ce7746

Browse files
committed
Updates gemspec and added travis-ci.
1 parent 29639e5 commit 1ce7746

File tree

8 files changed

+62
-2
lines changed

8 files changed

+62
-2
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
language: ruby
2+
rvm:
3+
- 2.2.2
4+
- 2.3.0
5+
before_install: gem install bundler -v 1.12.5

Gemfile

+8
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ source 'https://rubygems.org'
22

33
# Specify your gem's dependencies in warpcore.gemspec
44
gemspec
5+
6+
group :test, :development do
7+
gem 'byebug'
8+
gem 'minitest'
9+
gem 'pry'
10+
gem 'pry-stack_explorer'
11+
gem 'pry-nav'
12+
end

Gemfile.lock

+20
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,14 @@ GEM
4343
i18n (~> 0.7)
4444
minitest (~> 5.1)
4545
tzinfo (~> 1.1)
46+
binding_of_caller (0.7.2)
47+
debug_inspector (>= 0.0.1)
4648
builder (3.2.2)
49+
byebug (9.0.5)
50+
coderay (1.1.1)
4751
concurrent-ruby (1.0.2)
4852
connection_pool (2.2.0)
53+
debug_inspector (0.0.2)
4954
dotenv (2.1.1)
5055
erubis (2.7.0)
5156
faraday (0.9.2)
@@ -79,6 +84,15 @@ GEM
7984
parallel (>= 1.6, < 2)
8085
rack (< 3)
8186
pkg-config (1.1.7)
87+
pry (0.10.4)
88+
coderay (~> 1.1.0)
89+
method_source (~> 0.8.1)
90+
slop (~> 3.4)
91+
pry-nav (0.2.4)
92+
pry (>= 0.9.10, < 0.11.0)
93+
pry-stack_explorer (0.4.9.2)
94+
binding_of_caller (>= 0.7)
95+
pry (>= 0.9.11)
8296
puma (3.6.0)
8397
rack (2.0.1)
8498
rack-test (0.6.3)
@@ -100,6 +114,7 @@ GEM
100114
concurrent-ruby (~> 1.0)
101115
connection_pool (~> 2.2, >= 2.2.0)
102116
redis (~> 3.2, >= 3.2.1)
117+
slop (3.6.0)
103118
sucker_punch (2.0.2)
104119
concurrent-ruby (~> 1.0.0)
105120
thor (0.19.1)
@@ -112,6 +127,11 @@ PLATFORMS
112127

113128
DEPENDENCIES
114129
bundler (~> 1.12)
130+
byebug
131+
minitest
132+
pry
133+
pry-nav
134+
pry-stack_explorer
115135
warpcore!
116136

117137
BUNDLED WITH

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
WarpCore is a set of components and classes commonly used for quickly building scalable cloud applications with Parse-Server and Ruby. It bundles several technologies such as: Puma, Parse-Stack, MongoDB, Redis and Sidekiq.
44

5+
### Code Status
6+
[![Gem Version](https://badge.fury.io/rb/warpcore.svg)](https://badge.fury.io/rb/warpcore)
7+
[![Build Status](https://travis-ci.org/modernistik/warpcore.svg?branch=master)](https://travis-ci.org/modernistik/warpcore)
8+
59
## Installation
610

711
Add this line to your application's Gemfile:

Rakefile

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1+
#!/usr/bin/env rake
12
require "bundler/gem_tasks"
2-
task :default => :spec
3+
require 'rake/testtask'
4+
5+
Rake::TestTask.new do |t|
6+
t.libs << 'lib/parse/stack'
7+
t.test_files = FileList['test/lib/**/*_test.rb']
8+
t.warning = false
9+
t.verbose = true
10+
end
11+
12+
task :default => :test

test/lib/warpcore/version_test.rb

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require_relative '../../test_helper'
2+
3+
describe WarpCore do
4+
5+
it "must be defined" do
6+
WarpCore::VERSION.wont_be_nil
7+
end
8+
9+
end

test/test_helper.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require 'minitest/autorun'
2+
require 'minitest/pride'
3+
require_relative '../lib/warpcore/version.rb'

warpcore.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111

1212
spec.summary = %q{Components for a modern scalable api server infrastructure with Ruby.}
1313
spec.description = %q{A set of components and classes for quickly building cloud applications and infrastructure.}
14-
spec.homepage = "http://www.modernistik.com"
14+
spec.homepage = "https://github.com/modernistik/warpcore"
1515
spec.license = "MIT"
1616

1717
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
2626
spec.bindir = "exe"
2727
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2828
spec.require_paths = ["lib"]
29+
spec.required_ruby_version = '>= 2.2.2'
2930

3031
spec.add_runtime_dependency "activesupport", ['>= 4.2.1', '< 6']
3132
spec.add_runtime_dependency "parse-stack", '~> 1'

0 commit comments

Comments
 (0)