nugrant 2.1.2 → 2.1.3

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: 59d03f3a6d570c597abc17133e4d68782e455cc0
4
- data.tar.gz: f0d3558fa09f660559cbdd283d84b2b845a16d69
3
+ metadata.gz: 3a5fbe48733cafbdbae4d9d061e69de8f917f884
4
+ data.tar.gz: 4e9e3b02de8ad639c0d4395279547013ea3796f7
5
5
  SHA512:
6
- metadata.gz: 7f85374f9ff849c110f185558d2594355c5636037472ec278697b544aa5ee0ed1c7c0d869cb43f42d6d78895388444407fe2037e1e7c4d33586deb545c132ccb
7
- data.tar.gz: 22761919a1b509bef418fd2993641d7f2b7d43ae9807bd58bd2d278af43a632665812a28236717c3f7c53bbcfbc25cc1514380d73bb0ba7ab6d67f415d4d9db0
6
+ metadata.gz: 01b84685a869b0f79366c592a29d204e5e80deb120d40b707094102815d0961874c33b297c30638d800df663625b9ddbc327b9f7142af79a102c35e02d317753
7
+ data.tar.gz: f5fdcc616d73a0e09569d58edac28d674f4a8f5ebc6acd23433d9e3443c7e54b00aae1c36de4222a8f89fa60f3a611569f9ce8151df59a935f4c94b6752d5719
@@ -1,10 +1,15 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 1.9.3
5
4
  - 2.0.0
6
5
  - 2.1
6
+ - 2.2.3
7
7
 
8
- bundler_args: --without doc guard --jobs 7
8
+ before_install:
9
+ - rvm @global do gem uninstall bundler -a -x
10
+ - rvm @global do gem install bundler -v 1.10.6
11
+
12
+ install:
13
+ - bundle install --without doc guard --jobs 3 --retry 3
9
14
 
10
15
  script: bundle exec rake
@@ -1,3 +1,8 @@
1
+ # 2.1.3 (February 24th, 2016)
2
+
3
+ * Ensures Unix line ending are used when generating env scripts
4
+ (`autoenv` and `bash`).
5
+
1
6
  # 2.1.2 (January 12th, 2015)
2
7
 
3
8
  * Fixed indifferent access inside arrays. Array elements of type `Hash`
@@ -3,3 +3,5 @@
3
3
  Thanks for this people who contributed some code to Nugrant:
4
4
 
5
5
  * Rui Filipe Da Cunha Alves ([@ruifil](https://github.com/ruifil))
6
+ * Michał Sochoń ([@nvtkaszpir](https://github.com/nvtkaszpir))
7
+ * jpegger ([@jpegger](https://github.com/jpegger))
data/README.md CHANGED
@@ -210,7 +210,7 @@ version control system so it is to committed with the project.
210
210
 
211
211
  Additionally, you can also have a `.vagrantuser` under your user home
212
212
  directory. This way, you can set parameters that will be
213
- available to all your `Vagrantfile'. The `.vagrantuser` located
213
+ available to all your `Vagrantfile` files. The `.vagrantuser` located
214
214
  within the same folder as the `Vagrantfile` file will overrides
215
215
  parameters defined in the `.vagrantuser` file defined in the user
216
216
  home directory.
@@ -43,7 +43,7 @@ module Nugrant
43
43
  # * :type => The type of command, default to :export.
44
44
  #
45
45
  def self.autoenv_exporter(bag, options = {})
46
- io = options[:io] || (File.open(File.expand_path(options[:autoenv_path] || DEFAULT_AUTOENV_PATH), "w"))
46
+ io = options[:io] || (File.open(File.expand_path(options[:autoenv_path] || DEFAULT_AUTOENV_PATH), "wb"))
47
47
 
48
48
  terminal_exporter(bag, options.merge({:io => io}))
49
49
  ensure
@@ -70,7 +70,7 @@ module Nugrant
70
70
  # * :type => The type of command, default to :export.
71
71
  #
72
72
  def self.script_exporter(bag, options = {})
73
- io = options[:io] || (File.open(File.expand_path(options[:script_path] || DEFAULT_SCRIPT_PATH), "w"))
73
+ io = options[:io] || (File.open(File.expand_path(options[:script_path] || DEFAULT_SCRIPT_PATH), "wb"))
74
74
 
75
75
  io.puts("#!/bin/env sh")
76
76
  io.puts()
@@ -1,3 +1,3 @@
1
1
  module Nugrant
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nugrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu Vachon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-13 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json