gitmine 0.1.0 → 0.1.1

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.
@@ -0,0 +1,2 @@
1
+ host: 'http://redmine-gitmine.heroku.com'
2
+ #api_key: '' # No need for api_key since the redmine project is public.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
- gem 'rspec', '2.0.0.beta.17'
2
1
  gem 'httparty'
3
- gem 'grit', '2.0.0'
2
+ gem 'grit'
3
+
4
+ # Test env
5
+ gem 'rspec', '2.0.0.beta.17'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -1,11 +1,4 @@
1
- require 'rubygems'
2
- require "bundler"
3
- Bundler.load
4
-
5
- require 'grit'
6
- require 'yaml'
7
- require 'HTTParty'
8
-
1
+ #!/usr/bin/env ruby
9
2
  require File.dirname(__FILE__) + '/../lib/gitmine'
10
3
 
11
4
  Gitmine.run
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gitmine}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Philippe Creux"]
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.files = [
22
22
  ".document",
23
23
  ".gitignore",
24
+ ".gitmine.yml",
24
25
  "Gemfile",
25
26
  "LICENSE",
26
27
  "README.rdoc",
@@ -1,7 +1,8 @@
1
- HOST = 'https://redmine.versapay.com'
2
- PROJECT = 'eft'
3
- USERNAME = 'philippe.creux'
4
- PASSWORD = 'temporary_stuff'
1
+ require 'rubygems'
2
+
3
+ require 'grit'
4
+ require 'yaml'
5
+ require 'HTTParty'
5
6
 
6
7
  class Gitmine
7
8
  def self.run
@@ -1,3 +1,2 @@
1
1
  host: 'http://localhost:3000'
2
- project: 'project_name'
3
2
  api_key: 'api_key'
@@ -10,7 +10,7 @@ describe Issue do
10
10
 
11
11
  describe "#config" do
12
12
  it "should load the config from config.yml" do
13
- issue.config.should == {"project"=>"project_name", "host"=>"http://localhost:3000", "api_key"=>"api_key"}
13
+ issue.config.should == {"host"=>"http://localhost:3000", "api_key"=>"api_key"}
14
14
  end
15
15
  end
16
16
 
@@ -3,9 +3,10 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
3
 
4
4
  #ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
5
5
 
6
- require 'rubygems'
7
6
  require "bundler"
8
- Bundler.require
7
+ Bundler.load
8
+
9
+ require 'rspec'
9
10
 
10
11
  require 'gitmine'
11
12
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Philippe Creux
@@ -67,6 +67,7 @@ extra_rdoc_files:
67
67
  files:
68
68
  - .document
69
69
  - .gitignore
70
+ - .gitmine.yml
70
71
  - Gemfile
71
72
  - LICENSE
72
73
  - README.rdoc