Skip to content

Commit d773362

Browse files
committed
actually including all of the subfiles in lib/cloudsight in the gem
1 parent 5625e0f commit d773362

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

cloudsight.gemspec

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ Gem::Specification.new do |s|
1414
s.license = 'MIT'
1515
s.platform = Gem::Platform::RUBY
1616

17-
s.files = [
18-
'lib/cloudsight.rb',
19-
'Gemfile',
20-
'Gemfile.lock',
21-
'MIT-LICENSE',
22-
'README.md',
23-
'cloudsight.gemspec'
24-
]
17+
s.files = `git ls-files`.split($/)
18+
s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
19+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
20+
2521
s.require_paths = [%q{lib}]
2622

2723
s.required_ruby_version = Gem::Requirement.new('>= 1.9.1')

lib/cloudsight.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def base_url
2828
end
2929
end
3030

31-
require_relative './cloudsight/api'
32-
require_relative './cloudsight/request'
33-
require_relative './cloudsight/response'
31+
require 'cloudsight/api'
32+
require 'cloudsight/request'
33+
require 'cloudsight/response'
3434

3535
class ResponseException < Exception; end
3636
class UnexpectedResponseException < Exception; end

lib/cloudsight/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Cloudsight
2-
VERSION = "0.0.8.2"
2+
VERSION = "0.0.9"
33
end

0 commit comments

Comments
 (0)