Skip to content

Commit f163733

Browse files
authored
Merge pull request #7 from rubygarage/develop
Merge develop to master
2 parents 187f2b5 + 7ede58c commit f163733

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-ci

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sudo: false
22
language: ruby
33
rvm:
4-
- 2.3.1
4+
- 2.2.2
55
before_install: gem install bundler -v 1.12.5

detectify.gemspec

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require 'detectify/version'
55

66
Gem::Specification.new do |spec|
7-
spec.name = 'detectify'
8-
spec.version = Detectify::VERSION
9-
spec.authors = ['Lukyanov Fedor']
10-
spec.email = ['fedor@rubygarage.org']
7+
spec.name = 'detectify'
8+
spec.version = Detectify::VERSION
9+
spec.authors = ['Lukyanov Fedor']
10+
spec.email = ['fedor@rubygarage.org']
1111

12-
spec.summary = 'Detect ActiveRecord entity via domain or subdomain'
13-
spec.description = 'Detectify provides a simple way to retrieve an ActiveRecord entity' \
14-
'based on the domain/subdomain request information.'
15-
spec.homepage = 'https://github.com/rubygarage/detectify'
16-
spec.license = 'MIT'
12+
spec.license = 'MIT'
13+
spec.homepage = 'https://github.com/rubygarage/detectify'
14+
spec.summary = 'Detect ActiveRecord entity via domain or subdomain'
15+
spec.description = 'Detectify provides a simple way to retrieve an ActiveRecord entity' \
16+
'based on the domain/subdomain request information.'
1717

18-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19-
spec.require_paths = ['lib']
18+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19+
spec.require_paths = ['lib']
20+
spec.required_ruby_version = '>= 2.2.2'
2021

2122
spec.add_dependency 'rack', '>= 1.6'
2223
spec.add_dependency 'activerecord', '>= 4.2'
@@ -26,4 +27,5 @@ Gem::Specification.new do |spec|
2627
spec.add_development_dependency 'rake', '~> 10.0'
2728
spec.add_development_dependency 'rspec', '~> 3.0'
2829
spec.add_development_dependency 'fuubar', '~> 2.0'
30+
spec.add_development_dependency 'coveralls', '~> 0.8'
2931
end

spec/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require 'coveralls'
2+
Coveralls.wear!
3+
14
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
25

36
RSpec.configure do |config|

0 commit comments

Comments
 (0)