diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..92ac8c4 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +# Specify your gem's dependencies in rmate.gemspec +gemspec diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..f57ae68 --- /dev/null +++ b/Rakefile @@ -0,0 +1,2 @@ +#!/usr/bin/env rake +require "bundler/gem_tasks" diff --git a/bin/rmate b/bin/rmate index f7e9855..13aa9a7 100755 --- a/bin/rmate +++ b/bin/rmate @@ -9,8 +9,9 @@ require 'socket' require 'tempfile' require 'yaml' require 'fileutils' +require 'rmate' -VERSION_STRING = 'rmate version 1.5 (2012-09-19)' +VERSION_STRING = "rmate version #{Rmate::VERSION} (#{Rmate::DATE})" class Settings attr_accessor :host, :port, :wait, :force, :verbose, :lines, :names, :types diff --git a/lib/rmate.rb b/lib/rmate.rb new file mode 100644 index 0000000..f087e4d --- /dev/null +++ b/lib/rmate.rb @@ -0,0 +1,5 @@ +require "rmate/version" + +module Rmate + # Your code goes here... +end diff --git a/lib/rmate/version.rb b/lib/rmate/version.rb new file mode 100644 index 0000000..3ebdda4 --- /dev/null +++ b/lib/rmate/version.rb @@ -0,0 +1,4 @@ +module Rmate + VERSION = "1.5.4" + DATE = "2013-03-16" +end diff --git a/rmate.gemspec b/rmate.gemspec new file mode 100644 index 0000000..95938e5 --- /dev/null +++ b/rmate.gemspec @@ -0,0 +1,17 @@ +# -*- encoding: utf-8 -*- +require File.expand_path('../lib/rmate/version', __FILE__) + +Gem::Specification.new do |gem| + gem.name = 'rmate' + gem.version = Rmate::VERSION + gem.date = Rmate::DATE + gem.description = %q{Remote TextMate} + gem.summary = %q{Edit files from anywhere in TextMate 2 on your local Mac.} + gem.email = ['rmate@textmate.org'] + gem.homepage = 'https://github.com/textmate/rmate/' + + gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + gem.files = `git ls-files`.split("\n") + gem.authors = `git log --pretty="format:%an"|sort -u`.split("\n") + gem.require_paths = ['lib'] +end