Skip to content

Commit

Permalink
update gemspec, publish to ruby gems
Browse files Browse the repository at this point in the history
  • Loading branch information
agustibr committed Oct 19, 2018
1 parent d5c4857 commit bb687f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
4 changes: 3 additions & 1 deletion README.md
@@ -1,11 +1,13 @@
# Cookies alert

[![Gem Version](https://badge.fury.io/rb/ct_table_for.svg)](https://badge.fury.io/rb/cookiesalert)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'cookiesalert', :git => 'ssh://git@github.com:CodiTramuntana/cookiesalert.git'
gem 'cookiesalert'
```

And then execute:
Expand Down
17 changes: 5 additions & 12 deletions cookiesalert.gemspec
Expand Up @@ -6,26 +6,19 @@ require 'cookiesalert/version'
Gem::Specification.new do |spec|
spec.name = "cookiesalert"
spec.version = Cookiesalert::VERSION
spec.authors = ["Josep Subils"]
spec.email = ["josep.sr@coditramuntana.com"]
spec.authors = ["Josep Subils", "Isaac Massot", "Agustí B.R."]
spec.email = ["josep.sr@coditramuntana.com", "issac.mg@coditramuntana.com", "agusti.br@coditramuntana.com"]

spec.summary = "Cookie's Alert generator"
spec.description = "Cookie's Javascript/CSS/View Layout for Alert generator"
spec.homepage = "http://coditramuntana.com"
spec.homepage = "https://github.com/CodiTramuntana/cookiesalert"
spec.license = "MIT"

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

# spec.files = `git ls-files -z`.split("\x0").reject do |f|
# f.match(%r{^(test|spec|features)/})
# end
spec.files = Dir["{lib,vendor,app}/**/*"]
spec.files = Dir["{lib,vendor,app}/**/*"] + ["LICENSE", "Rakefile", "README.md"]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
Expand Down
2 changes: 1 addition & 1 deletion lib/cookiesalert/version.rb
@@ -1,3 +1,3 @@
module Cookiesalert
VERSION = "0.1.0"
VERSION = "0.1.1"
end

0 comments on commit bb687f2

Please sign in to comment.