establish 0.0.20 → 0.0.21

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
  SHA256:
3
- metadata.gz: 16eb9e7bd489136ebb688a02730bfd2673690091f5dda98a6a32a826b718abcc
4
- data.tar.gz: 5eb471ab555a6281860ac3d5e654ec3f51376d91d39d5bc17d26b330f8c4173c
3
+ metadata.gz: 518e3050b1d74072f42d4f2adb101cb9ff32fef0e3c41953190b4d60db66d588
4
+ data.tar.gz: d456334bc98a30925f2062304215320ba7ef970581c1c0a14ced65724a678dd7
5
5
  SHA512:
6
- metadata.gz: 93c9e9e5fb3e5ba6034530bdba99f6881b6a63715723366d247b985cdcff151166f58c9cd0c08cb3485098afc2412157ebb6080a8f408d1d16e781ae7192e2fd
7
- data.tar.gz: 9d3fa8b4cbce0c87994788e4427c3037a8c7e71bcc82a2e26ad354c2d65611bc220da92a3412c145b78ba2b3a47907e6b1769789b0ccfb978738597049ee26c5
6
+ metadata.gz: 1f9d58699e6c5944d305460f6059af18807e8b604eb1589a0d3b8ca92e716f4f3430e87697e2fc65049300b4819af12860965107df4deaabef5d9c14a3ad58bc
7
+ data.tar.gz: 6cf6bb1f1ccd68c95f7d7fbc5f6c7c3542839bc64d691935e5dc13b7164373dd140e63ce7a5b2db961c20c185eda0227e1af8d46e99d01743d6223a6467e7e58
@@ -1,3 +1,3 @@
1
1
  module Establish
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
data/spec/helper_spec.rb CHANGED
@@ -1,12 +1,16 @@
1
1
  describe Establish do
2
2
  describe Establish::Helper do
3
- it "#xcode_path" do
4
- Establish::Helper.xcode_path[-1].should eq('/')
5
- Establish::Helper.xcode_path.should eq("/Applications/Xcode.app/Contents/Developer/")
6
- end
7
3
 
8
- it "#transporter_path" do
9
- Establish::Helper.transporter_path.should eq("/Applications/Xcode.app/Contents/Developer/../Applications/Application\\ Loader.app/Contents/MacOS/itms/bin/iTMSTransporter")
10
- end
4
+ if OS.mac?
5
+ it "#xcode_path" do
6
+ Establish::Helper.xcode_path[-1].should eq('/')
7
+ Establish::Helper.xcode_path.should eq("/Applications/Xcode.app/Contents/Developer/")
8
+ end
9
+
10
+ it "#transporter_path"
11
+ Establish::Helper.transporter_path.should eq("/Applications/Xcodee.app/Contents/Developer/../Applications/Application\\ Loader.app/Contents/MacOS/itms/bin/iTMSTransporter")
12
+ end
13
+ end
14
+
11
15
  end
12
16
  end
data/spec/spec_helper.rb CHANGED
@@ -1 +1,7 @@
1
1
  require 'establish'
2
+
3
+ module OS
4
+ def self.mac?
5
+ (/darwin/ =~ RUBY_PLATFORM) != nil
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: establish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincenzo Fehring