google-cse 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ require 'google_cse'
2
+
3
+ RSpec.configure do |config|
4
+ Dir[File.join(File.dirname(__FILE__),'spec','support''**','*.rb')].each {|f| require f}
5
+ config.mock_with :rspec
6
+ config.order = "random"
7
+ end
8
+
9
+ GoogleCSE::CX = 'cse-identifier'
10
+ GoogleCSE::KEY = 'custom-search-key'
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cse
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Achilles Charmpilas
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-02-07 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: json
16
+ requirement: &2161632820 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2161632820
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &2161632400 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *2161632400
36
+ - !ruby/object:Gem::Dependency
37
+ name: fuubar
38
+ requirement: &2161631980 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2161631980
47
+ description: A wee Google CSE client
48
+ email:
49
+ - ac@humbuckercode.co.uk
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - .gitignore
55
+ - .travis.yml
56
+ - Gemfile
57
+ - Gemfile.lock
58
+ - LICENSE.txt
59
+ - README.md
60
+ - Rakefile
61
+ - google-cse.gemspec
62
+ - lib/google_cse.rb
63
+ - lib/google_cse/query.rb
64
+ - lib/google_cse/result.rb
65
+ - lib/google_cse/version.rb
66
+ - spec/files/google_image_search.txt
67
+ - spec/files/google_search.txt
68
+ - spec/files/google_search_page2.txt
69
+ - spec/google_cse_spec.rb
70
+ - spec/spec_helper.rb
71
+ homepage: http://humbuckercode.co.uk/licks/gems/google-cse
72
+ licenses: []
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ requirements: []
90
+ rubyforge_project:
91
+ rubygems_version: 1.8.10
92
+ signing_key:
93
+ specification_version: 3
94
+ summary: A wee Google CSE client. Use it to easily query your custom search engine.
95
+ Supports image search.
96
+ test_files:
97
+ - spec/files/google_image_search.txt
98
+ - spec/files/google_search.txt
99
+ - spec/files/google_search_page2.txt
100
+ - spec/google_cse_spec.rb
101
+ - spec/spec_helper.rb