Skip to content

Commit

Permalink
Minimal gemification
Browse files Browse the repository at this point in the history
  • Loading branch information
OZAWA Sakuro authored and sorbits committed Mar 16, 2013
1 parent 37f278b commit ed156ff
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in rmate.gemspec
gemspec
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
3 changes: 2 additions & 1 deletion bin/rmate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions lib/rmate.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "rmate/version"

module Rmate
# Your code goes here...
end
4 changes: 4 additions & 0 deletions lib/rmate/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Rmate
VERSION = "1.5.4"
DATE = "2013-03-16"
end
17 changes: 17 additions & 0 deletions rmate.gemspec
Original file line number Diff line number Diff line change
@@ -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 = ['[email protected]']
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

0 comments on commit ed156ff

Please sign in to comment.