philologic-client 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/HISTORY.rdoc +8 -0
  2. data/PhiloLogicResponseDocumentation.txt +86 -0
  3. data/README.rdoc +54 -32
  4. data/Rakefile +26 -0
  5. data/lib/philologic-client/bibliography.rb +60 -0
  6. data/lib/philologic-client/collocation.rb +61 -0
  7. data/lib/philologic-client/concordance.rb +39 -0
  8. data/lib/philologic-client/document.rb +65 -0
  9. data/lib/philologic-client/frequency.rb +57 -0
  10. data/lib/philologic-client/frequency_row.rb +67 -0
  11. data/lib/philologic-client/link.rb +37 -0
  12. data/lib/philologic-client/occurrence.rb +79 -0
  13. data/lib/philologic-client/response.rb +63 -0
  14. data/lib/philologic-client/version.rb +1 -1
  15. data/lib/philologic-client.rb +102 -286
  16. data/test/data/bibliography.html +182 -0
  17. data/test/data/collocation.html +2594 -0
  18. data/test/data/concordance.html +758 -0
  19. data/test/data/frequency.html +73 -0
  20. data/test/data/navigation.html +69 -0
  21. data/test/data/object.html +20 -0
  22. data/test/test_bibliography.rb +78 -0
  23. data/test/test_client.rb +861 -0
  24. data/test/test_collocation.rb +76 -0
  25. data/test/test_concordance.rb +83 -0
  26. data/test/test_document.rb +127 -0
  27. data/test/test_frequency.rb +78 -0
  28. data/test/test_occurrence.rb +66 -0
  29. data/test/test_response.rb +41 -0
  30. metadata +55 -36
  31. data/doc/PhiloLogicResponseTemplates.txt +0 -46
  32. data/test/data/collocation_links.html +0 -145
  33. data/test/data/collocation_sartre.html +0 -67
  34. data/test/data/doc_file.html +0 -396
  35. data/test/data/frequency_links.html +0 -145
  36. data/test/data/frequency_sartre.html +0 -67
  37. data/test/data/query_sartre.html +0 -151
  38. data/test/data/root_file.html +0 -1851
  39. data/test/test_philologic_client.rb +0 -558
  40. data/test/test_philologic_link.rb +0 -101
@@ -0,0 +1,76 @@
1
+ # encoding: utf-8
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'philologic-client'
7
+ require 'test_response'
8
+ require 'test/unit'
9
+
10
+
11
+ class TestCollocation < TestResponse
12
+
13
+ def test_initialization_with_nil_document
14
+ assert_raise(RuntimeError, 'nil document') { Philologic::Client::Collocation.new(nil) }
15
+ end
16
+
17
+ def test_initialization_with_empty_document
18
+ r = Philologic::Client::Collocation.new(@doc)
19
+ assert_not_nil r
20
+ assert_kind_of Philologic::Client::Response, r
21
+ assert_kind_of Philologic::Client::Collocation, r
22
+ assert_nil r.client
23
+ assert !r.results?
24
+ assert_not_nil r.results
25
+ assert_kind_of Array, r.results
26
+ assert_equal 0, r.results.size
27
+ end
28
+
29
+ def test_initialization_with_client
30
+ r = Philologic::Client::Collocation.new( @doc, @client )
31
+ assert_not_nil r
32
+ assert_kind_of Philologic::Client::Response, r
33
+ assert_kind_of Philologic::Client::Collocation, r
34
+ assert_not_nil r.client
35
+ assert_equal @client, r.client
36
+ assert !r.results?
37
+ assert_not_nil r.results
38
+ assert_kind_of Array, r.results
39
+ assert_equal 0, r.results.size
40
+ end
41
+
42
+ def test_with_sample_file
43
+ f = File.join( File.dirname(__FILE__), 'data', 'collocation.html' )
44
+ r = Philologic::Client::Collocation.new( Nokogiri::HTML( open(f).read, nil, @client.encoding ) )
45
+ assert_not_nil r
46
+ assert_kind_of Philologic::Client::Response, r
47
+ assert_kind_of Philologic::Client::Collocation, r
48
+ assert_nil r.client
49
+
50
+ assert r.results?
51
+ assert_not_nil r.results
52
+ assert_kind_of Array, r.results
53
+
54
+ skip('r.results.size == 642')
55
+ # TODO assert_equal 642, r.results.size
56
+
57
+ #first = r.results.first
58
+ #assert_not_nil first
59
+ #assert_equal 'first', first.inspect
60
+ #assert_kind_of Philologic::Client::CollocationRow, first
61
+ #assert_equal "A Midsummer Night's Dream", first.label
62
+ #assert_equal './?q=lion&title=A+Midsummer+Night%27s+Dream', first.link
63
+ #assert_equal '30', first.value
64
+
65
+ #last = r.results.last
66
+ #assert_not_nil last
67
+ # assert_equal '', last.inspect
68
+ # assert_kind_of Philologic::Client::CollocationRow, last
69
+ # assert_equal 'As You Like It', last.label
70
+ # assert_equal './?q=lion&title=As+You+Like+It', last.link
71
+ # assert_equal '1', last.value
72
+
73
+ end
74
+
75
+ end
76
+
@@ -0,0 +1,83 @@
1
+ # encoding: utf-8
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'philologic-client'
7
+ require 'test_response'
8
+ require 'test/unit'
9
+
10
+
11
+ class TestConcordance < TestResponse
12
+
13
+ def test_initialization_with_nil_document
14
+ assert_raise(RuntimeError, 'nil document') { Philologic::Client::Concordance.new(nil) }
15
+ end
16
+
17
+ def test_initialization_with_empty_document
18
+ r = Philologic::Client::Concordance.new(@doc)
19
+ assert_not_nil r
20
+ assert_kind_of Philologic::Client::Response, r
21
+ assert_kind_of Philologic::Client::Concordance, r
22
+ assert_nil r.client
23
+ assert !r.results?
24
+ assert_kind_of Array, r.results
25
+ end
26
+
27
+ def test_initialization_with_client
28
+ r = Philologic::Client::Concordance.new( @doc, @client )
29
+ assert_not_nil r
30
+ assert_kind_of Philologic::Client::Response, r
31
+ assert_kind_of Philologic::Client::Concordance, r
32
+ assert_not_nil r.client
33
+ assert_equal @client, r.client
34
+ assert !r.results?
35
+ assert_kind_of Array, r.results
36
+ end
37
+
38
+ def test_with_sample_file
39
+ f = File.join( File.dirname(__FILE__), 'data', 'concordance.html' )
40
+ r = Philologic::Client::Concordance.new( Nokogiri::HTML( open(f).read, nil, @client.encoding ) )
41
+ assert_not_nil r
42
+ assert_kind_of Philologic::Client::Response, r
43
+ assert_kind_of Philologic::Client::Concordance, r
44
+ assert_nil r.client
45
+
46
+ assert r.results?
47
+ assert_kind_of Array, r.results
48
+ assert_equal 50, r.results.size
49
+
50
+ first = r.results.first
51
+ assert_not_nil first
52
+ assert_kind_of Philologic::Client::Occurrence, first
53
+ assert_equal 1, first['hit_n']
54
+ assert_equal 'William Shakespeare', first['author']
55
+ assert_equal 'The First Part of King Henry the Fourth', first['title']
56
+ assert_equal 'Prince', first['who']
57
+ assert first.text?
58
+ assert_not_nil first.text
59
+ assert_match /^ cat or a lugged bear/, first.text
60
+ assert_match /Yea$/, first.text
61
+ assert_not_nil first.html
62
+ assert_match /^ cat or a lugged bear/, first.html
63
+ assert_match /Yea$/, first.html
64
+
65
+ last = r.results.last
66
+ assert_not_nil last
67
+ assert_kind_of Philologic::Client::Occurrence, last
68
+ assert_equal 50, last['hit_n']
69
+ assert_equal 'William Shakespeare', last['author']
70
+ assert_equal "A Midsummer Night's Dream", last['title']
71
+ assert_equal 'Bottom', last['who']
72
+
73
+ assert last.text?
74
+ assert_not_nil last.text
75
+ assert_match /^Masters, you ought to /, last.text.strip
76
+ assert_match /for there is not a more$/, last.text.strip
77
+ assert_not_nil last.html
78
+ assert_match /^Masters, you ought to /, last.html.strip
79
+ assert_match /for there is not a more$/, last.html.strip
80
+ end
81
+
82
+ end
83
+
@@ -0,0 +1,127 @@
1
+ # encoding: utf-8
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'philologic-client'
7
+ require 'test_response'
8
+ require 'test/unit'
9
+
10
+
11
+ class TestDocument < TestResponse
12
+
13
+ def test_initialization_with_nil_document
14
+ assert_raise(RuntimeError, 'nil document') { Philologic::Client::Document.new(nil) }
15
+ end
16
+
17
+ def test_initialization_with_empty_document
18
+ r = Philologic::Client::Document.new(@doc)
19
+ assert_not_nil r
20
+ assert_kind_of Philologic::Client::Response, r
21
+ assert_kind_of Philologic::Client::Document, r
22
+ assert_nil r.client
23
+ assert !r.links?
24
+ assert !r.text?
25
+ assert_kind_of Array, r.links
26
+ assert_equal 0, r.links.size
27
+ end
28
+
29
+ def test_initialization_with_client
30
+ r = Philologic::Client::Document.new( @doc, @client )
31
+ assert_not_nil r
32
+ assert_kind_of Philologic::Client::Response, r
33
+ assert_kind_of Philologic::Client::Document, r
34
+ assert_not_nil r.client
35
+ assert_equal @client, r.client
36
+ assert !r.links?
37
+ assert !r.text?
38
+ assert_nil r['author']
39
+ assert_nil r['title']
40
+ assert_kind_of Array, r.links
41
+ assert_equal 0, r.links.size
42
+ end
43
+
44
+ def test_with_sample_navigation_file
45
+ f = File.join( File.dirname(__FILE__), 'data', 'navigation.html' )
46
+ r = Philologic::Client::Document.new( Nokogiri::HTML( open(f).read, nil, @client.encoding ) )
47
+ assert_not_nil r
48
+ assert_kind_of Philologic::Client::Response, r
49
+ assert_kind_of Philologic::Client::Document, r
50
+ assert_nil r.client
51
+
52
+ assert_not_nil r.keys
53
+ assert_kind_of Array, r.keys
54
+ assert_equal 2, r.keys.size
55
+ assert_equal %w( author title ), r.keys
56
+
57
+ r.each_with_index do |k, idx|
58
+ case idx
59
+ when 0
60
+ assert_equal 'author', k
61
+ assert_equal 'William Shakespeare', r[k]
62
+ when 1
63
+ assert_equal 'title', k
64
+ assert_equal 'The First Part of King Henry the Fourth', r[k]
65
+ end
66
+ end
67
+
68
+ assert_equal 'William Shakespeare', r['author']
69
+ assert_equal 'The First Part of King Henry the Fourth', r['title']
70
+
71
+ assert r.links?
72
+ assert_kind_of Array, r.links
73
+ assert_equal 26, r.links.size
74
+ assert_kind_of Philologic::Client::Link, r.links.first
75
+ assert_equal './1/2', r.links.first.url
76
+ assert_equal '', r.links.first.text
77
+ assert_kind_of Philologic::Client::Link, r.links.last
78
+ assert_equal './1/7/6', r.links.last.url
79
+ assert_equal 'Act 5, Scene 5', r.links.last.text
80
+
81
+ assert !r.text?
82
+ assert_nil r.text
83
+ assert_nil r.html
84
+ end
85
+
86
+ def test_with_sample_object_file
87
+ f = File.join( File.dirname(__FILE__), 'data', 'object.html' )
88
+ r = Philologic::Client::Document.new( Nokogiri::HTML( open(f).read, nil, @client.encoding ) )
89
+ assert_not_nil r
90
+ assert_kind_of Philologic::Client::Response, r
91
+ assert_kind_of Philologic::Client::Document, r
92
+ assert_nil r.client
93
+
94
+ assert_not_nil r.keys
95
+ assert_kind_of Array, r.keys
96
+ assert_equal 2, r.keys.size
97
+ assert_equal %w( author title ), r.keys
98
+
99
+ r.each_with_index do |k, idx|
100
+ case idx
101
+ when 0
102
+ assert_equal 'author', k
103
+ assert_equal 'William Shakespeare', r[k]
104
+ when 1
105
+ assert_equal 'title', k
106
+ assert_equal 'The First Part of King Henry the Fourth', r[k]
107
+ end
108
+ end
109
+
110
+ assert_equal 'William Shakespeare', r['author']
111
+ assert_equal 'The First Part of King Henry the Fourth', r['title']
112
+
113
+ assert !r.links?
114
+ assert_kind_of Array, r.links
115
+ assert_equal 0, r.links.size
116
+
117
+ assert r.text?
118
+ assert_match /^The First Part of King /, r.text.strip
119
+ assert_match /assistants\s+\n The/, r.text.strip
120
+ assert_match /and W\. A\. Wright\.$/, r.text.strip
121
+ assert_match /^The First Part of King /, r.html.strip
122
+ assert_match /<p><\/p> The WordHoard/, r.html.strip
123
+ assert_match /and W\. A\. Wright\.$/, r.html.strip
124
+ end
125
+
126
+ end
127
+
@@ -0,0 +1,78 @@
1
+ # encoding: utf-8
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'philologic-client'
7
+ require 'test_response'
8
+ require 'test/unit'
9
+
10
+
11
+ class TestFrequency < TestResponse
12
+
13
+ def test_initialization_with_nil_document
14
+ assert_raise(RuntimeError, 'nil document') { Philologic::Client::Frequency.new(nil) }
15
+ end
16
+
17
+ def test_initialization_with_empty_document
18
+ r = Philologic::Client::Frequency.new(@doc)
19
+ assert_not_nil r
20
+ assert_kind_of Philologic::Client::Response, r
21
+ assert_kind_of Philologic::Client::Frequency, r
22
+ assert_nil r.client
23
+ assert_nil r.label_header
24
+ assert_nil r.value_header
25
+ assert !r.results?
26
+ assert_not_nil r.results
27
+ assert_kind_of Array, r.results
28
+ assert_equal 0, r.results.size
29
+ end
30
+
31
+ def test_initialization_with_client
32
+ r = Philologic::Client::Frequency.new( @doc, @client )
33
+ assert_not_nil r
34
+ assert_kind_of Philologic::Client::Response, r
35
+ assert_kind_of Philologic::Client::Frequency, r
36
+ assert_not_nil r.client
37
+ assert_equal @client, r.client
38
+ assert_nil r.label_header
39
+ assert_nil r.value_header
40
+ assert !r.results?
41
+ assert_not_nil r.results
42
+ assert_kind_of Array, r.results
43
+ assert_equal 0, r.results.size
44
+ end
45
+
46
+ def test_with_sample_file
47
+ f = File.join( File.dirname(__FILE__), 'data', 'frequency.html' )
48
+ r = Philologic::Client::Frequency.new( Nokogiri::HTML( open(f).read, nil, @client.encoding ) )
49
+ assert_not_nil r
50
+ assert_kind_of Philologic::Client::Response, r
51
+ assert_kind_of Philologic::Client::Frequency, r
52
+ assert_nil r.client
53
+
54
+ assert_equal 'title', r.label_header
55
+ assert_equal 'count', r.value_header
56
+
57
+ assert r.results?
58
+ assert_not_nil r.results
59
+ assert_kind_of Array, r.results
60
+ assert_equal 29, r.results.size
61
+
62
+ first = r.results.first
63
+ assert_not_nil first
64
+ assert_kind_of Philologic::Client::FrequencyRow, first
65
+ assert_equal "A Midsummer Night's Dream", first.label
66
+ assert_equal './?q=lion&title=A+Midsummer+Night%27s+Dream', first.link
67
+ assert_equal '30', first.value
68
+
69
+ last = r.results.last
70
+ assert_not_nil last
71
+ assert_kind_of Philologic::Client::FrequencyRow, last
72
+ assert_equal 'As You Like It', last.label
73
+ assert_equal './?q=lion&title=As+You+Like+It', last.link
74
+ assert_equal '1', last.value
75
+ end
76
+
77
+ end
78
+
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'philologic-client'
7
+ require 'test/unit'
8
+
9
+
10
+ class TestOccurrence < Test::Unit::TestCase
11
+
12
+ def setup
13
+ @endpoint = File.expand_path( File.join( File.dirname(__FILE__), 'data' ) )
14
+ @client = Philologic::Client.new(@endpoint)
15
+ @doc = Nokogiri::HTML("")
16
+ end
17
+
18
+
19
+ def test_initialization_with_nil_document
20
+ assert_raise(RuntimeError, 'nil document') { Philologic::Client::Occurrence.new(nil) }
21
+ end
22
+
23
+ def test_initialization_with_empty_document
24
+ r = Philologic::Client::Occurrence.new(@doc)
25
+ assert_not_nil r
26
+ assert_kind_of Philologic::Client::Occurrence, r
27
+ assert_kind_of Philologic::Client::Response, r
28
+ assert_nil r.client
29
+ assert_nil r['author']
30
+ assert_nil r['title']
31
+ assert_nil r['href']
32
+ end
33
+
34
+ def test_initialization_with_client
35
+ r = Philologic::Client::Occurrence.new( @doc, @client )
36
+ assert_not_nil r
37
+ assert_kind_of Philologic::Client::Occurrence, r
38
+ assert_kind_of Philologic::Client::Response, r
39
+ assert_not_nil r.client
40
+ assert_equal @client, r.client
41
+ assert_nil r['author']
42
+ assert_nil r['title']
43
+ assert_nil r['href']
44
+ end
45
+
46
+ def test_occurrence
47
+ html = <<EOHTML;
48
+ <li class='philologic_occurence'>
49
+ <a href="./1/0/0/0/0" class='philologic_cite'><span class='philologic_property' title='author'>William Shakespeare</span>, <i><span class='philologic_cite' title='title'>The First Part of King Henry the Fourth</span></i> : <span class='philologic_property' title='who'></span></a>
50
+ </li>
51
+ EOHTML
52
+ r = Philologic::Client::Occurrence.new( Nokogiri::HTML(html), @client )
53
+ assert_not_nil r
54
+ assert_kind_of Philologic::Client::Occurrence, r
55
+ assert_kind_of Philologic::Client::Response, r
56
+ assert_not_nil r.client
57
+ assert_equal @client, r.client
58
+
59
+ assert_equal 'William Shakespeare', r['author']
60
+ assert_equal 'The First Part of King Henry the Fourth', r['title']
61
+ assert_equal '', r['who']
62
+ assert_equal './1/0/0/0/0', r['href']
63
+ end
64
+
65
+ end
66
+
@@ -0,0 +1,41 @@
1
+ # encoding: utf-8
2
+
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+
6
+ require 'philologic-client'
7
+ require 'test/unit'
8
+
9
+
10
+ class TestResponse < Test::Unit::TestCase
11
+
12
+ def setup
13
+ @endpoint = File.expand_path( File.join( File.dirname(__FILE__), 'data' ) )
14
+ @client = Philologic::Client.new(@endpoint)
15
+ @doc = Nokogiri::HTML("")
16
+ end
17
+
18
+
19
+ def test_initialization_with_nil_document
20
+ assert_raise(RuntimeError, 'nil document') { Philologic::Client::Response.new(nil) }
21
+ end
22
+
23
+ def test_initialization_with_empty_document
24
+ r = Philologic::Client::Response.new(@doc)
25
+ assert_not_nil r
26
+ assert_kind_of Philologic::Client::Response, r
27
+ assert_nil r.client
28
+ end
29
+
30
+ def test_initialization_with_client
31
+ r = Philologic::Client::Response.new( @doc, @client )
32
+ assert_not_nil r
33
+ assert_kind_of Philologic::Client::Response, r
34
+ assert_not_nil r.client
35
+ assert_equal @client, r.client
36
+ assert_nil r['author']
37
+ assert_nil r['title']
38
+ end
39
+
40
+ end
41
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philologic-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-09 00:00:00.000000000Z
12
+ date: 2012-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70128325064720 !ruby/object:Gem::Requirement
16
+ requirement: &70355940235640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70128325064720
24
+ version_requirements: *70355940235640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &70128325064280 !ruby/object:Gem::Requirement
27
+ requirement: &70355940234740 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70128325064280
35
+ version_requirements: *70355940234740
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: mocha
38
- requirement: &70128325063780 !ruby/object:Gem::Requirement
38
+ requirement: &70355940234220 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70128325063780
46
+ version_requirements: *70355940234220
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc-readme
49
- requirement: &70128325052240 !ruby/object:Gem::Requirement
49
+ requirement: &70355940233580 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.1.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70128325052240
57
+ version_requirements: *70355940233580
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: simplecov
60
- requirement: &70128325051400 !ruby/object:Gem::Requirement
60
+ requirement: &70355940233100 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70128325051400
68
+ version_requirements: *70355940233100
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: nokogiri
71
- requirement: &70128325050940 !ruby/object:Gem::Requirement
71
+ requirement: &70355940255960 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70128325050940
79
+ version_requirements: *70355940255960
80
80
  description: Ruby client for interacting with the Philologic API.
81
81
  email:
82
82
  - blair.christensen@gmail.com
@@ -87,21 +87,35 @@ files:
87
87
  - .gitignore
88
88
  - Gemfile
89
89
  - HISTORY.rdoc
90
+ - PhiloLogicResponseDocumentation.txt
90
91
  - README.rdoc
91
92
  - Rakefile
92
- - doc/PhiloLogicResponseTemplates.txt
93
93
  - lib/philologic-client.rb
94
+ - lib/philologic-client/bibliography.rb
95
+ - lib/philologic-client/collocation.rb
96
+ - lib/philologic-client/concordance.rb
97
+ - lib/philologic-client/document.rb
98
+ - lib/philologic-client/frequency.rb
99
+ - lib/philologic-client/frequency_row.rb
100
+ - lib/philologic-client/link.rb
101
+ - lib/philologic-client/occurrence.rb
102
+ - lib/philologic-client/response.rb
94
103
  - lib/philologic-client/version.rb
95
104
  - philologic-client.gemspec
96
- - test/data/collocation_links.html
97
- - test/data/collocation_sartre.html
98
- - test/data/doc_file.html
99
- - test/data/frequency_links.html
100
- - test/data/frequency_sartre.html
101
- - test/data/query_sartre.html
102
- - test/data/root_file.html
103
- - test/test_philologic_client.rb
104
- - test/test_philologic_link.rb
105
+ - test/data/bibliography.html
106
+ - test/data/collocation.html
107
+ - test/data/concordance.html
108
+ - test/data/frequency.html
109
+ - test/data/navigation.html
110
+ - test/data/object.html
111
+ - test/test_bibliography.rb
112
+ - test/test_client.rb
113
+ - test/test_collocation.rb
114
+ - test/test_concordance.rb
115
+ - test/test_document.rb
116
+ - test/test_frequency.rb
117
+ - test/test_occurrence.rb
118
+ - test/test_response.rb
105
119
  homepage: https://github.com/blairc/philologic-client/
106
120
  licenses: []
107
121
  post_install_message:
@@ -116,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
130
  version: '0'
117
131
  segments:
118
132
  - 0
119
- hash: -3858874117340008545
133
+ hash: 1785018451817117729
120
134
  required_rubygems_version: !ruby/object:Gem::Requirement
121
135
  none: false
122
136
  requirements:
@@ -125,20 +139,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
139
  version: '0'
126
140
  segments:
127
141
  - 0
128
- hash: -3858874117340008545
142
+ hash: 1785018451817117729
129
143
  requirements: []
130
144
  rubyforge_project: philologic-client
131
- rubygems_version: 1.8.7
145
+ rubygems_version: 1.8.11
132
146
  signing_key:
133
147
  specification_version: 3
134
148
  summary: Ruby client for interacting with the Philologic API.
135
149
  test_files:
136
- - test/data/collocation_links.html
137
- - test/data/collocation_sartre.html
138
- - test/data/doc_file.html
139
- - test/data/frequency_links.html
140
- - test/data/frequency_sartre.html
141
- - test/data/query_sartre.html
142
- - test/data/root_file.html
143
- - test/test_philologic_client.rb
144
- - test/test_philologic_link.rb
150
+ - test/data/bibliography.html
151
+ - test/data/collocation.html
152
+ - test/data/concordance.html
153
+ - test/data/frequency.html
154
+ - test/data/navigation.html
155
+ - test/data/object.html
156
+ - test/test_bibliography.rb
157
+ - test/test_client.rb
158
+ - test/test_collocation.rb
159
+ - test/test_concordance.rb
160
+ - test/test_document.rb
161
+ - test/test_frequency.rb
162
+ - test/test_occurrence.rb
163
+ - test/test_response.rb