grope 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/grope.gemspec +23 -22
- data/lib/grope/env.rb +2 -4
- data/lib/grope/wso_wrapper.rb +4 -0
- metadata +13 -21
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/grope.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{grope}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["youpy"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2012-10-22}
|
13
13
|
s.default_executable = %q{grope}
|
14
14
|
s.description = %q{A non-GUI library to represent browser environment using WebKit Framework}
|
15
15
|
s.email = %q{youpy@buycheapviagraonlinenow.com}
|
@@ -20,6 +20,9 @@ Gem::Specification.new do |s|
|
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
|
+
".rspec",
|
24
|
+
"Gemfile",
|
25
|
+
"Gemfile.lock",
|
23
26
|
"LICENSE",
|
24
27
|
"README.rdoc",
|
25
28
|
"Rakefile",
|
@@ -39,39 +42,37 @@ Gem::Specification.new do |s|
|
|
39
42
|
"lib/grope/web_resource_load_delegate.rb",
|
40
43
|
"lib/grope/wso_wrapper.rb",
|
41
44
|
"spec/env_spec.rb",
|
42
|
-
"spec/spec.opts",
|
43
45
|
"spec/spec_helper.rb",
|
44
46
|
"spec/wso_wrapper_spec.rb"
|
45
47
|
]
|
46
48
|
s.homepage = %q{http://github.com/youpy/grope}
|
47
49
|
s.require_paths = ["lib"]
|
48
|
-
s.rubygems_version = %q{1.
|
50
|
+
s.rubygems_version = %q{1.3.6}
|
49
51
|
s.summary = %q{A non-GUI library to represent browser environment}
|
50
|
-
s.test_files = [
|
51
|
-
"examples/js_minifier.rb",
|
52
|
-
"examples/js_minifier_sinatra.rb",
|
53
|
-
"examples/map_generator.rb",
|
54
|
-
"examples/md5.rb",
|
55
|
-
"examples/patterns.rb",
|
56
|
-
"examples/url2png.rb",
|
57
|
-
"spec/env_spec.rb",
|
58
|
-
"spec/spec_helper.rb",
|
59
|
-
"spec/wso_wrapper_spec.rb"
|
60
|
-
]
|
61
52
|
|
62
53
|
if s.respond_to? :specification_version then
|
54
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
63
55
|
s.specification_version = 3
|
64
56
|
|
65
|
-
if Gem::Version.new(Gem::
|
66
|
-
s.
|
67
|
-
s.add_runtime_dependency(%q<mechanize>, ["
|
57
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
58
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
59
|
+
s.add_runtime_dependency(%q<mechanize>, ["= 2.0.1"])
|
60
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
61
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
62
|
+
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
68
63
|
else
|
69
|
-
s.add_dependency(%q<
|
70
|
-
s.add_dependency(%q<mechanize>, ["
|
64
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
65
|
+
s.add_dependency(%q<mechanize>, ["= 2.0.1"])
|
66
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
67
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
68
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
71
69
|
end
|
72
70
|
else
|
73
|
-
s.add_dependency(%q<
|
74
|
-
s.add_dependency(%q<mechanize>, ["
|
71
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
72
|
+
s.add_dependency(%q<mechanize>, ["= 2.0.1"])
|
73
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
74
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
75
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
data/lib/grope/env.rb
CHANGED
@@ -212,10 +212,8 @@ JS
|
|
212
212
|
end
|
213
213
|
|
214
214
|
def create_window
|
215
|
-
|
216
|
-
|
217
|
-
@window.setContentView(@webview)
|
218
|
-
end
|
215
|
+
@window = NSWindow.alloc.initWithContentRect_styleMask_backing_defer_(rect, NSBorderlessWindowMask, 2, false)
|
216
|
+
@window.setContentView(@webview)
|
219
217
|
end
|
220
218
|
|
221
219
|
def rect
|
data/lib/grope/wso_wrapper.rb
CHANGED
metadata
CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.2.0
|
8
|
+
- 2
|
9
|
+
version: 0.2.2
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- youpy
|
@@ -15,23 +14,23 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2012-
|
17
|
+
date: 2012-10-22 00:00:00 +09:00
|
19
18
|
default_executable: grope
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
segments:
|
27
27
|
- 0
|
28
|
-
segments_generated: true
|
29
28
|
version: "0"
|
30
|
-
requirement: *id001
|
31
29
|
name: httparty
|
30
|
+
requirement: *id001
|
32
31
|
prerelease: false
|
33
|
-
type: :runtime
|
34
32
|
- !ruby/object:Gem::Dependency
|
33
|
+
type: :runtime
|
35
34
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
36
35
|
requirements:
|
37
36
|
- - "="
|
@@ -40,13 +39,12 @@ dependencies:
|
|
40
39
|
- 2
|
41
40
|
- 0
|
42
41
|
- 1
|
43
|
-
segments_generated: true
|
44
42
|
version: 2.0.1
|
45
|
-
requirement: *id002
|
46
43
|
name: mechanize
|
44
|
+
requirement: *id002
|
47
45
|
prerelease: false
|
48
|
-
type: :runtime
|
49
46
|
- !ruby/object:Gem::Dependency
|
47
|
+
type: :development
|
50
48
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
51
49
|
requirements:
|
52
50
|
- - ~>
|
@@ -55,13 +53,12 @@ dependencies:
|
|
55
53
|
- 2
|
56
54
|
- 3
|
57
55
|
- 0
|
58
|
-
segments_generated: true
|
59
56
|
version: 2.3.0
|
60
|
-
requirement: *id003
|
61
57
|
name: rspec
|
58
|
+
requirement: *id003
|
62
59
|
prerelease: false
|
63
|
-
type: :development
|
64
60
|
- !ruby/object:Gem::Dependency
|
61
|
+
type: :development
|
65
62
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
66
63
|
requirements:
|
67
64
|
- - ~>
|
@@ -70,25 +67,22 @@ dependencies:
|
|
70
67
|
- 1
|
71
68
|
- 6
|
72
69
|
- 4
|
73
|
-
segments_generated: true
|
74
70
|
version: 1.6.4
|
75
|
-
requirement: *id004
|
76
71
|
name: jeweler
|
72
|
+
requirement: *id004
|
77
73
|
prerelease: false
|
78
|
-
type: :development
|
79
74
|
- !ruby/object:Gem::Dependency
|
75
|
+
type: :development
|
80
76
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
81
77
|
requirements:
|
82
78
|
- - ">="
|
83
79
|
- !ruby/object:Gem::Version
|
84
80
|
segments:
|
85
81
|
- 0
|
86
|
-
segments_generated: true
|
87
82
|
version: "0"
|
88
|
-
requirement: *id005
|
89
83
|
name: rdoc
|
84
|
+
requirement: *id005
|
90
85
|
prerelease: false
|
91
|
-
type: :development
|
92
86
|
description: A non-GUI library to represent browser environment using WebKit Framework
|
93
87
|
email: youpy@buycheapviagraonlinenow.com
|
94
88
|
executables:
|
@@ -139,7 +133,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
133
|
- !ruby/object:Gem::Version
|
140
134
|
segments:
|
141
135
|
- 0
|
142
|
-
segments_generated: true
|
143
136
|
version: "0"
|
144
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
138
|
requirements:
|
@@ -147,7 +140,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
140
|
- !ruby/object:Gem::Version
|
148
141
|
segments:
|
149
142
|
- 0
|
150
|
-
segments_generated: true
|
151
143
|
version: "0"
|
152
144
|
requirements: []
|
153
145
|
|