From 00a2e3ba8dcef25166853dce9c50423f9755658c Mon Sep 17 00:00:00 2001 From: Max Melentiev Date: Mon, 22 Feb 2016 23:22:50 +0600 Subject: [PATCH] v0.3.0 because v0.1.0 exists on rubygems --- LICENSE.txt | 21 +++++++++++++++++++++ lib/telegram/bot/version.rb | 2 +- telegram-bot.gemspec | 3 +++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..2b37c27 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Max Melentiev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/lib/telegram/bot/version.rb b/lib/telegram/bot/version.rb index 22476ed..6846284 100644 --- a/lib/telegram/bot/version.rb +++ b/lib/telegram/bot/version.rb @@ -1,6 +1,6 @@ module Telegram class Bot - VERSION = '0.1.0'.freeze + VERSION = '0.3.0'.freeze def self.gem_version Gem::Version.new VERSION diff --git a/telegram-bot.gemspec b/telegram-bot.gemspec index d0362a1..7d6b107 100644 --- a/telegram-bot.gemspec +++ b/telegram-bot.gemspec @@ -11,12 +11,15 @@ Gem::Specification.new do |spec| spec.summary = 'Library for building Telegram Bots with Rails integration' spec.homepage = 'https://github.com/printercu/telegram-bot' + spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] + spec.required_ruby_version = '~> 2.0' + spec.add_dependency 'activesupport', '~> 4.0' spec.add_dependency 'actionpack', '~> 4.0' spec.add_dependency 'httpclient', '~> 2.7'