ardtweeno 0.0.2
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.
- data/CHANGELOG +6 -0
- data/COPYING +6 -0
- data/README +1 -0
- data/README.md +11 -0
- data/Rakefile +22 -0
- data/bin/ardtweeno +0 -0
- data/lib/ardtweeno.rb +2 -0
- data/test/Rakefile +6 -0
- data/test/features/ardtweeno.feature +14 -0
- data/test/features/step_definitions/ardtweeno_steps.rb +24 -0
- metadata +71 -0
data/CHANGELOG
ADDED
data/COPYING
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
This software is released under the creative commons attribution-sharealike 3.0 unported (cc by-sa 3.0) licence.
|
2
|
+
for more information see: http://creativecommons.org/licenses/by-sa/3.0/
|
3
|
+
|
4
|
+
All code is distributed in the hope that it will be useful, but WITHOUT
|
5
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
6
|
+
FITNESS FOR A PARTICULAR PURPOSE.
|
data/README
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
|
data/README.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Ardtweeno
|
2
|
+
Ardtweeno is a simple parser system for gathering data from a serial interface which can then be used to generate graphs, statistics
|
3
|
+
and reports from this data suitible for sharing over HTTP through a Ruby on Rails gateway application.
|
4
|
+
|
5
|
+
# COPYING / Licence
|
6
|
+
This software is released under the creative commons attribution-sharealike 3.0 unported (cc by-sa 3.0) licence.
|
7
|
+
for more information see: http://creativecommons.org/licenses/by-sa/3.0/
|
8
|
+
|
9
|
+
# DISCLAIMER
|
10
|
+
All code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
11
|
+
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
data/Rakefile
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
3
|
+
|
4
|
+
task :default => 'menu'
|
5
|
+
|
6
|
+
task :menu do
|
7
|
+
puts welcomeMsg = <<-MSG
|
8
|
+
rake build # Build ardtweeno-x.x.x.gem into the pkg directory
|
9
|
+
rake install # Build and install ardtweeno-x.x.x.gem into system gems
|
10
|
+
rake release # Create tag vx.x.x and build and push ardtweeno-x.x.x.gem to http://rubygems.org/
|
11
|
+
rake test # Run the unit testing suite on this gem.
|
12
|
+
MSG
|
13
|
+
end
|
14
|
+
|
15
|
+
desc "Run the unit testing suite on this gem."
|
16
|
+
task :test do
|
17
|
+
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
|
18
|
+
require 'ardtweeno.rb'
|
19
|
+
Dir.glob("./test/*_test.rb").each do |file|
|
20
|
+
require file
|
21
|
+
end
|
22
|
+
end
|
data/bin/ardtweeno
ADDED
File without changes
|
data/lib/ardtweeno.rb
ADDED
data/test/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
Feature: test
|
2
|
+
|
3
|
+
This is the first in a long line of required tests to ensure the Ardtweeno gem is
|
4
|
+
working correctly.
|
5
|
+
|
6
|
+
Background:
|
7
|
+
In order to test the ardtweeno gem
|
8
|
+
As an ardtweeno user
|
9
|
+
I want to be able to test the gem in my step definitions
|
10
|
+
|
11
|
+
Scenario: test
|
12
|
+
Given I have just test
|
13
|
+
And test
|
14
|
+
Then test
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'test/unit/assertions'
|
2
|
+
World(Test::Unit::Assertions)
|
3
|
+
|
4
|
+
Given /^I have just passed a folder (\w+) of (\w+)/ do |var, value|
|
5
|
+
instance_variable_set("@#{var}", value)
|
6
|
+
end
|
7
|
+
|
8
|
+
Given /^(\w+) does not exist already$/ do |name|
|
9
|
+
|
10
|
+
end
|
11
|
+
|
12
|
+
begin
|
13
|
+
require 'rubygems'
|
14
|
+
require 'ardtweeno'
|
15
|
+
|
16
|
+
Then /^when the script has finished (\w+) should exist$/ do |name|
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
rescue LoadError
|
21
|
+
|
22
|
+
STDERR.puts LoadError
|
23
|
+
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ardtweeno
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- David Kirwan
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-09-08 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: ! 'Ardtweeno is a simple parser system for gathering data from a serial
|
15
|
+
interface which can then be used to generate graphs, statistics
|
16
|
+
|
17
|
+
and reports from this data suitable for sharing over HTTP through a Ruby on Rails
|
18
|
+
gateway application.
|
19
|
+
|
20
|
+
'
|
21
|
+
email:
|
22
|
+
- 00346128@mail.wit.ie
|
23
|
+
executables: []
|
24
|
+
extensions: []
|
25
|
+
extra_rdoc_files: []
|
26
|
+
files:
|
27
|
+
- lib/ardtweeno.rb
|
28
|
+
- bin/ardtweeno
|
29
|
+
- README.md
|
30
|
+
- COPYING
|
31
|
+
- CHANGELOG
|
32
|
+
- Rakefile
|
33
|
+
- README
|
34
|
+
- test/features/ardtweeno.feature
|
35
|
+
- test/features/step_definitions/ardtweeno_steps.rb
|
36
|
+
- test/Rakefile
|
37
|
+
homepage: http://rubygems.org/gems/ardtweeno
|
38
|
+
licenses:
|
39
|
+
- CC BY-SA 3.0
|
40
|
+
post_install_message: ! 'This is an empty placeholder gem to claim the gem name until
|
41
|
+
such time as the codebase has been released.
|
42
|
+
|
43
|
+
|
44
|
+
This software is released under the creative commons attribution-sharealike 3.0
|
45
|
+
unported (cc by-sa 3.0) licence.
|
46
|
+
|
47
|
+
for more information see: http://creativecommons.org/licenses/by-sa/3.0/
|
48
|
+
|
49
|
+
'
|
50
|
+
rdoc_options: []
|
51
|
+
require_paths:
|
52
|
+
- lib
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.8.7
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ! '>='
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0'
|
65
|
+
requirements: []
|
66
|
+
rubyforge_project:
|
67
|
+
rubygems_version: 1.8.23
|
68
|
+
signing_key:
|
69
|
+
specification_version: 3
|
70
|
+
summary: Simple serial to HTTP gateway.
|
71
|
+
test_files: []
|