changes 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.
@@ -10,7 +10,8 @@ Gem::Specification.new do |s|
10
10
  s.homepage = "http://www.github.com/jespr/changes"
11
11
  s.summary = %q{Adds logging of changes to your model}
12
12
  s.description = %q{Adds logging of changes to your model, so you can see a list of changes - and what the values were changed from}
13
-
13
+ s.add_dependency('json')
14
+
14
15
  s.rubyforge_project = "changes"
15
16
 
16
17
  s.files = `git ls-files`.split("\n")
@@ -1,3 +1,3 @@
1
1
  module Changes
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -40,7 +40,7 @@ module Changes
40
40
  log_changed.each do |c|
41
41
  from = log_changes[c].first
42
42
  to = log_changes[c].last
43
- log << "#{c} from #{from} to #{to}\n"
43
+ log << "#{c} from '#{from}' to '#{to}'\n"
44
44
  end
45
45
  all_changes << log
46
46
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: changes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jesper Christiansen
@@ -16,8 +16,21 @@ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2011-07-24 00:00:00 Z
19
- dependencies: []
20
-
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: json
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ type: :runtime
33
+ version_requirements: *id001
21
34
  description: Adds logging of changes to your model, so you can see a list of changes - and what the values were changed from
22
35
  email:
23
36
  - jesper@creativegenius.dk