debsacker 0.1.3 → 0.1.5

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: c44b702c36744eae7771317edc2f942e5b1dcb7b
4
- data.tar.gz: 2cbf54f23b72990c05ee9a5d76986a890d1203f9
3
+ metadata.gz: c51a5b7488a8bb1a322438540a88352237107fbd
4
+ data.tar.gz: 1989e9fc70c5d0e9da610d15690fb8c26382a3f8
5
5
  SHA512:
6
- metadata.gz: 038a8b82126a279445b5e32bf313e1ff4372d9e5ace6e596bf0a79455585d0365c9742e3df188c1a231df100f0fc6aa6a0f8d0494c8c248855d79180273cb19f
7
- data.tar.gz: 5eddd59c120f948b9e2765980d33014957a9e896e3afff21b543835bab62bb348826e9c9106f80f4d899093492eca49d2e8cd34f5db3626dc3bf427d158aa911
6
+ metadata.gz: 140e5e4c1533ec00a9624321179b49b4cf545ef571308283dddece370e09a76493a80aaac2ce00937c8460c343cdb5342239f7a95dcfcd684521f57f3b39a279
7
+ data.tar.gz: 01bf35471b4b05679a5a0181e7258009ffe6bfbe88181a62d52aab714ace509577ccf18773cb7afc1475f7d783feab00c9005b358be6e105bd8f6242053a400f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- debsacker (0.1.1)
4
+ debsacker (0.1.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -27,8 +27,7 @@ module Debsacker
27
27
  begin
28
28
  File.open('debian/changelog', 'w') do |file|
29
29
  @changelog.lines(@version).each do |line|
30
- file.puts(line)
31
- file.puts($/)
30
+ file.print(line)
32
31
  end
33
32
  end
34
33
  rescue
@@ -19,8 +19,11 @@ module Debsacker
19
19
  date = DateTime.now.strftime('%a, %e %b %Y %T %z')
20
20
  [
21
21
  "#{ project_name } (#{ version }) stable; urgency=medium",
22
+ $/,
23
+ $/,
22
24
  " * #{ comment }",
23
- " -- Made by #{ author } #{ date }"
25
+ $/,
26
+ " -- Made by #{ author } #{ date }"
24
27
  ]
25
28
  end
26
29
  end
@@ -1,3 +1,3 @@
1
1
  module Debsacker
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.5'
3
3
  end
@@ -8,8 +8,11 @@ describe Debsacker::Package::Changelog do
8
8
  changelog.author = 'debsacker <info@debsacker.com>'
9
9
 
10
10
  lines=[ 'Debsacker (1.2.1) stable; urgency=medium',
11
+ $/,
12
+ $/,
11
13
  ' * bug closed #123123',
12
- " -- Made by debsacker <info@debsacker.com> #{ DateTime.now.strftime('%a, %e %b %Y %T %z') }"]
14
+ $/,
15
+ " -- Made by debsacker <info@debsacker.com> #{ DateTime.now.strftime('%a, %e %b %Y %T %z') }"]
13
16
  expect(changelog.lines('1.2.1')).to eq(lines)
14
17
  end
15
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debsacker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Khokhlov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-01 00:00:00.000000000 Z
12
+ date: 2015-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler