Skip to content

Commit

Permalink
Merge pull request #64 from saitjr/hotfix/saitjr_bindir
Browse files Browse the repository at this point in the history
Specify bindir in gemspec
  • Loading branch information
CognitiveDisson authored Oct 17, 2018
2 parents 0608cb9 + e74de91 commit 8b06328
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions fabricio.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ Gem::Specification.new do |spec|
spec.summary = "A simple gem that fetches mobile application statistics from Fabric.io API."
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.files = Dir["lib/**/*", "bin/*", "docs/*", "README.md"]

spec.bindir = "bin"
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

Expand Down
4 changes: 2 additions & 2 deletions lib/fabricio/cli/organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module Fabricio
class Organization < Thor

desc "get", "Get organization"
desc "all", "Get all organization"
option :short, :type => :boolean
def all
organizations = client.organization.all
Expand All @@ -17,6 +17,6 @@ def all
say(organizations.map { |organization| organization.json }.to_json)
end
end

end
end

0 comments on commit 8b06328

Please sign in to comment.