sax-machine 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +20 -0
- data/Rakefile +11 -6
- data/lib/sax-machine.rb +1 -1
- data/lib/sax-machine/sax_handler.rb +1 -0
- data/spec/spec_helper.rb +1 -2
- metadata +29 -9
- data/spec/spec.opts +0 -2
data/.rspec
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.1.2)
|
5
|
+
nokogiri (1.4.4)
|
6
|
+
rspec (2.4.0)
|
7
|
+
rspec-core (~> 2.4.0)
|
8
|
+
rspec-expectations (~> 2.4.0)
|
9
|
+
rspec-mocks (~> 2.4.0)
|
10
|
+
rspec-core (2.4.0)
|
11
|
+
rspec-expectations (2.4.0)
|
12
|
+
diff-lcs (~> 1.1.2)
|
13
|
+
rspec-mocks (2.4.0)
|
14
|
+
|
15
|
+
PLATFORMS
|
16
|
+
ruby
|
17
|
+
|
18
|
+
DEPENDENCIES
|
19
|
+
nokogiri (>= 1.4.4)
|
20
|
+
rspec (>= 2.4.0)
|
data/Rakefile
CHANGED
@@ -1,14 +1,19 @@
|
|
1
|
-
require "
|
2
|
-
require "spec/rake/spectask"
|
1
|
+
require "rspec/core/rake_task"
|
3
2
|
require 'lib/sax-machine.rb'
|
4
3
|
|
5
|
-
|
6
|
-
|
7
|
-
t.
|
4
|
+
desc "Run all specs"
|
5
|
+
RSpec::Core::RakeTask.new do |t|
|
6
|
+
t.rspec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
|
7
|
+
end
|
8
|
+
|
9
|
+
task :default => [:spec]
|
10
|
+
|
11
|
+
task :test do
|
12
|
+
sh 'rspec spec'
|
8
13
|
end
|
9
14
|
|
10
15
|
task :install do
|
11
16
|
rm_rf "*.gem"
|
12
17
|
puts `gem build sax-machine.gemspec`
|
13
18
|
puts `sudo gem install sax-machine-#{SAXMachine::VERSION}.gem`
|
14
|
-
end
|
19
|
+
end
|
data/lib/sax-machine.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sax-machine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 63
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 16
|
10
|
+
version: 0.0.16
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Paul Dix
|
@@ -14,14 +20,20 @@ default_executable:
|
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: nokogiri
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">"
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 31
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 0
|
33
|
+
- 0
|
23
34
|
version: 0.0.0
|
24
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
25
37
|
description:
|
26
38
|
email: paul@pauldix.net
|
27
39
|
executables: []
|
@@ -39,7 +51,9 @@ files:
|
|
39
51
|
- lib/sax-machine/sax_handler.rb
|
40
52
|
- README.textile
|
41
53
|
- Rakefile
|
42
|
-
-
|
54
|
+
- .rspec
|
55
|
+
- Gemfile
|
56
|
+
- Gemfile.lock
|
43
57
|
- spec/spec_helper.rb
|
44
58
|
- spec/sax-machine/sax_document_spec.rb
|
45
59
|
has_rdoc: true
|
@@ -52,21 +66,27 @@ rdoc_options: []
|
|
52
66
|
require_paths:
|
53
67
|
- lib
|
54
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
55
70
|
requirements:
|
56
71
|
- - ">="
|
57
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
58
76
|
version: "0"
|
59
|
-
version:
|
60
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
61
79
|
requirements:
|
62
80
|
- - ">="
|
63
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
83
|
+
segments:
|
84
|
+
- 0
|
64
85
|
version: "0"
|
65
|
-
version:
|
66
86
|
requirements: []
|
67
87
|
|
68
88
|
rubyforge_project:
|
69
|
-
rubygems_version: 1.3.
|
89
|
+
rubygems_version: 1.3.7
|
70
90
|
signing_key:
|
71
91
|
specification_version: 2
|
72
92
|
summary: Declarative SAX Parsing with Nokogiri
|
data/spec/spec.opts
DELETED