lightly 0.2.0 → 0.2.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: 9a343ae5ae80c807c21ae3232b79b9c4f47c17a8
4
- data.tar.gz: 7da3c16d45bdb06ce8fb16fdef435536a18950a2
3
+ metadata.gz: d5ba4144c4735730282bdb82c67439cff20c2a43
4
+ data.tar.gz: 16f60b591a382c7bf82f8d8ca34f13ff29865ae6
5
5
  SHA512:
6
- metadata.gz: 06706e26745ca5eae88429319246343919ca64b70c3bbc61b6e33b85059c83121b501d5fdbfb02c4f3c21dd5ca5e44e4d0476286964dd774718b35e0679d73a8
7
- data.tar.gz: 424ea5fa471dea9c91e785f69586d365011baa11153eb3702e7032ca0467ccce25ecab823af847609388d95a4d9b2ca66357b5490b56df964aa369336d28e704
6
+ metadata.gz: 45209b3cb5ba6a15bf48f614015838e05c84bf0bba483464c429dfbbe422908455a86354c5b35f3ee3cc7e01c477736a844d513622ae1b29331ddbe7856376f6
7
+ data.tar.gz: 7b87340c8b54e0f462701dd2a3bcbc30c8fd8c72b69fb2ddf478e3100fdacf19571a1108174b3fd531573f57a28dbfa78a531156abc74d0e1e5aed5d52dcb9fc
@@ -51,8 +51,6 @@ class Lightly
51
51
  File.join dir, key
52
52
  end
53
53
 
54
- private
55
-
56
54
  def save(key, content)
57
55
  FileUtils.mkdir_p dir
58
56
  path = get_path key
@@ -60,6 +58,8 @@ class Lightly
60
58
  f.write Marshal.dump content
61
59
  end
62
60
  end
61
+
62
+ private
63
63
 
64
64
  def load(key)
65
65
  Marshal.load File.binread(get_path key)
@@ -1,3 +1,3 @@
1
1
  class Lightly
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: runfile
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '0.9'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.7'
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: runfile-tasks
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.11'
61
+ version: '0.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.11'
68
+ version: '0.14'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: byebug
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.6.6
113
+ rubygems_version: 2.6.13
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: File cache for performing heavy tasks, lightly.