dirty_hashy 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.
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 1.9.2
5
+ - jruby-18mode
6
+ - jruby-19mode
7
+ - rbx-19mode
8
+ - 1.8.7
9
+ - ree
@@ -1,5 +1,9 @@
1
1
  = DirtyHashy CHANGELOG
2
2
 
3
+ == Version 0.2.1 (December 11, 2012)
4
+
5
+ * Not forcing ActiveSupport >= 3.0.0 version anymore (you can also use prior versions)
6
+
3
7
  == Version 0.2.0 (January 4, 2011)
4
8
 
5
9
  * Extracted DirtyHashy implementation to Dirty::Hash
data/Gemfile CHANGED
@@ -14,4 +14,5 @@ group :gem_test do
14
14
  gem "minitest"
15
15
  gem "mocha"
16
16
  gem "pry"
17
+ gem "rake"
17
18
  end
@@ -1,6 +1,6 @@
1
- h1. DirtyHashy
1
+ h1. DirtyHashy "!https://secure.travis-ci.org/archan937/dirty_hashy.png!":http://travis-ci.org/archan937/dirty_hashy
2
2
 
3
- Dirty tracking within hashes with indifferent access or objects as it is expected to be!
3
+ Dirty tracking within hashes (with or without indifferent access) or objects as it is expected to be!
4
4
 
5
5
  h2. Introduction
6
6
 
@@ -225,7 +225,7 @@ And last but not least: don't care about specifying the attributes available? We
225
225
 
226
226
  h2. Last remarks
227
227
 
228
- Please check out "test/unit/test_dirty_hashy.rb":https://github.com/archan937/dirty_hashy/blob/master/test/unit/test_dirty_hashy.rb, "test/unit/test_dirty_indifferent_hashy.rb":https://github.com/archan937/dirty_hashy/blob/master/test/unit/test_dirty_indifferent_hashy.rb and "test/unit/test_dirty_attributes.rb":https://github.com/archan937/dirty_hashy/blob/master/test/unit/test_dirty_attributes.rb the tests available.
228
+ Please check out "test/unit/test_dirty_hashy.rb":https://github.com/archan937/dirty_hashy/blob/master/test/unit/test_dirty_hashy.rb, "test/unit/test_dirty_indifferent_hashy.rb":https://github.com/archan937/dirty_hashy/blob/master/test/unit/test_dirty_indifferent_hashy.rb and "test/unit/dirty/test_attributes.rb":https://github.com/archan937/dirty_hashy/blob/master/test/unit/dirty/test_attributes.rb the tests available.
229
229
  You can run the unit tests with @rake@ within the terminal.
230
230
 
231
231
  Also, the DirtyHashy repo is provided with @script/console@ which you can use for testing purposes.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -3,8 +3,8 @@
3
3
  Gem::Specification.new do |gem|
4
4
  gem.authors = ["Paul Engel"]
5
5
  gem.email = ["paul.engel@holder.nl"]
6
- gem.description = %q{Dirty tracking within hashes with indifferent access or objects as it is expected to be!}
7
- gem.summary = %q{Dirty tracking within hashes with indifferent access or objects as it is expected to be!}
6
+ gem.description = %q{Dirty tracking within hashes (with or without indifferent access) or objects as it is expected to be!}
7
+ gem.summary = %q{Dirty tracking within hashes (with or without indifferent access) or objects as it is expected to be!}
8
8
  gem.homepage = "https://github.com/archan937/dirty_hashy"
9
9
 
10
10
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
13
  gem.name = "dirty_hashy"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = "0.2.0"
15
+ gem.version = "0.2.1"
16
16
 
17
- gem.add_dependency "activesupport", ">= 3.0.0"
17
+ gem.add_dependency "activesupport"
18
18
  end
@@ -1,7 +1,7 @@
1
1
  class DirtyHashy < Hash
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- TINY = 0
4
+ TINY = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
@@ -1,4 +1,8 @@
1
- require "active_support/hash_with_indifferent_access"
1
+ begin
2
+ require "active_support/hash_with_indifferent_access"
3
+ rescue LoadError
4
+ require "active_support/core_ext/hash/indifferent_access"
5
+ end
2
6
 
3
7
  class DirtyIndifferentHashy < HashWithIndifferentAccess
4
8
  include Dirty::Hash
@@ -1,7 +1,7 @@
1
1
  require "rubygems"
2
2
  require "bundler"
3
3
 
4
- Bundler.require :gem_default, :gem_test
5
-
6
4
  require "minitest/unit"
7
- require "minitest/autorun"
5
+ require "minitest/autorun"
6
+
7
+ Bundler.require :gem_default, :gem_test
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dirty_hashy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Engel
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-04 00:00:00 +01:00
14
- default_executable:
13
+ date: 2012-12-11 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: activesupport
@@ -21,10 +20,10 @@ dependencies:
21
20
  requirements:
22
21
  - - ">="
23
22
  - !ruby/object:Gem::Version
24
- version: 3.0.0
23
+ version: "0"
25
24
  type: :runtime
26
25
  version_requirements: *id001
27
- description: Dirty tracking within hashes with indifferent access or objects as it is expected to be!
26
+ description: Dirty tracking within hashes (with or without indifferent access) or objects as it is expected to be!
28
27
  email:
29
28
  - paul.engel@holder.nl
30
29
  executables: []
@@ -35,6 +34,7 @@ extra_rdoc_files: []
35
34
 
36
35
  files:
37
36
  - .gitignore
37
+ - .travis.yml
38
38
  - CHANGELOG.rdoc
39
39
  - Gemfile
40
40
  - MIT-LICENSE
@@ -54,7 +54,6 @@ files:
54
54
  - test/unit/dirty/test_attributes.rb
55
55
  - test/unit/test_dirty_hashy.rb
56
56
  - test/unit/test_dirty_indifferent_hashy.rb
57
- has_rdoc: true
58
57
  homepage: https://github.com/archan937/dirty_hashy
59
58
  licenses: []
60
59
 
@@ -78,12 +77,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
77
  requirements: []
79
78
 
80
79
  rubyforge_project:
81
- rubygems_version: 1.6.2
80
+ rubygems_version: 1.8.17
82
81
  signing_key:
83
82
  specification_version: 3
84
- summary: Dirty tracking within hashes with indifferent access or objects as it is expected to be!
83
+ summary: Dirty tracking within hashes (with or without indifferent access) or objects as it is expected to be!
85
84
  test_files:
86
85
  - test/test_helper.rb
87
86
  - test/unit/dirty/test_attributes.rb
88
87
  - test/unit/test_dirty_hashy.rb
89
88
  - test/unit/test_dirty_indifferent_hashy.rb
89
+ has_rdoc: