artoo-beaglebone 0.2.0 → 0.3.0

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: 79716534c1f12420b57e972d15074cc723d4fd81
4
- data.tar.gz: 665b6c8e33a6f02347ad20c7fa7f96813a6661e3
3
+ metadata.gz: ce6065b2f2ff642008b0ca7be21f6b1515b6d2dc
4
+ data.tar.gz: 89e0a4e4fedbd8fcf42dd9766a5a8f6d62560694
5
5
  SHA512:
6
- metadata.gz: 24142106fa25cad95b87110dc0571afe991bd7dd441f14f3a585e04860549585e969ecffdc92be1378f150efa1a44f4c0e1502466bde8058639695b8e3e4a54b
7
- data.tar.gz: f1c3bfc3c26ac898fcf77fb2d934d21169fed0eaa47c61386796b943924b49c751c73cb4b417e0af4c62aa4f21985eb000781f887e71d9315520c30cd7b97733
6
+ metadata.gz: 4b54e808bf9daaf3e5d6fc378bba75bf6d28eaf17507dbd9f94971db214918e1d4cc91edbe402b92b5c98834df3a267e98c48c13cdd75ce043585bd3921d61e4
7
+ data.tar.gz: 5fd48967b75fd8d26b381e0fcde85bf046996e218b49056d8e7e72a5dd7888005ceff9e025bfa3d06bd457fc63167933e0acfbc9ec98deb59a114af5917ea459
@@ -1,9 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.1.0
3
4
  - 2.0.0
4
5
  - 1.9.3
5
- - jruby-1.7.4
6
- - rbx-19mode
6
+ - jruby-1.7.9
7
+ - rbx-2.1.1
7
8
  matrix:
8
9
  allow_failures:
9
- - rvm: jruby-1.7.4
10
+ - rvm: jruby-1.7.9
@@ -1,59 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo-beaglebone (0.2.0)
5
- artoo (>= 1.3.0)
4
+ artoo-beaglebone (0.3.0)
5
+ artoo (>= 1.6.0)
6
6
  artoo-gpio
7
7
  artoo-i2c
8
8
 
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- artoo (1.3.0)
12
+ artoo (1.6.0)
13
13
  celluloid (~> 0.15.0)
14
14
  celluloid-io (~> 0.15.0)
15
15
  multi_json (~> 1.6)
16
16
  pry (~> 0.9)
17
17
  rake
18
18
  reel (~> 0.4.0)
19
+ robeaux (~> 0.0.3)
19
20
  thor (~> 0.18.1)
20
- artoo-gpio (0.2.1)
21
- artoo (>= 1.2.2)
22
- artoo-i2c (0.3.0)
23
- artoo (>= 1.3.0)
24
- celluloid (0.15.1)
21
+ artoo-gpio (0.4.0)
22
+ artoo (>= 1.6.0)
23
+ artoo-i2c (0.5.0)
24
+ artoo (>= 1.6.0)
25
+ celluloid (0.15.2)
25
26
  timers (~> 1.1.0)
26
27
  celluloid-io (0.15.0)
27
28
  celluloid (>= 0.15.0)
28
29
  nio4r (>= 0.5.0)
29
- coderay (1.0.9)
30
+ coderay (1.1.0)
30
31
  http (0.5.0)
31
32
  http_parser.rb
32
- http_parser.rb (0.6.0.beta.2)
33
+ http_parser.rb (0.6.0)
33
34
  metaclass (0.0.1)
34
35
  method_source (0.8.2)
35
36
  minitest (5.0.8)
36
37
  minitest-happy (1.0.0)
37
38
  mocha (0.14.0)
38
39
  metaclass (~> 0.0.1)
39
- multi_json (1.8.1)
40
- nio4r (0.5.0)
41
- pry (0.9.12.2)
42
- coderay (~> 1.0.5)
40
+ multi_json (1.8.4)
41
+ nio4r (1.0.0)
42
+ pry (0.9.12.6)
43
+ coderay (~> 1.0)
43
44
  method_source (~> 0.8)
44
45
  slop (~> 3.4)
45
- rake (10.1.0)
46
+ rake (10.1.1)
46
47
  reel (0.4.0)
47
48
  celluloid (>= 0.15.1)
48
49
  celluloid-io (>= 0.15.0)
49
50
  http (>= 0.5.0)
50
51
  http_parser.rb (>= 0.6.0.beta.2)
51
52
  websocket_parser (>= 0.1.4)
52
- slop (3.4.6)
53
+ robeaux (0.0.3)
54
+ slop (3.4.7)
53
55
  thor (0.18.1)
54
56
  timers (1.1.0)
55
- websocket_parser (0.1.4)
56
- http
57
+ websocket_parser (0.1.6)
57
58
 
58
59
  PLATFORMS
59
60
  ruby
data/LICENSE CHANGED
@@ -1,2 +1,13 @@
1
+ Copyright (c) 2013-2014 The Hybrid Group
1
2
 
2
- # TODO: put your license file here
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
data/README.md CHANGED
@@ -32,3 +32,28 @@ end
32
32
  ## Getting Started
33
33
 
34
34
  The fastest way to get started with your Beaglebone Black is to use our provided [image](https://github.com/hybridgroup/artoo-beaglebone/wiki/artoo-image-instructions)
35
+
36
+ ## Documentation
37
+
38
+ Check out our [documentation](http://artoo.io/documentation/) for lots of information about how to use Artoo.
39
+
40
+ ## IRC
41
+
42
+ Need more help? Just want to say "Hello"? Come visit us on IRC freenode #artoo
43
+
44
+ ## Contributing
45
+
46
+ * All patches must be provided under the Apache 2.0 License
47
+ * Please use the -s option in git to "sign off" that the commit is your work and you are providing it under the Apache 2.0 License
48
+ * Submit a Github Pull Request to the appropriate branch and ideally discuss the changes with us in IRC.
49
+ * We will look at the patch, test it out, and give you feedback.
50
+ * Avoid doing minor whitespace changes, renamings, etc. along with merged content. These will be done by the maintainers from time to time but they can complicate merges and should be done seperately.
51
+ * Take care to maintain the existing coding style.
52
+ * Add unit tests for any new or changed functionality.
53
+ * All pull requests should be "fast forward"
54
+ * If there are commits after yours use “git rebase -i <new_head_branch>”
55
+ * If you have local changes you may need to use “git stash”
56
+ * For git help see [progit](http://git-scm.com/book) which is an awesome (and free) book on git
57
+
58
+
59
+ (c) 2012-2014 The Hybrid Group
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_runtime_dependency 'artoo', '>= 1.3.0'
22
+ s.add_runtime_dependency 'artoo', '>= 1.6.0'
23
23
  s.add_runtime_dependency 'artoo-gpio'
24
24
  s.add_runtime_dependency 'artoo-i2c'
25
25
  s.add_development_dependency 'minitest', '>= 5.0'
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  module Beaglebone
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -6,6 +6,8 @@ class PwmPin
6
6
  @pin = pin.to_s.upcase
7
7
  File.open("#{Dir.glob(SLOTS).first}/slots", "w") { |f|
8
8
  f.write("am33xx_pwm")
9
+ }
10
+ File.open("#{Dir.glob(SLOTS).first}/slots", "w") { |f|
9
11
  f.write('bone_pwm_' + @pin)
10
12
  }
11
13
  @pwm_device = Dir.glob(Dir.glob("/sys/devices/ocp.*").first+"/pwm_test_" + @pin + ".*").first
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artoo-beaglebone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Zankich
@@ -9,90 +9,90 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-18 00:00:00.000000000 Z
12
+ date: 2014-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: artoo
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 1.3.0
20
+ version: 1.6.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 1.3.0
27
+ version: 1.6.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: artoo-gpio
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: artoo-i2c
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: minitest
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '5.0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '5.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: minitest-happy
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: mocha
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: 0.14.0
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: 0.14.0
98
98
  description: Artoo adaptor for Beaglebone
@@ -102,8 +102,8 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
- - .gitignore
106
- - .travis.yml
105
+ - ".gitignore"
106
+ - ".travis.yml"
107
107
  - Gemfile
108
108
  - Gemfile.lock
109
109
  - LICENSE
@@ -128,17 +128,17 @@ require_paths:
128
128
  - lib
129
129
  required_ruby_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - '>='
131
+ - - ">="
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project: artoo-beaglebone
141
- rubygems_version: 2.0.3
141
+ rubygems_version: 2.2.1
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Artoo adaptor for Beaglebone