Sha256: 5163e2ba62038c351532ca8dde465760b18d4c8d67b0cbd3d49570aedcf593a0

Contents?: true

Size: 258 Bytes

Versions: 57

Compression:

Stored size: 258 Bytes

Contents

module CC
  module CLI
    class Version < Command
      def run
        say version
      end

      private
      def version
        path = File.expand_path("../../../../VERSION", __FILE__)
        @version ||= File.read(path)
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
codeclimate-0.0.24 lib/cc/cli/version.rb
codeclimate-0.0.23 lib/cc/cli/version.rb
codeclimate-0.0.22 lib/cc/cli/version.rb
codeclimate-0.0.21 lib/cc/cli/version.rb
codeclimate-0.0.18 lib/cc/cli/version.rb
codeclimate-0.0.17 lib/cc/cli/version.rb
codeclimate-0.0.16 lib/cc/cli/version.rb
codeclimate-0.0.15 lib/cc/cli/version.rb
codeclimate-0.0.14 lib/cc/cli/version.rb
codeclimate-0.0.13 lib/cc/cli/version.rb
codeclimate-0.0.11 lib/cc/cli/version.rb
codeclimate-0.0.10 lib/cc/cli/version.rb
codeclimate-0.0.9 lib/cc/cli/version.rb
codeclimate-0.0.7 lib/cc/cli/version.rb
codeclimate-0.0.6 lib/cc/cli/version.rb
codeclimate-0.0.5 lib/cc/cli/version.rb
codeclimate-0.0.1 lib/cc/cli/version.rb