tag-it 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,6 +58,8 @@ As of version 0.3.0, you don't have to use the tracker. If you just want to fet
58
58
  snapshot = TagIt::TagSnapshot.new(port)
59
59
  tags = snapshot.shoot!
60
60
  # tags => ["1nri","1okD","1nrP"]
61
+
62
+ Both the Tracker and the Snapshot class are subclasses of TagIt::Monitor, which does the heavy lifting of tag parsing, so if you want to engineer your own functionality, you could make a custom TagIt implementation by making your own subclass and taking advantage of the "monitor" method which you can pass a block to (it will yield each tag name it finds back to you, one by one).
61
63
 
62
64
  Happy Tagging!
63
65
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
Binary file
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tag-it}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["evizitei"]
@@ -33,6 +33,7 @@ Gem::Specification.new do |s|
33
33
  "pkg/tag-it-0.1.0.gem",
34
34
  "pkg/tag-it-0.2.1.gem",
35
35
  "pkg/tag-it-0.2.2.gem",
36
+ "pkg/tag-it-0.3.1.gem",
36
37
  "tag-it.gemspec",
37
38
  "test/helper.rb",
38
39
  "test/mock_serial_port.rb",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tag-it
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - evizitei
@@ -114,6 +114,7 @@ files:
114
114
  - pkg/tag-it-0.1.0.gem
115
115
  - pkg/tag-it-0.2.1.gem
116
116
  - pkg/tag-it-0.2.2.gem
117
+ - pkg/tag-it-0.3.1.gem
117
118
  - tag-it.gemspec
118
119
  - test/helper.rb
119
120
  - test/mock_serial_port.rb