accessibility_core 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.markdown +4 -0
- data/ext/accessibility/screen_shooter/extconf.rb +1 -1
- data/lib/accessibility/core/version.rb +1 -1
- data/lib/accessibility/screen_shooter.rb +5 -3
- data/lib/accessibility/screen_shooter/version.rb +2 -0
- metadata +3 -1
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c02ae668648db03e4f2317f3f4fba44429f0355
|
4
|
+
data.tar.gz: 6f7f29fa9c18530e32e40b83aabf2da78e9fb336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a51c31d3e136470751bc530f9f7a0fbd35c15ec3727efcd38c5a9f93f50bbd4e374a5fff1837c55643024da553a1c08a3a66c6f176492cf72197ddf6cf6af0e
|
7
|
+
data.tar.gz: 63fab29f432cd2d6ce6e1f43d417440bed808762d501b16ad6306421c878c88a655ca4280390187b104de6632546e42f9772224f38cc821bdbe795238537b5a9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.markdown
CHANGED
@@ -15,7 +15,7 @@ unless RbConfig::CONFIG['CC'].match(/clang/)
|
|
15
15
|
RbConfig::MAKEFILE_CONFIG['CXX'] = clang
|
16
16
|
end
|
17
17
|
|
18
|
-
create_makefile 'screen_shooter/screen_shooter'
|
18
|
+
create_makefile 'accessibility/screen_shooter/screen_shooter'
|
19
19
|
|
20
20
|
makefile = File.read 'Makefile'
|
21
21
|
makefile.gsub! '$(DLLIB): $(OBJS) Makefile', '$(DLLIB): $(OBJS) Makefile ../bridge/bridge.o'
|
@@ -3,13 +3,15 @@ require 'accessibility/screen_shooter/screen_shooter.bundle'
|
|
3
3
|
|
4
4
|
module ScreenShooter
|
5
5
|
|
6
|
-
def shoot rect =
|
6
|
+
def shoot rect = CGRect.new(CGPoint.new(0, 0), CGSize.new(-1, -1)),
|
7
|
+
path = '~/Downloads'
|
8
|
+
|
7
9
|
path = File.expand_path path.to_s
|
8
10
|
path = "#{path}/AXElements-ScreenShot-#{Time.now.strftime '%Y%m%d%H%M%S'}.png"
|
9
11
|
|
10
|
-
|
12
|
+
raise 'Failed to save screenshot' unless screenshot rect, path
|
11
13
|
|
12
|
-
|
14
|
+
path
|
13
15
|
end
|
14
16
|
|
15
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accessibility_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Rada
|
@@ -47,6 +47,7 @@ extensions:
|
|
47
47
|
- ext/accessibility/bridge/extconf.rb
|
48
48
|
- ext/accessibility/extras/extconf.rb
|
49
49
|
- ext/accessibility/highlighter/extconf.rb
|
50
|
+
- ext/accessibility/screen_shooter/extconf.rb
|
50
51
|
extra_rdoc_files: []
|
51
52
|
files:
|
52
53
|
- ".yardopts"
|
@@ -74,6 +75,7 @@ files:
|
|
74
75
|
- lib/accessibility/extras/common.rb
|
75
76
|
- lib/accessibility/highlighter.rb
|
76
77
|
- lib/accessibility/screen_shooter.rb
|
78
|
+
- lib/accessibility/screen_shooter/version.rb
|
77
79
|
- test/helper.rb
|
78
80
|
homepage: https://github.com/AXElements/accessibility_core
|
79
81
|
licenses:
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
`L`�+CT�p i�M}��/���,����Z�Z��<��C��Z}����u�HmJ
|
2
|
+
E� a�i ���om�L�
|