gphoto4ruby 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/ext/gphoto2camera.c +1 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/ext/gphoto2camera.c
CHANGED
@@ -43,6 +43,7 @@ VALUE camera_allocate(VALUE klass) {
|
|
43
43
|
strcpy(c->virtFolder, "/");
|
44
44
|
c->context = gp_context_new();
|
45
45
|
gp_result_check(gp_camera_new(&(c->camera)));
|
46
|
+
gp_result_check(gp_camera_get_config(c->camera, &(c->config), c->context));
|
46
47
|
gp_result_check(gp_list_new(&(c->list)));
|
47
48
|
gp_result_check(gp_file_new(&(c->file)));
|
48
49
|
return Data_Wrap_Struct(klass, camera_mark, camera_free, c);
|
@@ -96,7 +97,6 @@ VALUE camera_initialize(int argc, VALUE *argv, VALUE self) {
|
|
96
97
|
return Qnil;
|
97
98
|
}
|
98
99
|
|
99
|
-
gp_result_check(gp_camera_get_config(c->camera, &(c->config), c->context));
|
100
100
|
cfgs = rb_hash_new();
|
101
101
|
populateWithConfigs(c->config, cfgs);
|
102
102
|
rb_iv_set(self, "@configuration", cfgs);
|
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.1
|
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-09-
|
13
|
+
date: 2008-09-22 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
|