gphoto4ruby 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +4 -0
- data/ext/gphoto2camera.c +2 -0
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/ext/gphoto2camera.c
CHANGED
@@ -415,6 +415,7 @@ VALUE camera_delete(int argc, VALUE *argv, VALUE self) {
|
|
415
415
|
} else {
|
416
416
|
gp_result_check(gp_camera_folder_delete_all(c->camera, cFolderName, c->context));
|
417
417
|
}
|
418
|
+
gp_result_check(gp_filesystem_reset(c->camera->fs));
|
418
419
|
return self;
|
419
420
|
}
|
420
421
|
|
@@ -995,6 +996,7 @@ VALUE camera_wait(int argc, VALUE *argv, VALUE self) {
|
|
995
996
|
Data_Get_Struct(self, GPhoto2Camera, c);
|
996
997
|
ce = (GPhoto2CameraEvent*) malloc(sizeof(GPhoto2CameraEvent));
|
997
998
|
|
999
|
+
gp_result_check(gp_filesystem_reset(c->camera->fs));
|
998
1000
|
gp_result_check(gp_camera_wait_for_event(c->camera, to, &(ce->type), &evtData, c->context));
|
999
1001
|
|
1000
1002
|
switch (ce->type) {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gphoto4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- heq4 company
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2008-10-
|
13
|
+
date: 2008-10-16 00:00:00 +04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
requirements: []
|
75
75
|
|
76
76
|
rubyforge_project: gphoto4ruby
|
77
|
-
rubygems_version: 1.
|
77
|
+
rubygems_version: 1.2.0
|
78
78
|
signing_key:
|
79
79
|
specification_version: 2
|
80
80
|
summary: GPhoto4Ruby is Ruby wrapping around gphoto2 C library
|