teaspoon-bundle 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/teaspoon/bundle.rb +9 -1
- data/lib/teaspoon/bundle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad19ffa8e83c72a79ee0e1c414038c82cb54f64f
|
4
|
+
data.tar.gz: c06b6fd7970db26d08bb2bafea3de8566f844bdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 984173f8d4229453448c0bbe7514d8f9df7d6715c4894eebdb003535e2d480a7182d1108864b43eddf8a65a99d26cd9a21e565a0d776349fc9b9570a7c9dd21f
|
7
|
+
data.tar.gz: 827fca670acb563296ca2f93fae89a5aa025b4e9494e2234ced16881eeecd06ccb0ae42cb173df8553063d921d4982d51601c84accaa4a055896ff9f19fbca52
|
data/lib/teaspoon/bundle.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'teaspoon/bundle/version'
|
2
|
+
require 'fileutils'
|
2
3
|
|
3
4
|
module Teaspoon
|
4
5
|
module Bundle
|
@@ -6,8 +7,15 @@ module Teaspoon
|
|
6
7
|
|
7
8
|
class << self
|
8
9
|
def dir
|
9
|
-
@dir ||=
|
10
|
+
@dir ||= create_dir
|
10
11
|
end
|
12
|
+
|
13
|
+
private
|
14
|
+
def create_dir
|
15
|
+
dir = Rails.root.join('tmp/teaspoon-bundle')
|
16
|
+
FileUtils.mkdir_p dir
|
17
|
+
dir
|
18
|
+
end
|
11
19
|
end
|
12
20
|
end
|
13
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teaspoon-bundle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bouke van der Bijl
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: teaspoon
|