beaglebone-rails 0.0.2 → 0.0.3

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: 332e65ffdb2f90f409345a637c4c2f15138c32f6
4
- data.tar.gz: 0f8d35c4def14324f950792f48454f6dd6912bfa
3
+ metadata.gz: aa8989faf7903f1b2ab9ff19b62bd65202f24d03
4
+ data.tar.gz: ba6fb5b5b4bcab1bab2a40b49acda62621a5f275
5
5
  SHA512:
6
- metadata.gz: fd310f8bb6a928d1ec496364226bb19ce8df0c193d55afc6d27ad5e0b2e1669fdfb69318c45e4cc6375944ee13d3eab1148e6db963c3f9c3bcda642b2463cfe5
7
- data.tar.gz: 04184054171d6052c6a184e71b2c1ec2fdd1b25788ac7d294f80e43e52e7a8337c59f785c40ba242f9806abcc97865552051e481d7df4127e2c2edd93cdc6a48
6
+ metadata.gz: 5f06d040663fd8943d819e8c76f76aa19f40cfb319f02e9b0f3ad51b3bd80b257f8a8b65ab8c8462cb7d198324294c75cd9434b43dbf5e9f967f9394b5275aef
7
+ data.tar.gz: 696801f5dbd7f36899f2753f8c361b57f99c15cc50dcf37cd379dbf47c8380a3fd928154c2205699e76a4ae3876b97e4fb1acd5ce6864111c873a5285b92188c
data/README.md CHANGED
@@ -3,9 +3,7 @@
3
3
 
4
4
  # Beaglebone::Rails
5
5
 
6
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/beaglebone/rails`. To experiment with that code, run `bin/console` for an interactive prompt.
7
-
8
- TODO: Delete this and the text above, and describe your gem
6
+ This is a work in progress currently in the very early stages. Contributions are welcomed and encouraged.
9
7
 
10
8
  ## Installation
11
9
 
@@ -35,10 +33,9 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
35
33
 
36
34
  ## Contributing
37
35
 
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/beaglebone-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/DivXZero/beaglebone-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
39
37
 
40
38
 
41
39
  ## License
42
40
 
43
41
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
44
-
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'beaglebone/rails/version'
4
+ require 'beaglebone/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "beaglebone-rails"
8
- spec.version = Beaglebone::Rails::VERSION
8
+ spec.version = Beaglebone::VERSION
9
9
  spec.authors = ["Nicholaus Brabant"]
10
10
  spec.email = ["nicholaus.brabant@gmail.com"]
11
11
 
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "beaglebone/rails"
4
+ require "beaglebone-rails"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -0,0 +1,10 @@
1
+
2
+ module Beaglebone
3
+ module GPIO
4
+ def self.list
5
+ str = `ls /sys/class/gpio/`
6
+ str.gsub! "\n", ','
7
+ str.split(',')
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,4 @@
1
+
2
+ module Beaglebone
3
+ VERSION = "0.0.3"
4
+ end
@@ -0,0 +1,9 @@
1
+
2
+ require 'beaglebone/version'
3
+ require 'beaglebone/GPIO'
4
+
5
+ module Beaglebone
6
+ def self.hello
7
+ 'Hello!'
8
+ end
9
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaglebone-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholaus Brabant
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-23 00:00:00.000000000 Z
11
+ date: 2016-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,8 +84,9 @@ files:
84
84
  - beaglebone-rails.gemspec
85
85
  - bin/console
86
86
  - bin/setup
87
- - lib/beaglebone/rails.rb
88
- - lib/beaglebone/rails/version.rb
87
+ - lib/beaglebone-rails.rb
88
+ - lib/beaglebone/GPIO.rb
89
+ - lib/beaglebone/version.rb
89
90
  homepage: https://github.com/DivXZero/beaglebone-rails
90
91
  licenses:
91
92
  - MIT
@@ -1,5 +0,0 @@
1
- module Beaglebone
2
- module Rails
3
- VERSION = "0.0.2"
4
- end
5
- end
@@ -1,7 +0,0 @@
1
- require "beaglebone/rails/version"
2
-
3
- module Beaglebone
4
- module Rails
5
- # Your code goes here...
6
- end
7
- end