sumodev_deploy 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sumodev_deploy/tasks/browse.rb +14 -0
- data/sumodev_deploy.gemspec +2 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b5ddd502fbeeef7326947954381f0461e43cbe5
|
4
|
+
data.tar.gz: 26b03263fe07da67d603bdcda1bc1e76de023024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d6da8c23800de9f1159c3be8a9c568633784d39d4bab199da21ef8c03b1d74f05ffb936e620a29fd98f16b6749e0368e56513fa5dba3e4b9472539d94c153f
|
7
|
+
data.tar.gz: e7d9fa944c5d54fdf23e3e8a2588fc90e71916c9c25dbfa8f2103ef79fcdf7858b942b3f5f5671512523b49d22be31e8ca6201698bfd4edd909a5735ccca46d2
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Capistrano::Configuration.instance.load do
|
2
|
+
namespace :sumodev do
|
3
|
+
desc "Opens the url in the browser"
|
4
|
+
task :browse do
|
5
|
+
if site_url.include? '://'
|
6
|
+
url = site_url
|
7
|
+
else
|
8
|
+
url = "http://#{site_url}"
|
9
|
+
end
|
10
|
+
|
11
|
+
run_locally "open #{url}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/sumodev_deploy.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "sumodev_deploy"
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.2"
|
6
6
|
|
7
7
|
s.authors = ["Jan De Poorter"]
|
8
8
|
s.date = "2012-04-18"
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
"lib/sumodev_deploy/tasks/errbit.rb",
|
20
20
|
"lib/sumodev_deploy/tasks/files.rb",
|
21
21
|
"lib/sumodev_deploy/tasks/redirect.rb",
|
22
|
+
"lib/sumodev_deploy/tasks/browse.rb",
|
22
23
|
]
|
23
24
|
s.homepage = "https://github.com/sumocoders/sumodev_deploy"
|
24
25
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sumodev_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan De Poorter
|
@@ -46,6 +46,7 @@ extra_rdoc_files: []
|
|
46
46
|
files:
|
47
47
|
- lib/sumodev_deploy.rb
|
48
48
|
- lib/sumodev_deploy/tasks/assets.rb
|
49
|
+
- lib/sumodev_deploy/tasks/browse.rb
|
49
50
|
- lib/sumodev_deploy/tasks/db.rb
|
50
51
|
- lib/sumodev_deploy/tasks/errbit.rb
|
51
52
|
- lib/sumodev_deploy/tasks/files.rb
|