gphoto4ruby 0.2.6 → 0.2.7

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.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +7 -0
  2. data/ext/gphoto2camera.c +3 -0
  3. metadata +3 -3
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.2.7
2
+
3
+ * In some situations CameraEvent can have 'unknown' type while
4
+ file was added. Same as ordinary 'file added' event, this event
5
+ is followed by another 'unknown' type event. Second 'unknown'
6
+ type event is omited.
7
+
1
8
  == 0.2.6
2
9
 
3
10
  * Can use config(:no_cache)
data/ext/gphoto2camera.c CHANGED
@@ -1006,6 +1006,9 @@ VALUE camera_wait(int argc, VALUE *argv, VALUE self) {
1006
1006
  strcpy(c->virtFolder, c->path->folder);
1007
1007
  gp_result_check(gp_camera_wait_for_event(c->camera, 100, &fakeType, &fakeData, c->context));
1008
1008
  break;
1009
+ case GP_EVENT_UNKNOWN:
1010
+ gp_result_check(gp_camera_wait_for_event(c->camera, 100, &fakeType, &fakeData, c->context));
1011
+ break;
1009
1012
  default:
1010
1013
  break;
1011
1014
  }
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.6
4
+ version: 0.2.7
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-10 00:00:00 +04:00
13
+ date: 2008-10-15 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.2.0
77
+ rubygems_version: 1.3.0
78
78
  signing_key:
79
79
  specification_version: 2
80
80
  summary: GPhoto4Ruby is Ruby wrapping around gphoto2 C library