poise-languages 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/poise_languages/static/resource.rb +4 -2
- data/lib/poise_languages/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: 63bee0d0b3e18c8912acf8a84ec339b814c78ee5
|
4
|
+
data.tar.gz: 84333230057ef2579b4cad754d0a48f77c3930e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce416a3f3e78aec7223460c7db8c449468f901631d9623475f8a773b7fd8bb08acafa6c3562424adeac9d9fc7f8acdc4395ea51bbdd3c6a7612fabb7ed8886da
|
7
|
+
data.tar.gz: 48286f5cf285600e1e616b9e4f9b1239ce83e4043207e55f231e8b2ec82bacee6509d845d3b4a4ab04020882bb5c688042d4e3a19224d6da2888ebd6dd655b5a
|
data/CHANGELOG.md
CHANGED
@@ -73,8 +73,8 @@ module PoiseLanguages
|
|
73
73
|
def action_install
|
74
74
|
notifying_block do
|
75
75
|
install_utils unless node.platform_family?('mac_os_x', 'windows')
|
76
|
-
create_directory
|
77
76
|
download_archive
|
77
|
+
create_directory
|
78
78
|
# Unpack is handled as a notification from download_archive.
|
79
79
|
end
|
80
80
|
end
|
@@ -101,10 +101,12 @@ module PoiseLanguages
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def create_directory
|
104
|
+
unpack_resource = unpack_archive
|
104
105
|
directory new_resource.path do
|
105
106
|
user 0
|
106
107
|
group 0
|
107
108
|
mode '755'
|
109
|
+
notifies :run, unpack_resource, :immediately
|
108
110
|
end
|
109
111
|
end
|
110
112
|
|
@@ -115,7 +117,7 @@ module PoiseLanguages
|
|
115
117
|
owner 0
|
116
118
|
group 0
|
117
119
|
mode '644'
|
118
|
-
notifies :run, unpack_resource, :immediately
|
120
|
+
notifies :run, unpack_resource, :immediately if ::File.exist?(new_resource.path)
|
119
121
|
retries new_resource.download_retries
|
120
122
|
end
|
121
123
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-languages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: halite
|