rays 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/rays.gemspec +1 -1
- data/src/ios/camera.mm +1 -1
- data/src/osx/camera.mm +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14424275a96e7500294e649629b7dfc654c1fa8a0c0f97ad89a8280481d40e31
|
4
|
+
data.tar.gz: db50e1840c88b5a73039c268f55051a892f31d85692b99b699bada329e24efb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce029251dbb42520c043ce038c6e906763451899da9198c089a78ec558995cc110edb201a42d115af9158898210444d71feba4849e7dd65f09d7c54040aa7db8
|
7
|
+
data.tar.gz: 7f5d5c0d4dc84f0ec3298eeebd9fb17b7244f7f6f799c29d2cabc4eb7663a8999dc0d0e95d083e6b877797190a729071b9b2163fc158bd27d917153c1fade75a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.19
|
data/rays.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.platform = Gem::Platform::RUBY
|
29
29
|
s.required_ruby_version = '~> 2'
|
30
30
|
|
31
|
-
s.add_runtime_dependency 'xot', '~> 0.1.
|
31
|
+
s.add_runtime_dependency 'xot', '~> 0.1.19'
|
32
32
|
s.add_runtime_dependency 'rucy', '~> 0.1.18'
|
33
33
|
|
34
34
|
s.files = `git ls-files`.split $/
|
data/src/ios/camera.mm
CHANGED
@@ -326,7 +326,7 @@ namespace Rays
|
|
326
326
|
*draw_x = min_width / 2 - *draw_width / 2;
|
327
327
|
*bitmap_width = min_width;
|
328
328
|
}
|
329
|
-
|
329
|
+
if (crop && min_height > 0)
|
330
330
|
{
|
331
331
|
*draw_y = min_height / 2 - *draw_height / 2;
|
332
332
|
*bitmap_height = min_height;
|
data/src/osx/camera.mm
CHANGED
@@ -280,7 +280,7 @@ namespace Rays
|
|
280
280
|
*draw_x = min_width / 2 - *draw_width / 2;
|
281
281
|
*bitmap_width = min_width;
|
282
282
|
}
|
283
|
-
|
283
|
+
if (crop && min_height > 0)
|
284
284
|
{
|
285
285
|
*draw_y = min_height / 2 - *draw_height / 2;
|
286
286
|
*bitmap_height = min_height;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rays
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xordog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xot
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.19
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.19
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rucy
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|