rupi 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rupi/capistrano.rb +2 -2
- data/lib/rupi/generator.rb +4 -3
- data/lib/rupi/version.rb +1 -1
- data/templates/Gemfile +4 -0
- data/templates/bundle_config +2 -0
- metadata +5 -20
data/lib/rupi/capistrano.rb
CHANGED
@@ -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
|
|
data/lib/rupi/generator.rb
CHANGED
@@ -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',
|
14
|
-
template 'Capfile.erb',
|
15
|
-
copy_file '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
|
data/lib/rupi/version.rb
CHANGED
data/templates/Gemfile
CHANGED
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.
|
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
|
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:
|
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:
|
107
|
+
hash: 1894585309727239805
|
123
108
|
requirements: []
|
124
109
|
rubyforge_project:
|
125
110
|
rubygems_version: 1.8.24
|