gphoto4ruby 0.3.4 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,12 @@
1
+ == 0.4.0
2
+
3
+ * Tested ruby support including 1.9.1
4
+ * Changed main gem hosting to gemcutter.org
5
+
6
+ == 0.3.4
7
+
8
+ * Test version on compatibility with different ruby versions including 1.9
9
+
1
10
  == 0.3.3
2
11
 
3
12
  * Removed fake unknown type event catch when receiving file or folder created evt
data/Rakefile CHANGED
@@ -22,3 +22,33 @@ desc "Upload rdoc to RubyForge."
22
22
  task :publish_rdoc => [:rdoc] do
23
23
  exec "scp -r rdoc/* lonelyelk@rubyforge.org:/var/www/gforge-projects/gphoto4ruby"
24
24
  end
25
+
26
+ begin
27
+ require 'jeweler'
28
+ spec = Gem::Specification.new do |s|
29
+ s.name = "gphoto4ruby"
30
+ s.summary = "GPhoto4Ruby is Ruby wrapping around gphoto2 C library"
31
+
32
+ s.authors = ["neq4 company", "Sergey Kruk"]
33
+ s.email = "sergey.kruk@gmail.com"
34
+ s.homepage = "http://github.com/lonelyelk/gphoto4ruby"
35
+ s.rubyforge_project = "gphoto4ruby"
36
+
37
+ s.has_rdoc = true
38
+ s.rdoc_options << "--main" << "README.rdoc"
39
+ s.rdoc_options << "--charset" << "UTF-8"
40
+ s.rdoc_options << "--webcvs" << "http://github.com/lonelyelk/gphoto4ruby/tree/master"
41
+ s.extra_rdoc_files = [ "ext/gphoto4ruby.c",
42
+ "ext/gphoto2camera.c", "ext/gphoto2camera_event.c",
43
+ "README.rdoc", "LICENSE", "CHANGELOG.rdoc",
44
+ "docs/COPYING", "docs/COPYING.LESSER"]
45
+
46
+ s.files = %w(CHANGELOG.rdoc LICENSE README.rdoc Rakefile VERSION docs docs/COPYING docs/COPYING.LESSER example.rb ext ext/extconf.rb ext/gphoto4ruby.c ext/gphoto2camera.c ext/gphoto2camera.h ext/gphoto2camera_event.c ext/gphoto2camera_event.h ext/gphoto2camera_utilities.c ext/gphoto2camera_utilities.h)
47
+ s.extensions = ["ext/extconf.rb"]
48
+ end
49
+ Jeweler::Tasks.new(spec)
50
+ Jeweler::RubyforgeTasks.new
51
+ Jeweler::GemcutterTasks.new
52
+ rescue LoadError
53
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
54
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.4.0
@@ -26,6 +26,17 @@
26
26
  #include <gphoto2/gphoto2.h>
27
27
  #include <ruby.h>
28
28
 
29
+
30
+ #ifndef RSTRING_PTR
31
+ #define RSTRING_PTR(c) (RSTRING(c)->ptr)
32
+ #endif
33
+ #ifndef RARRAY_PTR
34
+ #define RARRAY_PTR(c) (RARRAY(c)->ptr)
35
+ #endif
36
+ #ifndef RARRAY_LEN
37
+ #define RARRAY_LEN(c) (RARRAY(c)->len)
38
+ #endif
39
+
29
40
  #ifndef _INC_CAMERA_UTILITIES
30
41
  #define _INC_CAMERA_UTILITIES
31
42
 
data/ext/gphoto4ruby.c CHANGED
@@ -19,13 +19,6 @@
19
19
  * along with GPhoto4Ruby. If not, see <http://www.gnu.org/licenses/>.
20
20
  *
21
21
  */
22
- /*
23
- #ifndef RUBY_19
24
- #define RSTRING_PTR(c) (RSTRING(c)->ptr)
25
- #define RARRAY_PTR(c) (RARRAY(c)->ptr)
26
- #define RARRAY_LEN(c) (RARRAY(c)->len)
27
- #endif
28
- */
29
22
 
30
23
  #include <ruby.h>
31
24
  #include "gphoto2camera_event.h"
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.3.4
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - neq4 company
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-10-14 00:00:00 +04:00
13
+ date: 2009-10-16 00:00:00 +04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -21,30 +21,31 @@ executables: []
21
21
  extensions:
22
22
  - ext/extconf.rb
23
23
  extra_rdoc_files:
24
- - ext/gphoto4ruby.c
25
- - ext/gphoto2camera.c
26
- - ext/gphoto2camera_event.c
27
- - README.rdoc
28
- - LICENSE
29
24
  - CHANGELOG.rdoc
25
+ - LICENSE
26
+ - README.rdoc
30
27
  - docs/COPYING
31
28
  - docs/COPYING.LESSER
29
+ - ext/gphoto2camera.c
30
+ - ext/gphoto2camera_event.c
31
+ - ext/gphoto4ruby.c
32
32
  files:
33
33
  - CHANGELOG.rdoc
34
34
  - LICENSE
35
35
  - README.rdoc
36
36
  - Rakefile
37
+ - VERSION
37
38
  - docs/COPYING
38
39
  - docs/COPYING.LESSER
39
40
  - example.rb
40
41
  - ext/extconf.rb
41
- - ext/gphoto4ruby.c
42
42
  - ext/gphoto2camera.c
43
43
  - ext/gphoto2camera.h
44
44
  - ext/gphoto2camera_event.c
45
45
  - ext/gphoto2camera_event.h
46
46
  - ext/gphoto2camera_utilities.c
47
47
  - ext/gphoto2camera_utilities.h
48
+ - ext/gphoto4ruby.c
48
49
  has_rdoc: true
49
50
  homepage: http://github.com/lonelyelk/gphoto4ruby
50
51
  licenses: []
@@ -57,6 +58,7 @@ rdoc_options:
57
58
  - UTF-8
58
59
  - --webcvs
59
60
  - http://github.com/lonelyelk/gphoto4ruby/tree/master
61
+ - --charset=UTF-8
60
62
  require_paths:
61
63
  - lib
62
64
  required_ruby_version: !ruby/object:Gem::Requirement