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 +4 -4
- data/.gitignore +1 -0
- data/lib/rotor/motor.rb +1 -1
- data/lib/rotor/version.rb +1 -1
- data/rotor.gemspec +4 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a7b1eaa8942f8123307ef7e073ac09adef65317
|
4
|
+
data.tar.gz: 56b8152f0a06b29fcb4c3984d9c5123a5495c835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5519844cdeba59a3b27086c9df23cd72c79b3e75911f2dfd95637762456dcebea9927d71fa33c25e487b15a9a949c9563a054ed879a2d36630f83e68fe10209
|
7
|
+
data.tar.gz: 4553071e8b9445023caf08f176359f7826bd71f6e2f3bbe307b918a2263358efc65a9233dc8283d3e016c469c4ab5b0d5fee329caa792d9e4f72d030b8c8930d
|
data/.gitignore
CHANGED
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
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
|
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
|
-
|
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.
|
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
|
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: {}
|