itamae 1.1.15 → 1.1.16

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: eb42826bba792530fdfbde606bce17da2fe48f68
4
- data.tar.gz: 28962bf4afabcc6d4fd72e69a554427cf787aab0
3
+ metadata.gz: e696f2fade54d09127c7e29790d5cbfe01d00e7a
4
+ data.tar.gz: 2aafc83f5cab6ac4035ebe638f31048e8e871e03
5
5
  SHA512:
6
- metadata.gz: 5179c4d4a9041b15cfa4e0373e3b6dc0c9442a7b83523debd430fc0893916cd2001be66d4665b0afaf52ca571552f8f2ed8174e64840b177c88e439616984d83
7
- data.tar.gz: eb6a9f40068cd75fc0e78ac9f23daeb57735c92a30c98abf52e02c49111c8d36454c3006a8aa78b9794e4da844da74ad87709587819e60e8b94cfc374038aefe
6
+ metadata.gz: 87211ec3dbfe3620401da9ef238b0d9b1ee2bc7fea5e083533616a8d38452765e4d0e56962c9780ec775b13a64bd6819da80cd3b2ba4991d5aab7aaf34f63e1a
7
+ data.tar.gz: 22ed20fc2530cd2b8f07c530bbb19c0cb87cf67210e32c2ce88cce90f3f93aa118b4bbbb79ab0ca8767b0b2f72d97eaa902b56bf2d911cc05a51984cfe885ee8
@@ -1,3 +1,9 @@
1
+ ## v1.1.16
2
+
3
+ Features
4
+
5
+ - `source` attribute of `gem_package` resource.
6
+
1
7
  ## v1.1.15
2
8
 
3
9
  Features
@@ -7,6 +7,7 @@ module Itamae
7
7
  define_attribute :package_name, type: String, default_name: true
8
8
  define_attribute :gem_binary, type: String, default: 'gem'
9
9
  define_attribute :version, type: String
10
+ define_attribute :source, type: String
10
11
 
11
12
  def pre_action
12
13
  case @current_action
@@ -65,6 +66,9 @@ module Itamae
65
66
  if attributes.version
66
67
  cmd << '-v' << attributes.version
67
68
  end
69
+ if attributes.source
70
+ cmd << '--source' << attributes.source
71
+ end
68
72
  cmd << attributes.package_name
69
73
 
70
74
  run_command(cmd)
@@ -1 +1 @@
1
- 1.1.15
1
+ 1.1.16
@@ -27,6 +27,8 @@ end
27
27
 
28
28
  ######
29
29
 
30
+ package "ruby"
31
+
30
32
  gem_package 'tzinfo' do
31
33
  version '1.1.0'
32
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.15
4
+ version: 1.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai