rubolite 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ require "forwardable"
2
+ require "git"
3
+
1
4
  require "rubolite/version"
2
5
  require "rubolite/admin"
3
6
  require "rubolite/repo"
@@ -1,5 +1,3 @@
1
- require "git"
2
-
3
1
  module Rubolite
4
2
  class Admin
5
3
  InvalidPath = Class.new(Exception)
@@ -1,3 +1,3 @@
1
1
  module Rubolite
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -59,6 +59,7 @@ describe Rubolite::Client do
59
59
  end
60
60
 
61
61
  it "commits the changes to the repo" do
62
+ subject.stub commitable?: true
62
63
  admin.git.should_receive(:commit)
63
64
  subject.commit!
64
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubolite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: