plistguy 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd451b3e6f660d0c76c3c14f1cabe29245ccee27
4
- data.tar.gz: 24bdc9203c240ed7680c77cc6c50df0b5159736c
3
+ metadata.gz: dcdcb963aa0d48e719767094a2024a3e49a05d54
4
+ data.tar.gz: e13ca2fec163aa03cf44287637c527c5bf9470bb
5
5
  SHA512:
6
- metadata.gz: 48eecde0113aa627190388ffd41f43e5f75f43aeffcb3096c5679ce98f578de5ee35382997806a9538b6dbd8c8aa0147b9db2a13b4a1120818bee8160a1d3d55
7
- data.tar.gz: df571030a8e48f50f2b3814264ad2a2f0a3ac3475e4107d780d8c699438e25d5b909851234c829344a5b21fbf30ca2b6d8a568ee80c49f2b4954a04882f3e5a4
6
+ metadata.gz: 2126afe4bc6d607ca6503597d1f4ae55f3ae41b8065dde5bf36633e62f5cedcaf4448daec2a4ad971fcb30b99de6b61908f4c629d9af5975288c083da153f5e5
7
+ data.tar.gz: 9363455b1b2ebdbee8a7723150e4178f5d97aa1d5eead23b7b5efd7b27f202d24d75440cf115abe2b7fd0b8de2c288c68830d1756f9a69f9607fe3aaf933d4b1
@@ -1,3 +1,19 @@
1
- language: ruby
1
+ os: osx
2
+ # to run this on Mac OS
3
+ language: objective-c
4
+ cache: bundler
2
5
  rvm:
3
- - 2.2.2
6
+ - ruby-head
7
+ - system
8
+ - 2.2.1
9
+ - 2.1.5
10
+ - 2.0.0
11
+ - 1.9.3
12
+
13
+
14
+ before_install:
15
+ # There is a bug in travis. When using system ruby, bundler is not
16
+ # installed and causes the default install action to fail.
17
+ - sudo gem install bundler
18
+
19
+ script: bundler exec rspec --pattern **/*_spec.rb
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  plistguy is wrapper around PlistBuddy to support shell pipes as input so now you can write `cat some.plist | plistguy -c "Print :0"` and it works as you would expect.
4
4
 
5
+ [![Build Status](http://img.shields.io/travis/samnung/rb-mac_shortcuts/master.svg?style=flat)](https://travis-ci.org/samnung/rb-mac_shortcuts)
6
+ [![Gem Version](http://img.shields.io/gem/v/mac_shortcuts.svg?style=flat)](http://badge.fury.io/rb/mac_shortcuts)
5
7
 
6
8
  ## Installation
7
9
 
@@ -23,7 +23,7 @@ if File.exists?(last)
23
23
  else
24
24
  lines = STDIN.readlines.join("\n")
25
25
 
26
- file = Tempfile.create('plistguy_temp')
26
+ file = Tempfile.new('plistguy_temp')
27
27
  file.write(lines)
28
28
  file.close
29
29
 
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Plistguy
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
@@ -1,8 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ require 'plistguy/version'
7
+
8
+
3
9
  Gem::Specification.new do |spec|
4
10
  spec.name = 'plistguy'
5
- spec.version = '0.1.0'
11
+ spec.version = Plistguy::VERSION
6
12
  spec.authors = ['Roman Kříž']
7
13
  spec.email = ['samnung@gmail.com']
8
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plistguy
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
  - Roman Kříž