Permalink
Browse files

temporarily disable deploys due to rubygems.org compromise

  • Loading branch information...
1 parent 9e82cda commit 066d4a1b9ca206132660c5991a632ba90e8c8a5d @hone hone committed Jan 30, 2013
Showing with 27 additions and 4 deletions.
  1. +7 −1 CHANGELOG.md
  2. +2 −2 lib/language_pack.rb
  3. +17 −0 lib/language_pack/disable_deploys.rb
  4. +1 −1 lib/language_pack/ruby.rb
View
@@ -1,4 +1,10 @@
-## v46 (1/10/2012)
+## v47 (1/30/2013)
+
+Features:
+
+* Disable ruby deploys due to rubygems.org compromise
+
+## v46 (1/10/2013)
Features:
View
@@ -9,7 +9,7 @@ module LanguagePack
def self.detect(*args)
Dir.chdir(args.first)
- pack = [ Rails3, Rails2, Rack, Ruby ].detect do |klass|
+ pack = [ DisableDeploys, Rails3, Rails2, Rack, Ruby ].detect do |klass|
klass.use?
end
@@ -22,4 +22,4 @@ def self.detect(*args)
require "language_pack/rack"
require "language_pack/rails2"
require "language_pack/rails3"
-
+require "language_pack/disable_deploys"
@@ -0,0 +1,17 @@
+require "language_pack"
+require "language_pack/base"
+
+class LanguagePack::DisableDeploys < LanguagePack::Base
+ def self.use?
+ File.exist?("Gemfile")
+ end
+
+ def name
+ "Ruby/DisableDeploys"
+ end
+
+ def compile
+ error "Ruby deploys have been temporarily disabled. We will have more information available shortly, including a workaround."
+ end
+end
+
@@ -5,7 +5,7 @@
# base Ruby Language Pack. This is for any base ruby app.
class LanguagePack::Ruby < LanguagePack::Base
- BUILDPACK_VERSION = "v46"
+ BUILDPACK_VERSION = "v47"
LIBYAML_VERSION = "0.1.4"
LIBYAML_PATH = "libyaml-#{LIBYAML_VERSION}"
BUNDLER_VERSION = "1.3.0.pre.5"

0 comments on commit 066d4a1

Please sign in to comment.