Selaa lähdekoodia

Build a gem

master
Peter J. Jones 7 vuotta sitten
vanhempi
commit
236c4857ad
6 muutettua tiedostoa jossa 48 lisäystä ja 1 poistoa
  1. 22
    0
      LICENSE.md
  2. 0
    0
      README.md
  3. 3
    0
      Rakefile
  4. 18
    0
      config/gemspec
  5. 0
    1
      lib/tisk/clock.rb
  6. 5
    0
      lib/tisk/clock/version.rb

+ 22
- 0
LICENSE.md Näytä tiedosto

@@ -0,0 +1,22 @@
# Tisk Clock License

Copyright (C) 2012 pmade inc. (Peter Jones pjones@pmade.com)

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.

+ 0
- 0
README.md Näytä tiedosto


+ 3
- 0
Rakefile Näytä tiedosto

@@ -0,0 +1,3 @@
################################################################################
desc("Build a gem")
task(:gem) {system('gem', 'build', 'config/gemspec')}

+ 18
- 0
config/gemspec Näytä tiedosto

@@ -0,0 +1,18 @@
################################################################################
$:.unshift(File.expand_path('../lib', File.dirname(__FILE__)))
require('tisk/clock/version')

################################################################################
Gem::Specification.new do |gem|
gem.name = 'tisk-clock'
gem.version = Tisk::Clock::VERSION
gem.platform = Gem::Platform::RUBY
gem.authors = ['Peter Jones']
gem.email = ['pjones@pmade.com']
gem.homepage = 'http://github.com/pjones/tisk-clock'
gem.summary = 'Track time spent on tisk tasks.'
gem.description = 'Clock in/out of tasks and report on time spent.'
gem.files = Dir.glob('{commands,lib}/**/*') + %w(README.md LICENSE.md)
gem.require_path = 'lib'
gem.add_dependency('tisk', '>= 0.1.0')
end

+ 0
- 1
lib/tisk/clock.rb Näytä tiedosto

@@ -1,6 +1,5 @@
################################################################################
module Tisk::Clock
VERSION = '0.1.0'
NAME = 'clock'
end


+ 5
- 0
lib/tisk/clock/version.rb Näytä tiedosto

@@ -0,0 +1,5 @@
module Tisk
module Clock
VERSION = '0.1.0'
end
end

Loading…
Peruuta
Tallenna