technicaldebt-techincaldebt 0.2.0 → 0.2.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.
- data/VERSION +1 -1
- data/lib/technical_debt.rb +2 -2
- data/techincaldebt.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/technical_debt.rb
CHANGED
@@ -112,13 +112,13 @@ class TechnicalDebt
|
|
112
112
|
File.open(log_file,'r') { |f| f.read.split(",")}
|
113
113
|
end
|
114
114
|
|
115
|
+
#DEBT 1h Just a sanity check maybe a reality check
|
115
116
|
def log_file
|
116
117
|
"#{project}/.git/technical_debt"
|
117
118
|
end
|
118
119
|
|
119
|
-
#DEBT 1h Just a sanity check maybe a reality check
|
120
120
|
def send_to_server(debt)
|
121
|
-
Net::HTTP.post_form(URI.parse("http://
|
121
|
+
Net::HTTP.post_form(URI.parse("http://technicaldebt.r09.railsrumble.com/transactions"), { 'transaction[message]' => stripped_debt_line(debt), 'transaction[sha]' => last_commit_sha, 'git_token' => get_git_token, 'kind' => 'debt' })
|
122
122
|
end
|
123
123
|
|
124
124
|
def stripped_debt_line(debt_line)
|
data/techincaldebt.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{techincaldebt}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Chris Herring", "Jeremy Grant", "Gareth Stokes", "Carl Woodward"]
|