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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6293886438f754a8f2bb97120a4eb25f827789e7
4
- data.tar.gz: ce51b7ae49f4d10881f59b04802bd5f53939f215
3
+ metadata.gz: ad19ffa8e83c72a79ee0e1c414038c82cb54f64f
4
+ data.tar.gz: c06b6fd7970db26d08bb2bafea3de8566f844bdd
5
5
  SHA512:
6
- metadata.gz: bd4f0a9c93321280fdbc71f4167b6cb72924216a395226124ba02d3f8b079b0a1b591b07253c7d4be6b49ea7c6cb2eef182ae34df81f558e66f520c7c8ba3f60
7
- data.tar.gz: ff3daf2962f8b21a9b57243651804cc4edbae5c1ecd0d58c32c474464a276c384e1a89b0272efc819258d5a3fc7adcbc7522908d3ca301be5da55e1eba0d7cdd
6
+ metadata.gz: 984173f8d4229453448c0bbe7514d8f9df7d6715c4894eebdb003535e2d480a7182d1108864b43eddf8a65a99d26cd9a21e565a0d776349fc9b9570a7c9dd21f
7
+ data.tar.gz: 827fca670acb563296ca2f93fae89a5aa025b4e9494e2234ced16881eeecd06ccb0ae42cb173df8553063d921d4982d51601c84accaa4a055896ff9f19fbca52
@@ -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 ||= Dir.mktmpdir('teaspoon_bundle')
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
@@ -1,5 +1,5 @@
1
1
  module Teaspoon
2
2
  module Bundle
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  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.0
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-04 00:00:00.000000000 Z
11
+ date: 2016-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: teaspoon