Skip to content

Commit e2fe18d

Browse files
committed
Updates gemspec
1 parent e18fbb9 commit e2fe18d

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Layer::Api
2-
[![Build Status](https://travis-ci.org/cakejelly/layer-api.svg?branch=master)](https://travis-ci.org/cakejelly/layer-api)
2+
[![Build Status](https://travis-ci.org/cakejelly/layer-api.svg?branch=master)](https://travis-ci.org/cakejelly/layer-api) [![Gem Version](https://badge.fury.io/rb/layer-api.svg)](http://badge.fury.io/rb/layer-api)
33

44
A very simple wrapper for the Layer Platform API.
55

layer-api.gemspec

+5-11
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,22 @@ Gem::Specification.new do |spec|
88
spec.version = Layer::Api::VERSION
99
spec.authors = ["Jake Kelly"]
1010
spec.email = ["[email protected]"]
11+
spec.license = "MIT"
1112

1213
spec.summary = "A ruby toolkit for Layer's Platform API (https://developer.layer.com/docs/platform)"
14+
spec.description = "Simple wrapper for the Layer Platform API"
1315
spec.homepage = "https://github.com/cakejelly/layer-api"
1416

15-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
16-
# delete this section to allow pushing this gem to any host.
17-
if spec.respond_to?(:metadata)
18-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
19-
else
20-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
21-
end
22-
2317
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
2418
spec.bindir = "exe"
2519
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2620
spec.require_paths = ["lib"]
2721

2822
spec.add_development_dependency "bundler", "~> 1.10"
2923
spec.add_development_dependency "rake", "~> 10.0"
30-
spec.add_development_dependency "rspec"
31-
spec.add_development_dependency "vcr"
32-
spec.add_development_dependency "webmock"
24+
spec.add_development_dependency "rspec", "~> 3.3", ">= 3.3.0"
25+
spec.add_development_dependency "vcr", "~> 2.9", ">= 2.9.3"
26+
spec.add_development_dependency "webmock", "~> 1.21", ">= 1.21.0"
3327
spec.add_development_dependency "pry", "~> 0.10.1"
3428

3529
spec.add_dependency "faraday", "~> 0.9.1"

lib/layer/api/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Layer
22
module Api
3-
VERSION = "0.1.0"
3+
VERSION = "0.1.1"
44
end
55
end

0 commit comments

Comments
 (0)