-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from marcosgz/master
Mina 1.x compatibility
- Loading branch information
Showing
9 changed files
with
92 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
require "bundler/gem_tasks" | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/gem_tasks' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/setup' | ||
require 'mina/slack' | ||
require 'irb' | ||
|
||
IRB.start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
require "mina/slack/version" | ||
# frozen_string_literal: true | ||
|
||
require 'mina/slack/defaults' | ||
require 'mina/slack/tasks' | ||
|
||
|
||
module Mina | ||
module Slack | ||
end | ||
end | ||
load File.expand_path('./slack/tasks.rb', __dir__) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
module Mina | ||
module Slack | ||
VERSION = "0.1.0" | ||
VERSION = '1.0.0' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'mina/slack/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "mina-slack" | ||
spec.version = Mina::Slack::VERSION | ||
spec.authors = ["TAKAyuki_atkwsk", "Marcos G. Zimmermann"] | ||
spec.email = ["[email protected]", "[email protected]"] | ||
spec.description = %q{Slack web hook from mina} | ||
spec.summary = %q{Slack web hook from mina} | ||
spec.homepage = "https://github.com/TAKAyukiatkwsk/mina-slack" | ||
spec.license = "MIT" | ||
spec.name = 'mina-slack' | ||
spec.version = Mina::Slack::VERSION | ||
spec.authors = ['TAKAyuki_atkwsk', 'Marcos G. Zimmermann'] | ||
spec.email = ['[email protected]', '[email protected]'] | ||
spec.description = 'Slack web hook from mina' | ||
spec.summary = 'Slack web hook from mina' | ||
spec.homepage = 'https://github.com/TAKAyukiatkwsk/mina-slack' | ||
spec.license = 'MIT' | ||
|
||
spec.files = `git ls-files`.split($/) | ||
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_development_dependency "bundler", "~> 1.3" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency 'bundler', '~> 1.3' | ||
spec.add_development_dependency 'rake' | ||
|
||
spec.add_dependency "mina" | ||
spec.add_dependency "mina-hooks" | ||
spec.add_dependency 'mina', '>= 1.0' | ||
end |