Sha256: d050a0127de36158cc4ecbf87e2d1248dddd3615936a710e4eb4122c22dd13b5

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

class Jeweler
  module Commands
    class ValidateGemspec
      attr_accessor :gemspec_helper, :output

      def initialize
        self.output = $stdout
      end

      def run
        begin
          gemspec_helper.parse
          output.puts "#{gemspec_helper.path} is valid."
        rescue Exception => e
          output.puts "#{gemspec_helper.path} is invalid. See the backtrace for more details."
          raise
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
dima-jeweler-0.9.2 lib/jeweler/commands/validate_gemspec.rb
technicalpickles-jeweler-0.9.0 lib/jeweler/commands/validate_gemspec.rb
technicalpickles-jeweler-0.9.1 lib/jeweler/commands/validate_gemspec.rb