redmine-reporting 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3b87630b0f4b777429f6c3ff4de4586eee52909
4
- data.tar.gz: 7a86c92b6a44c5d88e2bdfb43d2ebdd2d389e360
3
+ metadata.gz: 93ec28245e00de04fdd59c0c08a3a0589f959c55
4
+ data.tar.gz: f1018fb1f932e834dcffd959fb666ce421cd7260
5
5
  SHA512:
6
- metadata.gz: 258104f8eab4e65d97e8df80fc6cf278d17baca7fcbf1afee9d75f6c5f34077f353764e2d6d791b4d61dcec09804ebba61e3b41e4ec3a401c78cee5dd9309c24
7
- data.tar.gz: 7b12cc3281fc0698042d343962af12f21e8ae0f6d441152009357f77725173e6b469544e2b8d465ca4fdb44dd575c584d10009d217d986ea0e475892aedd2c2d
6
+ metadata.gz: 3d61ac2c5d910a4c4a32b5dd041b80386c584cf2d28debcbe91864dc096e6964b81da4a9d8fd99d6a9092a65ace12f44e50dee14f6b1440ee925971e50daddd9
7
+ data.tar.gz: 6172f44a44d581c58cc6ca41d44522b08f882c3c923bcdf5bf1022a6e09cd9f3d2509e53910be8593ce5f20c95632afff40c33a50f0fb7140491386f2159d1d1
@@ -37,10 +37,10 @@ module Redmine
37
37
  }
38
38
  })
39
39
 
40
- # add reference_id to description if updates are disabled
41
- @description = "h1. #{reference_id}\n\n#{@description}" if config[:no_update]
42
-
43
40
  if saved_issue_id.nil?
41
+ # add reference_id to description if updates are disabled
42
+ @description = "h1. #{reference_id}\n\n#{@description}" if config[:no_update]
43
+
44
44
  resp = HTTParty.post("#{config[:base_url]}/issues.json", options.merge({
45
45
  body: {
46
46
  issue: {
@@ -1,5 +1,5 @@
1
1
  module Redmine
2
2
  module Reporting
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine-reporting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-28 00:00:00.000000000 Z
11
+ date: 2013-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler