activefolder 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d5d8490527bf6814444d2284976a4f26fb6e56c
4
- data.tar.gz: 1b9df9005d65281782e82f55df7d613a7dae3de7
3
+ metadata.gz: 89b3e76d54a782330cc7c4fdc96eb77b0998709a
4
+ data.tar.gz: 8b158b8fc3e7cb1cbf65d0a4123e16dc3d1474bc
5
5
  SHA512:
6
- metadata.gz: 1565e7712f18d75905c30d086f009cbf8a62db864c96669cdcdbd361cd19785fa9e0eafe2d8190497da1a354b39834d4fb4ac582c5abddb85146daf775583127
7
- data.tar.gz: 7e2157d28d2292fe82abd4e75a22d1bb3a7cc347bc5c61774a7b35761c17d25e609821aba23d279858073a42293abcfc749249d54a431283f2bd4e23d7b00844
6
+ metadata.gz: f1a75e24c9dc8bcbef00011ca27854d6816a7f618c35015d8adee19f6882bfc551e746363a1c30c88b6b43406a3de1b71e3a8a242741edbc820cd369b7d7c4f9
7
+ data.tar.gz: d1e7efb089dfaad55d21634815e9ac1e264eaef78d8bb3c392f4101d1772d99d534ba09a9b31f35f9897bdce066574c611387ec010ddaf50cb3cc1d3e31ed72f
data/lib/activefolder.rb CHANGED
@@ -16,8 +16,6 @@ module ActiveFolder
16
16
  @client ||= Metal::Client.new(config.client)
17
17
  end
18
18
 
19
- private
20
-
21
19
  def config
22
20
  @config ||= Config.new
23
21
  end
@@ -0,0 +1,13 @@
1
+ require 'activefolder'
2
+
3
+ RSpec.configure do |config|
4
+ config.after(:each) do
5
+ root_path = ActiveFolder.config.client.root_path
6
+ FileUtils.rm_rf root_path
7
+ end
8
+
9
+ config.before(:each) do
10
+ root_path = ActiveFolder.config.client.root_path
11
+ FileUtils.rm_rf root_path
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activefolder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Thorner
@@ -76,6 +76,7 @@ files:
76
76
  - lib/activefolder/model/utilities/collection.rb
77
77
  - lib/activefolder/model/utilities/match.rb
78
78
  - lib/activefolder/model/utilities/symbol.rb
79
+ - lib/activefolder/rspec.rb
79
80
  homepage: https://github.com/benthorner/activefolder
80
81
  licenses:
81
82
  - GNU GPL v2.0