kumade 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kumade/deployer.rb +2 -4
- data/lib/kumade/version.rb +1 -1
- data/spec/kumade/deployer_spec.rb +0 -15
- metadata +1 -1
data/lib/kumade/deployer.rb
CHANGED
@@ -84,10 +84,8 @@ module Kumade
|
|
84
84
|
else
|
85
85
|
Jammit.package!
|
86
86
|
|
87
|
-
|
88
|
-
|
89
|
-
git_add_and_commit_all_assets_in(jammit_assets_path)
|
90
|
-
end
|
87
|
+
success(success_message)
|
88
|
+
git_add_and_commit_all_assets_in(jammit_assets_path)
|
91
89
|
end
|
92
90
|
rescue => jammit_error
|
93
91
|
error("Error: #{jammit_error.class}: #{jammit_error.message}")
|
data/lib/kumade/version.rb
CHANGED
@@ -278,21 +278,6 @@ describe Kumade::Deployer, "#package_with_jammit" do
|
|
278
278
|
|
279
279
|
subject.package_with_jammit
|
280
280
|
end
|
281
|
-
|
282
|
-
context "no assets were added" do
|
283
|
-
before { subject.stub(:git_dirty? => false) }
|
284
|
-
|
285
|
-
it "does not call git_add_and_commit_all_jammit_assets" do
|
286
|
-
subject.should_not_receive(:git_add_and_commit_all_assets_in)
|
287
|
-
|
288
|
-
subject.package_with_jammit
|
289
|
-
end
|
290
|
-
|
291
|
-
it "does not print a success message" do
|
292
|
-
subject.should_not_receive(:success)
|
293
|
-
subject.package_with_jammit
|
294
|
-
end
|
295
|
-
end
|
296
281
|
end
|
297
282
|
|
298
283
|
describe Kumade::Deployer, "#package_with_more" do
|