grog 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/VERSION +1 -1
- data/lib/grog/options.rb +3 -0
- data/spec/grog/options_spec.rb +8 -0
- metadata +2 -3
- data/grog.gemspec +0 -79
    
        data/.gitignore
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.0. | 
| 1 | 
            +
            0.0.3
         | 
    
        data/lib/grog/options.rb
    CHANGED
    
    
    
        data/spec/grog/options_spec.rb
    CHANGED
    
    | @@ -44,4 +44,12 @@ describe Grog::Options do | |
| 44 44 | 
             
                  lambda { Grog::Options.new(%w{--help}) }.should raise_error(SystemExit)
         | 
| 45 45 | 
             
                end
         | 
| 46 46 | 
             
              end
         | 
| 47 | 
            +
             | 
| 48 | 
            +
              describe "version" do
         | 
| 49 | 
            +
                it "should print it's version and exit" do
         | 
| 50 | 
            +
                  expected_version = "grog v" + File.read(File.join(File.dirname(__FILE__), '..', '..', 'VERSION'))
         | 
| 51 | 
            +
                  $stdout.should_receive(:write).with(expected_version)
         | 
| 52 | 
            +
                  Grog::Options.new(%w{--version})
         | 
| 53 | 
            +
                end
         | 
| 54 | 
            +
              end
         | 
| 47 55 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: grog
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Tom ten Thij
         | 
| @@ -9,7 +9,7 @@ autorequire: | |
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 11 |  | 
| 12 | 
            -
            date: 2009-11- | 
| 12 | 
            +
            date: 2009-11-04 00:00:00 +00:00
         | 
| 13 13 | 
             
            default_executable: grog
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -74,7 +74,6 @@ files: | |
| 74 74 | 
             
            - features/step_definitions/git_steps.rb
         | 
| 75 75 | 
             
            - features/step_definitions/grog_steps.rb
         | 
| 76 76 | 
             
            - features/support/env.rb
         | 
| 77 | 
            -
            - grog.gemspec
         | 
| 78 77 | 
             
            - lib/grog.rb
         | 
| 79 78 | 
             
            - lib/grog/git_log.rb
         | 
| 80 79 | 
             
            - lib/grog/options.rb
         | 
    
        data/grog.gemspec
    DELETED
    
    | @@ -1,79 +0,0 @@ | |
| 1 | 
            -
            # Generated by jeweler
         | 
| 2 | 
            -
            # DO NOT EDIT THIS FILE DIRECTLY
         | 
| 3 | 
            -
            # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
         | 
| 4 | 
            -
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            -
             | 
| 6 | 
            -
            Gem::Specification.new do |s|
         | 
| 7 | 
            -
              s.name = %q{grog}
         | 
| 8 | 
            -
              s.version = "0.0.2"
         | 
| 9 | 
            -
             | 
| 10 | 
            -
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 | 
            -
              s.authors = ["Tom ten Thij"]
         | 
| 12 | 
            -
              s.date = %q{2009-11-03}
         | 
| 13 | 
            -
              s.default_executable = %q{grog}
         | 
| 14 | 
            -
              s.description = %q{A wrapper script for git-log}
         | 
| 15 | 
            -
              s.email = %q{git@tomtenthij.nl}
         | 
| 16 | 
            -
              s.executables = ["grog"]
         | 
| 17 | 
            -
              s.extra_rdoc_files = [
         | 
| 18 | 
            -
                "LICENSE",
         | 
| 19 | 
            -
                 "README.rdoc"
         | 
| 20 | 
            -
              ]
         | 
| 21 | 
            -
              s.files = [
         | 
| 22 | 
            -
                ".document",
         | 
| 23 | 
            -
                 ".gitignore",
         | 
| 24 | 
            -
                 "LICENSE",
         | 
| 25 | 
            -
                 "README.rdoc",
         | 
| 26 | 
            -
                 "Rakefile",
         | 
| 27 | 
            -
                 "VERSION",
         | 
| 28 | 
            -
                 "bin/grog",
         | 
| 29 | 
            -
                 "features/grog.feature",
         | 
| 30 | 
            -
                 "features/step_definitions/common_steps.rb",
         | 
| 31 | 
            -
                 "features/step_definitions/git_steps.rb",
         | 
| 32 | 
            -
                 "features/step_definitions/grog_steps.rb",
         | 
| 33 | 
            -
                 "features/support/env.rb",
         | 
| 34 | 
            -
                 "grog.gemspec",
         | 
| 35 | 
            -
                 "lib/grog.rb",
         | 
| 36 | 
            -
                 "lib/grog/git_log.rb",
         | 
| 37 | 
            -
                 "lib/grog/options.rb",
         | 
| 38 | 
            -
                 "spec/grog/git_log_spec.rb",
         | 
| 39 | 
            -
                 "spec/grog/options_spec.rb",
         | 
| 40 | 
            -
                 "spec/grog_spec.rb",
         | 
| 41 | 
            -
                 "spec/spec.opts",
         | 
| 42 | 
            -
                 "spec/spec_helper.rb",
         | 
| 43 | 
            -
                 "spec/test_git_repo.tgz"
         | 
| 44 | 
            -
              ]
         | 
| 45 | 
            -
              s.homepage = %q{http://github.com/tomtt/grog}
         | 
| 46 | 
            -
              s.rdoc_options = ["--charset=UTF-8"]
         | 
| 47 | 
            -
              s.require_paths = ["lib"]
         | 
| 48 | 
            -
              s.rubygems_version = %q{1.3.5}
         | 
| 49 | 
            -
              s.summary = %q{A wrapper script for git-log - shows subject, time and author of each commit plus branches and tags}
         | 
| 50 | 
            -
              s.test_files = [
         | 
| 51 | 
            -
                "spec/grog/git_log_spec.rb",
         | 
| 52 | 
            -
                 "spec/grog/options_spec.rb",
         | 
| 53 | 
            -
                 "spec/grog_spec.rb",
         | 
| 54 | 
            -
                 "spec/spec_helper.rb"
         | 
| 55 | 
            -
              ]
         | 
| 56 | 
            -
             | 
| 57 | 
            -
              if s.respond_to? :specification_version then
         | 
| 58 | 
            -
                current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
         | 
| 59 | 
            -
                s.specification_version = 3
         | 
| 60 | 
            -
             | 
| 61 | 
            -
                if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
         | 
| 62 | 
            -
                  s.add_runtime_dependency(%q<term-ansicolor>, [">= 1.0.4"])
         | 
| 63 | 
            -
                  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 64 | 
            -
                  s.add_development_dependency(%q<ruby-debug>, [">= 0.10.3"])
         | 
| 65 | 
            -
                  s.add_development_dependency(%q<cucumber>, [">= 0"])
         | 
| 66 | 
            -
                else
         | 
| 67 | 
            -
                  s.add_dependency(%q<term-ansicolor>, [">= 1.0.4"])
         | 
| 68 | 
            -
                  s.add_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 69 | 
            -
                  s.add_dependency(%q<ruby-debug>, [">= 0.10.3"])
         | 
| 70 | 
            -
                  s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 71 | 
            -
                end
         | 
| 72 | 
            -
              else
         | 
| 73 | 
            -
                s.add_dependency(%q<term-ansicolor>, [">= 1.0.4"])
         | 
| 74 | 
            -
                s.add_dependency(%q<rspec>, [">= 1.2.9"])
         | 
| 75 | 
            -
                s.add_dependency(%q<ruby-debug>, [">= 0.10.3"])
         | 
| 76 | 
            -
                s.add_dependency(%q<cucumber>, [">= 0"])
         | 
| 77 | 
            -
              end
         | 
| 78 | 
            -
            end
         | 
| 79 | 
            -
             |