bowl 0.0.1 → 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/README.md CHANGED
@@ -11,7 +11,11 @@ Write Ruby Code, put it into plug-in directory. Bowl automatically generate samp
11
11
 
12
12
  ## Usage
13
13
 
14
- % bowl_start -port 8901
14
+ % bowl
15
+
16
+ or
17
+
18
+ % bowl --port 8901
15
19
 
16
20
  => start server - http://localhost:8901
17
21
 
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
+ $:.unshift File.expand_path '../lib', File.dirname(__FILE__)
2
3
  require 'rubygems'
4
+ require 'bowl'
3
5
  require 'args_parser'
4
6
 
5
7
  parser = ArgsParser.parse ARGV do
@@ -9,7 +11,8 @@ end
9
11
  bin = $0.split('/').last
10
12
 
11
13
  if parser.has_option? :help
12
- STDERR.puts "Bowl - http://github.com/shokai/bowl"
14
+ STDERR.puts "Bowl - Mac/Linux controller for your Application v#{Bowl::VERSION}"
15
+ STDERR.puts " https://github.com/shokai/bowl"
13
16
  STDERR.puts
14
17
  STDERR.puts parser.help
15
18
  STDERR.puts
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.summary = %q{Write Ruby Code, put it into plug-in directory. Bowl automatically generate sample code and Web UI.}
12
12
  gem.homepage = "https://github.com/shokai/bowl"
13
13
 
14
- gem.files = `git ls-files`.split($/)
14
+ gem.files = `git ls-files`.split($/).reject{|i| i=="Gemfile.lock" }
15
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ["lib"]
@@ -27,5 +27,5 @@ Gem::Specification.new do |gem|
27
27
  gem.add_dependency 'sass'
28
28
  gem.add_dependency 'hashie'
29
29
  gem.add_dependency 'args_parser', '> 0.1.0'
30
- gem.add_dependency 'arduino_firmata'
30
+ gem.add_dependency 'arduino_firmata', '>= 0.1.6'
31
31
  end
@@ -1,5 +1,4 @@
1
1
  require 'rubygems'
2
- require 'bundler/setup'
3
2
  require 'rack'
4
3
  require 'sinatra'
5
4
  $stdout.sync = true if development?
@@ -5,10 +5,7 @@
5
5
  %ul
6
6
  %li
7
7
  %a{:href => "https://github.com/shokai/bowl"} https://github.com/shokai/bowl
8
- %h2 Install
8
+ %h2 Install and Run
9
9
  %pre
10
- \% git clone git://github.com/shokai/bowl.git
11
- \% cd bowl
12
- \% gem install bundler
13
- \% bundle install
14
- \% foreman start
10
+ \% gem install bowl
11
+ \% bowl_start
@@ -1,3 +1,3 @@
1
1
  module Bowl
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bowl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -194,7 +194,7 @@ dependencies:
194
194
  requirements:
195
195
  - - ! '>='
196
196
  - !ruby/object:Gem::Version
197
- version: '0'
197
+ version: 0.1.6
198
198
  type: :runtime
199
199
  prerelease: false
200
200
  version_requirements: !ruby/object:Gem::Requirement
@@ -202,22 +202,21 @@ dependencies:
202
202
  requirements:
203
203
  - - ! '>='
204
204
  - !ruby/object:Gem::Version
205
- version: '0'
205
+ version: 0.1.6
206
206
  description: Bowl is a Mac/Linux controller for your Application.
207
207
  email:
208
208
  - hashimoto@shokai.org
209
209
  executables:
210
- - bowl_start
210
+ - bowl
211
211
  extensions: []
212
212
  extra_rdoc_files: []
213
213
  files:
214
214
  - .gitignore
215
215
  - Gemfile
216
- - Gemfile.lock
217
216
  - LICENSE.txt
218
217
  - README.md
219
218
  - Rakefile
220
- - bin/bowl_start
219
+ - bin/bowl
221
220
  - bowl.gemspec
222
221
  - lib/bowl.rb
223
222
  - lib/bowl/app/Procfile
@@ -1,66 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bowl (0.0.1)
5
- arduino_firmata
6
- args_parser (> 0.1.0)
7
- eventmachine
8
- haml
9
- hashie
10
- json
11
- rack
12
- sass
13
- sinatra (> 1.3.0)
14
- sinatra-cometio
15
- sinatra-contrib (> 1.3.0)
16
- thin
17
-
18
- GEM
19
- remote: https://rubygems.org/
20
- specs:
21
- arduino_firmata (0.1.6)
22
- args_parser (>= 0.1.2, < 1.0.0)
23
- serialport (>= 1.1.0, < 2.0.0)
24
- args_parser (0.1.2)
25
- backports (2.6.5)
26
- daemons (1.1.9)
27
- event_emitter (0.1.0)
28
- eventmachine (1.0.0)
29
- haml (3.1.7)
30
- hashie (1.2.0)
31
- json (1.7.5)
32
- rack (1.4.1)
33
- rack-protection (1.2.0)
34
- rack
35
- rack-test (0.6.2)
36
- rack (>= 1.0)
37
- sass (3.2.3)
38
- serialport (1.1.0)
39
- sinatra (1.3.3)
40
- rack (~> 1.3, >= 1.3.6)
41
- rack-protection (~> 1.2)
42
- tilt (~> 1.3, >= 1.3.3)
43
- sinatra-cometio (0.0.8)
44
- event_emitter (>= 0.1.0)
45
- eventmachine (>= 1.0.0)
46
- json (>= 1.7.0)
47
- sinatra (>= 1.3.3)
48
- sinatra-contrib (>= 1.3.2)
49
- sinatra-contrib (1.3.2)
50
- backports (>= 2.0)
51
- eventmachine
52
- rack-protection
53
- rack-test
54
- sinatra (~> 1.3.0)
55
- tilt (~> 1.3)
56
- thin (1.5.0)
57
- daemons (>= 1.0.9)
58
- eventmachine (>= 0.12.6)
59
- rack (>= 1.0.0)
60
- tilt (1.3.3)
61
-
62
- PLATFORMS
63
- ruby
64
-
65
- DEPENDENCIES
66
- bowl!