canonball 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3f7b016fb7b602bd28796ab35c0c092d0786c6d
4
- data.tar.gz: 509500ebf2faff043edeccfc93c7faca02441d80
3
+ metadata.gz: 5b579e2658b0839d493d9964251fc95b387b88e0
4
+ data.tar.gz: cad26866db2850fc0159cf3dfa5629edd3613301
5
5
  SHA512:
6
- metadata.gz: edbf7f044af6b08f160150c89fc244e6b65ba713fbe138620cc0d2ad28f9536cf49559b9fab91323db9b6c7952684a005c0728bff963389a9976cba5d11a3d46
7
- data.tar.gz: 47dff232ae119f171609e190f59893c64e371669a7237d8ab3dfaa8db8a22830abaab7224290dfa7aac303f86d1af4c3d23f73f84d33cafbd6870e1ab526d2e1
6
+ metadata.gz: 03c11841d124b6661386b07b8764f57a1c3e3f9fa707a79f3fa420c55c0dbc5764de294a07e12919aab0be614974b1c1aea23a0199ec6d0d9008f115bc6e93f9
7
+ data.tar.gz: e441e26716f8ef88b396203238fca98c72d79c3e4c3c0ab77c40dee65dbc06c2e48dd94291813433f156a48934094c16ae1f06e20f7648f4e067f60a47ad51c6
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Canonball
2
2
 
3
+ [ ![Codeship Status for hooty/canonball](https://www.codeship.io/projects/9a884970-26f6-0132-7b27-1a72e97eb705/status)](https://www.codeship.io/projects/37606)
4
+ [![Code Climate](https://codeclimate.com/github/hooty/canonball/badges/gpa.svg)](https://codeclimate.com/github/hooty/canonball)
5
+ [![Test Coverage](https://codeclimate.com/github/hooty/canonball/badges/coverage.svg)](https://codeclimate.com/github/hooty/canonball)
6
+
7
+
3
8
  Magic sauce ruby wrapper for canon EOS EDSDK. This is a wrapper for a C library that take photos and download and delete them from the camera.
4
9
 
5
10
  ## Installation
data/canonball.gemspec CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency 'bundler', '~> 1.5'
22
22
  spec.add_development_dependency 'rake', '~> 10.3.2'
23
23
  spec.add_development_dependency 'rspec', '~> 3.1.0'
24
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.4.0'
24
25
 
25
26
  spec.add_dependency 'ffi', '~> 1.9.4'
26
27
 
@@ -1,3 +1,3 @@
1
1
  module Canonball
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/canonball.rb CHANGED
@@ -3,7 +3,7 @@ require "canonball/version"
3
3
 
4
4
  module Canonball
5
5
  extend FFI::Library
6
- ffi_lib "./lib/canonball/canonball.so"
6
+ ffi_lib "#{File.expand_path(File.dirname(__FILE__))}/canonball/canonball.so"
7
7
  attach_function :take_picture, [ :int ], :int
8
8
  attach_function :download_files, [ :int, :string], :int
9
9
  end
data/spec/spec_helper.rb CHANGED
@@ -1 +1,3 @@
1
+ require "codeclimate-test-reporter"
2
+ CodeClimate::TestReporter.start
1
3
  require "canonball"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canonball
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Christopher
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.1.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: codeclimate-test-reporter
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.4.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.4.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: ffi
57
71
  requirement: !ruby/object:Gem::Requirement