changelog 0.6.1 → 0.7
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/CHANGELOG +3 -0
- data/changelog.gemspec +1 -1
- data/lib/changelog.rb +6 -6
- metadata +6 -7
data/CHANGELOG
CHANGED
data/changelog.gemspec
CHANGED
@@ -8,7 +8,7 @@ require "base64"
|
|
8
8
|
|
9
9
|
Gem::Specification.new do |s|
|
10
10
|
s.name = "changelog"
|
11
|
-
s.version = "0.
|
11
|
+
s.version = "0.7"
|
12
12
|
s.authors = ["Jakub Šťastný aka Botanicus"]
|
13
13
|
s.homepage = "http://github.com/botanicus/changelog"
|
14
14
|
s.summary = "Simple CHANGELOG parser for Ruby 1.9"
|
data/lib/changelog.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
if RUBY_VERSION < "1.9"
|
4
|
-
# Yup, this is a disgusting hack.
|
5
|
-
require "ordered_hash_1.8"
|
6
|
-
Hash = OrderedHash
|
7
|
-
end
|
8
|
-
|
9
3
|
class CHANGELOG
|
4
|
+
if RUBY_VERSION < "1.9"
|
5
|
+
# Yup, this is a disgusting hack.
|
6
|
+
require "ordered_hash_1.8"
|
7
|
+
Hash = OrderedHash
|
8
|
+
end
|
9
|
+
|
10
10
|
module ReverseHashMixin
|
11
11
|
def reverse
|
12
12
|
self.keys.reverse.reduce(Hash.new) do |hash, key|
|
metadata
CHANGED
@@ -2,19 +2,18 @@
|
|
2
2
|
name: changelog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
hash: 5
|
5
|
-
prerelease:
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.6.1
|
8
|
+
- 7
|
9
|
+
version: "0.7"
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
|
14
13
|
autorequire:
|
15
14
|
bindir: bin
|
16
15
|
cert_chain:
|
17
|
-
date: 2011-
|
16
|
+
date: 2011-04-14 00:00:00 +01:00
|
18
17
|
default_executable:
|
19
18
|
dependencies: []
|
20
19
|
|
@@ -41,7 +40,7 @@ has_rdoc: true
|
|
41
40
|
homepage: http://github.com/botanicus/changelog
|
42
41
|
licenses: []
|
43
42
|
|
44
|
-
post_install_message: "[\e[32mVersion 0.
|
43
|
+
post_install_message: "[\e[32mVersion 0.7\e[0m] Play nice with Bundler [#2].\n"
|
45
44
|
rdoc_options: []
|
46
45
|
|
47
46
|
require_paths:
|
@@ -67,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
66
|
requirements: []
|
68
67
|
|
69
68
|
rubyforge_project: changelog
|
70
|
-
rubygems_version: 1.
|
69
|
+
rubygems_version: 1.5.2
|
71
70
|
signing_key:
|
72
71
|
specification_version: 3
|
73
72
|
summary: Simple CHANGELOG parser for Ruby 1.9
|