rupi 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ Capistrano::Configuration.instance(:must_exist).load do
34
34
  end
35
35
 
36
36
  task :setup_rupi do
37
- run 'sudo apt-get -y install uvccapture'
37
+ run 'sudo apt-get -y install uvccapture netatalk avahi-daemon libnss-mdns'
38
38
  run 'gem install rupi'
39
39
  end
40
40
 
@@ -65,7 +65,7 @@ Capistrano::Configuration.instance(:must_exist).load do
65
65
  end
66
66
 
67
67
  task :bundle do
68
- run "cd #{deploy_to} && bundle check || bundle install"
68
+ run "cd #{deploy_to} && bundle check || bundle install --without development test"
69
69
  end
70
70
  end
71
71
 
@@ -10,9 +10,10 @@ module Rupi
10
10
  desc 'new NAME', 'Creates a new rupi application'
11
11
  def new(name)
12
12
  @name = name
13
- copy_file 'Gemfile', "#{name}/Gemfile"
14
- template 'Capfile.erb', "#{name}/Capfile"
15
- copy_file 'app.rb', "#{name}/app.rb"
13
+ copy_file 'Gemfile', "#{name}/Gemfile"
14
+ template 'Capfile.erb', "#{name}/Capfile"
15
+ copy_file 'app.rb', "#{name}/app.rb"
16
+ copy_file 'bundle_config', "#{name}/.bundle/config"
16
17
  end
17
18
 
18
19
  def self.source_root
@@ -1,4 +1,4 @@
1
1
  module Rupi
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.6'
3
3
  RUBY_VERSION = 'ruby-1.9.3-p194'
4
4
  end
@@ -5,3 +5,7 @@ gem 'rupi'
5
5
  group :development do
6
6
  gem 'capistrano'
7
7
  end
8
+
9
+ group :production do
10
+ gem 'wiringpi'
11
+ end
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_WITHOUT: production
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rupi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-31 00:00:00.000000000 Z
12
+ date: 2012-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: wiringpi
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
14
  - !ruby/object:Gem::Dependency
31
15
  name: daemons
32
16
  requirement: !ruby/object:Gem::Requirement
@@ -93,6 +77,7 @@ files:
93
77
  - lib/rupi/version.rb
94
78
  - lib/rupi.rb
95
79
  - templates/app.rb
80
+ - templates/bundle_config
96
81
  - templates/Capfile.erb
97
82
  - templates/Gemfile
98
83
  - README.md
@@ -110,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
95
  version: '0'
111
96
  segments:
112
97
  - 0
113
- hash: -402449666898579362
98
+ hash: 1894585309727239805
114
99
  required_rubygems_version: !ruby/object:Gem::Requirement
115
100
  none: false
116
101
  requirements:
@@ -119,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
104
  version: '0'
120
105
  segments:
121
106
  - 0
122
- hash: -402449666898579362
107
+ hash: 1894585309727239805
123
108
  requirements: []
124
109
  rubyforge_project:
125
110
  rubygems_version: 1.8.24