From f5b99e916e9e3727b53681d81d09b7b35a52102f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tayfun=20O=CC=88zis=CC=A7=20ERI=CC=87KAN?= Date: Tue, 25 Aug 2015 14:37:41 +0300 Subject: [PATCH] Improvements were done - Ruby 2.2.3 version was added - Rails 4.2.3 version was added - Gemfile.lock was removed - Gemspec was improved --- .gitignore | 3 ++- .ruby-version | 1 + MIT-LICENSE => LICENSE | 0 cybele.gemspec | 32 +++++++++++++++++--------------- lib/cybele/version.rb | 5 +++-- 5 files changed, 23 insertions(+), 18 deletions(-) create mode 100644 .ruby-version rename MIT-LICENSE => LICENSE (100%) diff --git a/.gitignore b/.gitignore index 93e54b2..439e494 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.gem *.log .bundle/ -*.bundle/install.log \ No newline at end of file +*.bundle/install.log +Gemfile.lock \ No newline at end of file diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..5859406 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.2.3 diff --git a/MIT-LICENSE b/LICENSE similarity index 100% rename from MIT-LICENSE rename to LICENSE diff --git a/cybele.gemspec b/cybele.gemspec index 2bbb372..a987b5e 100644 --- a/cybele.gemspec +++ b/cybele.gemspec @@ -1,26 +1,28 @@ -# coding: utf-8 +# encoding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require File.expand_path('../lib/cybele/version', __FILE__) +require 'date' Gem::Specification.new do |spec| - spec.name = 'cybele' - spec.version = Cybele::VERSION - spec.authors = %w[lab2023] - spec.email = %w[info@lab2023.com] - spec.description = %q{Rails 4.x template with responder, simple form, haml, exception notification, etc etc ...} - spec.summary = %q{Rails 4.x template with responder, simple form, haml, exception notification, etc etc ...} - spec.homepage = 'https://github.com/kebab-project/cybele' - spec.license = 'MIT' + spec.name = 'cybele' + spec.version = Cybele::VERSION + spec.authors = %w[lab2023] + spec.email = %w[info@lab2023.com] + spec.description = %q{Rails 4.x template with responder, simple form, haml, exception notification, etc etc ...} + spec.summary = %q{Rails 4.x template with responder, simple form, haml, exception notification, etc etc ...} + spec.homepage = 'https://github.com/kebab-project/cybele' + spec.license = 'MIT' + spec.date = Date.today.strftime('%Y-%m-%d') - spec.required_ruby_version = '>= 2.0.0' + spec.required_ruby_version = ">= #{Cybele::RUBY_VERSION}" spec.add_dependency 'bundler', '~> 1.5' - spec.add_dependency 'rails', '~> 4.0' + spec.add_dependency 'rails', Cybele::RAILS_VERSION - spec.files = `git ls-files`.split($/) - spec.executables = %w[cybele] - spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) - spec.require_paths = %w[lib] + spec.files = `git ls-files`.split($/) + spec.executables = %w[cybele] + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths= %w[lib] spec.add_development_dependency 'rake' diff --git a/lib/cybele/version.rb b/lib/cybele/version.rb index e0ce4d5..bbb701c 100644 --- a/lib/cybele/version.rb +++ b/lib/cybele/version.rb @@ -1,4 +1,5 @@ module Cybele + RAILS_VERSION = '~> 4.2.3' + RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip VERSION = '1.6.2'.freeze -end - +end \ No newline at end of file