fanforce-app-factory 2.0.0.rc37 → 2.0.0.rc38
Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,8 @@ class Fanforce::App
|
|
52
52
|
sprockets = SprocketsCompiler.setup(base_dir)
|
53
53
|
return sprockets.index.call(env)
|
54
54
|
end
|
55
|
+
return Rack::File.new("#{base_dir}").call(env) if env['PATH_INFO'] =~ /^\/(favicon.ico|robots.txt)/
|
56
|
+
|
55
57
|
require_relative 'sinatra/_load'
|
56
58
|
request = Rack::Request.new(env)
|
57
59
|
Rack::JSONR.intercept_method_override(env, request, request.params, :all)
|
@@ -25,7 +25,7 @@ class Fanforce::AppFactory::CLI::Bitbucket
|
|
25
25
|
def setup
|
26
26
|
repo_name = "app-#{app.dir_name}"
|
27
27
|
error "Bitbucket repo does not exist (#{repo_name})" if !find_repo(repo_name)
|
28
|
-
"#{'Found
|
28
|
+
"#{'Found '.format(:green,:bold)}" + "#{repo_name} repository already exists on bitbucket"
|
29
29
|
setup_git_remote(repo_name)
|
30
30
|
end
|
31
31
|
|