rotor 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e809240d00248a17b4f0968d9ef774a433bd618
4
- data.tar.gz: 6c23efe5fd4047c8ac3f4f3ad36a688b9c6c6dd9
3
+ metadata.gz: 7a7b1eaa8942f8123307ef7e073ac09adef65317
4
+ data.tar.gz: 56b8152f0a06b29fcb4c3984d9c5123a5495c835
5
5
  SHA512:
6
- metadata.gz: 17b772dedf3a7b7afcbd89cef0054ab3218fa09fb007439b98208b710f917ab9f7db6f6091e10ea634404481805da828321ca9d6bd11fb88fcbc1bcbb5506d8d
7
- data.tar.gz: 42d6859e214b3309e0abd1e500f7b6eaac9fe90e2b3e1ae45cf2ae7f811515f700025f4e840e15efcba2aa7bcbd6724300843da31ce9cd22fbe39946c0d703c1
6
+ metadata.gz: e5519844cdeba59a3b27086c9df23cd72c79b3e75911f2dfd95637762456dcebea9927d71fa33c25e487b15a9a949c9563a054ed879a2d36630f83e68fe10209
7
+ data.tar.gz: 4553071e8b9445023caf08f176359f7826bd71f6e2f3bbe307b918a2263358efc65a9233dc8283d3e016c469c4ab5b0d5fee329caa792d9e4f72d030b8c8930d
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ *.gem
data/lib/rotor/motor.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Rotor
2
2
  class Stepper
3
3
  def initialize(coil_A_1_pin, coil_A_2_pin, coil_B_1_pin, coil_B_2_pin, enable_pin)
4
- @io = WiringPi::GPIO.new(WPI_MODE_GPIO)
4
+ @io = ::WiringPi::GPIO.new(WPI_MODE_GPIO)
5
5
  @coil_A_1_pin = coil_A_1_pin
6
6
  @coil_A_2_pin = coil_A_2_pin
7
7
  @coil_B_1_pin = coil_B_1_pin
data/lib/rotor/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rotor
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/rotor.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["kobaltz"]
10
10
  spec.email = ["dave@k-innovations.net"]
11
11
  spec.summary = %q{Ruby Gem for controlling Bipolar and Unipolar motors}
12
- spec.description = %q{Ruby Gem for controlling Bipolar and Unipolar motors}
13
- spec.homepage = ""
12
+ spec.description = %q{Ruby Gem for controlling Bipolar and Unipolar Stepper Motors}
13
+ spec.homepage = "https://github.com/kobaltz"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -20,5 +20,6 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
- spec.add_dependency "wiringpi"
23
+
24
+ spec.add_dependency "wiringpi", '~> 0'
24
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rotor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kobaltz
@@ -42,17 +42,17 @@ dependencies:
42
42
  name: wiringpi
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Ruby Gem for controlling Bipolar and Unipolar motors
55
+ description: Ruby Gem for controlling Bipolar and Unipolar Stepper Motors
56
56
  email:
57
57
  - dave@k-innovations.net
58
58
  executables: []
@@ -68,7 +68,7 @@ files:
68
68
  - lib/rotor/motor.rb
69
69
  - lib/rotor/version.rb
70
70
  - rotor.gemspec
71
- homepage: ''
71
+ homepage: https://github.com/kobaltz
72
72
  licenses:
73
73
  - MIT
74
74
  metadata: {}