sixarm_ruby_uspto 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 995cd115b83f2d605693af3c798bcc57fd26b9b4
4
+ data.tar.gz: bd69c10e710586dcaa92a6b4b7de053286e4fa42
5
+ SHA512:
6
+ metadata.gz: f52bc07f3ebdc2d800c5efc3371a3f816c55bfcb759571c798c2b78b48f5a502a99726102b5d2ea22a3088571d4af945abef0ef1fd61e5f27bc5252e50b100bb
7
+ data.tar.gz: e0fb8b393ee670437323c958d7e78fa9331ab766b44d83ced9169628414e74e569d253a6df7e8ce82faeca8c564c3af897a0f807bfca27598682b989f0ccd2b4
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -1,8 +1,16 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'rake'
3
- require 'rake/testtask'
2
+ require "rake"
3
+ require "rake/testtask"
4
4
 
5
5
  Rake::TestTask.new(:test) do |t|
6
- t.libs << 'lib' << 'test'
7
- t.pattern = 'test/*.rb'
6
+ t.libs.push("lib", "test")
7
+ t.pattern = "test/**/*.rb"
8
8
  end
9
+ task :default => [:test]
10
+ task :default => [:test]
11
+ task :default => [:test]
12
+ task :default => [:test]
13
+ task :default => [:test]
14
+ task :default => [:test]
15
+ task :default => [:test]
16
+ task :default => [:test]
@@ -3,6 +3,5 @@
3
3
  Please see README
4
4
  =end
5
5
 
6
- ['patent'].map{|x|
7
- require File.dirname(__FILE__) + "/sixarm_ruby_uspto/#{x}.rb"
8
- }
6
+ require "sixarm_ruby_uspto/patent"
7
+
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'nokogiri'
2
+ require "nokogiri"
3
3
 
4
4
  class Patent
5
5
 
@@ -1,9 +1,13 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "coveralls"
4
+ require "simplecov"
5
+ Coveralls.wear!
6
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
7
+ SimpleCov::Formatter::HTMLFormatter,
8
+ Coveralls::SimpleCov::Formatter
9
+ ]
4
10
  SimpleCov.start
11
+ require "sixarm_ruby_uspto"
5
12
 
6
- ['patent'].map{|x|
7
- require "sixarm_ruby_uspto_test/#{x}_test.rb"
8
- }
9
13
 
@@ -1,9 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
4
- SimpleCov.start
5
- require 'sixarm_ruby_uspto'
6
- require 'nokogiri'
2
+ require "sixarm_ruby_uspto_test"
3
+ require "nokogiri"
7
4
 
8
5
  describe Patent do
9
6
 
metadata CHANGED
@@ -1,96 +1,191 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_uspto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - SixArm
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCRENDQW0yZ0F3SUJB
14
- Z0lKQUtQd0VFVFU1YkhvTUEwR0NTcUdTSWIzRFFFQkJRVUFNR0F4Q3pBSkJn
15
- TlYKQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZB
16
- WURWUVFIRXcxVFlXNGdSbkpoYm1OcApjMk52TVE4d0RRWURWUVFLRXdaVGFY
17
- aEJjbTB4RXpBUkJnTlZCQU1UQ25OcGVHRnliUzVqYjIwd0hoY05NVEF4Ck1q
18
- RXpNak15TnpFeldoY05NVE13T1RBNE1qTXlOekV6V2pCZ01Rc3dDUVlEVlFR
19
- R0V3SlZVekVUTUJFR0ExVUUKQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFV
20
- RUJ4TU5VMkZ1SUVaeV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MMP5yBSAqWuFBczMveX5j4rp9Ifw5/XsZbgwcmdm26bjhzh
43
+ w2grAHIhvR9mztm6uXQlZhv1fu3P+RWHDSYhnZSCJSCdxPzQJ1mG5T5ahiL3HvCZ
44
+ 2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
45
+ n+ES/gQPOnvmVkLDGw==
46
+ -----END CERTIFICATE-----
47
+ date: 2015-07-19 00:00:00.000000000 Z
39
48
  dependencies:
40
49
  - !ruby/object:Gem::Dependency
41
50
  name: nokogiri
42
51
  requirement: !ruby/object:Gem::Requirement
43
- none: false
44
52
  requirements:
45
- - - ! '>='
53
+ - - ">="
46
54
  - !ruby/object:Gem::Version
47
- version: '0'
55
+ version: 1.6.6.2
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '2'
59
+ type: :runtime
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 1.6.6.2
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 5.7.0
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '6'
48
79
  type: :development
49
80
  prerelease: false
50
81
  version_requirements: !ruby/object:Gem::Requirement
51
- none: false
52
82
  requirements:
53
- - - ! '>='
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 5.7.0
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '6'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rake
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">"
94
+ - !ruby/object:Gem::Version
95
+ version: 10.4.2
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '11'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">"
104
+ - !ruby/object:Gem::Version
105
+ version: 10.4.2
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '11'
109
+ - !ruby/object:Gem::Dependency
110
+ name: simplecov
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: 0.10.0
116
+ - - "<"
117
+ - !ruby/object:Gem::Version
118
+ version: '2'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 0.10.0
126
+ - - "<"
127
+ - !ruby/object:Gem::Version
128
+ version: '2'
129
+ - !ruby/object:Gem::Dependency
130
+ name: coveralls
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 0.8.2
136
+ - - "<"
137
+ - !ruby/object:Gem::Version
138
+ version: '2'
139
+ type: :development
140
+ prerelease: false
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: 0.8.2
146
+ - - "<"
54
147
  - !ruby/object:Gem::Version
55
- version: '0'
56
- description:
148
+ version: '2'
149
+ description: U.S. Patent and Trademark Office parsing helpers
57
150
  email: sixarm@sixarm.com
58
151
  executables: []
59
152
  extensions: []
60
153
  extra_rdoc_files: []
61
154
  files:
62
- - .gemtest
63
155
  - Rakefile
64
- - README.md
65
- - VERSION
66
156
  - lib/sixarm_ruby_uspto.rb
67
157
  - lib/sixarm_ruby_uspto/patent.rb
68
158
  - test/sixarm_ruby_uspto_test.rb
69
159
  - test/sixarm_ruby_uspto_test/patent_test.rb
70
160
  homepage: http://sixarm.com/
71
- licenses: []
161
+ licenses:
162
+ - BSD
163
+ - GPL
164
+ - MIT
165
+ - PAL
166
+ - Various
167
+ metadata: {}
72
168
  post_install_message:
73
169
  rdoc_options: []
74
170
  require_paths:
75
171
  - lib
76
172
  required_ruby_version: !ruby/object:Gem::Requirement
77
- none: false
78
173
  requirements:
79
- - - ! '>='
174
+ - - ">="
80
175
  - !ruby/object:Gem::Version
81
176
  version: '0'
82
177
  required_rubygems_version: !ruby/object:Gem::Requirement
83
- none: false
84
178
  requirements:
85
- - - ! '>='
179
+ - - ">="
86
180
  - !ruby/object:Gem::Version
87
181
  version: '0'
88
182
  requirements: []
89
183
  rubyforge_project:
90
- rubygems_version: 1.8.23
184
+ rubygems_version: 2.4.8
91
185
  signing_key:
92
- specification_version: 3
93
- summary: ! 'SixArm.com » Ruby » USPTO: U.S. Patent and Trademark Office'
186
+ specification_version: 4
187
+ summary: SixArm.com » Ruby » USPTO
94
188
  test_files:
95
189
  - test/sixarm_ruby_uspto_test.rb
96
190
  - test/sixarm_ruby_uspto_test/patent_test.rb
191
+ has_rdoc: true
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes
data/README.md DELETED
@@ -1,88 +0,0 @@
1
- # SixArm.com » Ruby » <br> USPTO: United State Patent and Trademark Office
2
-
3
- * Doc: <http://sixarm.com/sixarm_ruby_uspto/doc>
4
- * Gem: <http://rubygems.org/gems/sixarm_ruby_uspto>
5
- * Repo: <http://github.com/sixarm/sixarm_ruby_uspto>
6
- * Email: Joel Parker Henderson, <joel@sixarm.com>
7
-
8
- ## Introduction
9
-
10
- Provides a "Patent" class for working with USPTO Gazette XML.
11
-
12
- See USPTO Bulk Downloads: Patent Grant Full Text http://www.google.com/googlebooks/uspto-patents-grants-text.html
13
-
14
-
15
- ## Install quickstart
16
-
17
- Install:
18
-
19
- gem install sixarm_ruby_uspto
20
-
21
- Bundler:
22
-
23
- gem "sixarm_ruby_uspto", "~> 1.0.0"
24
-
25
- Require:
26
-
27
- require "sixarm_ruby_uspto"
28
-
29
-
30
- ## Install with security (optional)
31
-
32
- To enable high security for all our gems:
33
-
34
- wget http://sixarm.com/sixarm.pem
35
- gem cert --add sixarm.pem
36
- gem sources --add http://sixarm.com
37
-
38
- To install with high security:
39
-
40
- gem install sixarm_ruby_uspto --test --trust-policy HighSecurity
41
-
42
-
43
- ## Examples
44
-
45
- require "sixarm_ruby_uspto"
46
- require "nokogiri"
47
-
48
- text = File.read("patent.xml")
49
- doc = Nokogiri.XML(text)
50
- patent = Patent.new(:doc => doc)
51
-
52
- patent.id #=> "US1234"
53
- patent.date #=> "20120101"
54
- patent.claims #=> XML element of claim items
55
-
56
-
57
- ## Changes
58
-
59
- * 2012-05-10 1.0.0 Publish
60
-
61
-
62
- ## License
63
-
64
- You may choose any of these open source licenses:
65
-
66
- * Apache License
67
- * BSD License
68
- * CreativeCommons License, Non-commercial Share Alike
69
- * GNU General Public License Version 2 (GPL 2)
70
- * GNU Lesser General Public License (LGPL)
71
- * MIT License
72
- * Perl Artistic License
73
- * Ruby License
74
-
75
- The software is provided "as is", without warranty of any kind,
76
- express or implied, including but not limited to the warranties of
77
- merchantability, fitness for a particular purpose and noninfringement.
78
-
79
- In no event shall the authors or copyright holders be liable for any
80
- claim, damages or other liability, whether in an action of contract,
81
- tort or otherwise, arising from, out of or in connection with the
82
- software or the use or other dealings in the software.
83
-
84
- This license is for the included software that is created by SixArm;
85
- some of the included software may have its own licenses, copyrights,
86
- authors, etc. and these do take precedence over the SixArm license.
87
-
88
- Copyright (c) 2012 Joel Parker Henderson
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.0