Sha256: b7cd4927fb5c8fd6b3501a6963473911cb2e92cf7e62c6e3c93fd400c60a0fa4

Contents?: true

Size: 464 Bytes

Versions: 7

Compression:

Stored size: 464 Bytes

Contents

desc 'commit', 'Commit using a story title from Pivotal Tracker'

long_desc <<-LONGDESC
Example: `geordi commit`

On the first execution we ask for your Pivotal Tracker API token. It will be
stored in `~/.gitpt`.
LONGDESC

def commit
  raise <<-TEXT if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1')
Unsupported Ruby Version #{RUBY_VERSION}. `geordi commit` does not work with a Ruby version < 2.1.
  TEXT

  require 'geordi/gitpt'

  Gitpt.new.run
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geordi-2.6.0 lib/geordi/commands/commit.rb
geordi-2.5.0 lib/geordi/commands/commit.rb
geordi-2.4.0 lib/geordi/commands/commit.rb
geordi-2.3.0 lib/geordi/commands/commit.rb
geordi-2.2.0 lib/geordi/commands/commit.rb
geordi-2.1.0 lib/geordi/commands/commit.rb
geordi-2.0.0 lib/geordi/commands/commit.rb