object_tracker 1.0.3 → 1.0.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: c4cbb0d051cb17714f1417c72858030e2c5d4058
4
- data.tar.gz: e72cd0c686c99da6ec44fba3b6c9ae511c49c291
3
+ metadata.gz: 1c8b4debf6060da108ed0c52dc88b86f598d2109
4
+ data.tar.gz: da4e8383aec78b64682745890bd83bcb83cef0f6
5
5
  SHA512:
6
- metadata.gz: 65b585b0f2cb6b0d26069e5970cb449b790f13a3ec1695b32f4c1dcc096274b7415175990b45d641db4e53f859156fe0f76c0346997d750e529f459a050e7c71
7
- data.tar.gz: 008882c268ed6fce4804c34bc95691813a114929d97c1448f2d398c0271112ef1a951b36dccdbb8b7324161307dab18076ef56ece37903d568056fcd59e2a15d
6
+ metadata.gz: a3ea2165293d94de73842e3cbbc0423c7b55b6a164721498b1b92d381eb244d417d6445534ad4c6f5d16e9ff4c3de80e48a64871d08913b5f7c1f5bf030df6cb
7
+ data.tar.gz: 88a67982df82a5c9b22098a1e2966d584b22714f9bd374c1668e8c8cc23ac3016bc7bf6fd6fb12f8524cac0e30dd086fb694ae89baae16138ea7218b6179520c
data/README.md CHANGED
@@ -68,6 +68,17 @@ Dog.track_not :bad_doggy
68
68
  Dog.track_all! #=> will exclude tracking for :bad_doggy
69
69
  ```
70
70
 
71
+ ## Issues
72
+
73
+ * Doesn't work well (or at all) when trying to track Ruby core objects (`String`, `Array`, etc). You can work around this by
74
+ subclassing the target class before extending with `ObjectTracker`. For example:
75
+
76
+ ```ruby
77
+ class MyArray < Array
78
+ extend ObjectTracker
79
+ end
80
+ ```
81
+
71
82
  ## Contributing
72
83
 
73
84
  1. Fork it ( https://github.com/[my-github-username]/object_tracker/fork )
@@ -1,3 +1,3 @@
1
1
  module ObjectTracker
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["arebuckley@gmail.com"]
11
11
  spec.summary = %q{Track method calls to any object.}
12
12
  spec.description = %q{Track method calls to any object. Both class and instance methods can be tracked with params}
13
- spec.homepage = ""
13
+ spec.homepage = 'https://github.com/ridiculous/object_tracker'
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Buckley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-27 00:00:00.000000000 Z
11
+ date: 2015-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -54,7 +54,7 @@ files:
54
54
  - lib/object_tracker.rb
55
55
  - lib/object_tracker/version.rb
56
56
  - object_tracker.gemspec
57
- homepage: ''
57
+ homepage: https://github.com/ridiculous/object_tracker
58
58
  licenses:
59
59
  - MIT
60
60
  metadata: {}