ios_dev_tools 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/bin/ios_sign CHANGED
@@ -1,7 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'optparse'
4
- require 'ios_dev_tools'
4
+
5
+ begin
6
+ require 'ios_dev_tools'
7
+ rescue LoadError
8
+ require 'rubygems'
9
+ require 'ios_dev_tools'
10
+ end
5
11
 
6
12
  $be_verbose=false
7
13
 
data/lib/ios_dev_tools.rb CHANGED
@@ -1,6 +1,8 @@
1
1
 
2
2
  module IOSDevTools
3
3
 
4
+ VERSION = "0.1.0"
5
+
4
6
  autoload :ApplicationBundle, 'ios_dev_tools/application_bundle'
5
7
  autoload :ProvisioningProfile, 'ios_dev_tools/provisioning_profile'
6
8
 
@@ -0,0 +1,14 @@
1
+ require 'test/unit'
2
+ require 'ios_dev_tools'
3
+
4
+ class ApplicationBundleTest < Test::Unit::TestCase
5
+
6
+ def test_create_with_not_existing_folder
7
+
8
+ assert_raise RuntimeError do
9
+ IOSDevTools::ApplicationBundle.new "dummy_folder"
10
+ end
11
+
12
+ end
13
+
14
+ end
@@ -0,0 +1,14 @@
1
+ require 'test/unit'
2
+ require 'ios_dev_tools'
3
+
4
+ class ProvisioningProfileTest < Test::Unit::TestCase
5
+
6
+ def test_create_with_not_existing_folder
7
+
8
+ assert_raise RuntimeError do
9
+ IOSDevTools::ProvisioningProfile.new "dummy_folder"
10
+ end
11
+
12
+ end
13
+
14
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marcin Maciukiewicz
@@ -31,7 +31,7 @@ files:
31
31
  - lib/ios_dev_tools/application_bundle.rb
32
32
  - lib/ios_dev_tools/provisioning_profile.rb
33
33
  has_rdoc: true
34
- homepage: https://github.com/cSquirrel/ios_dev_tools
34
+ homepage: https://github.com/cSquirrel/ios-dev-tools
35
35
  licenses:
36
36
  - MIT
37
37
  post_install_message:
@@ -60,5 +60,6 @@ rubygems_version: 1.3.6
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: iOS Dev Tools
63
- test_files: []
64
-
63
+ test_files:
64
+ - test/test_application_bundle.rb
65
+ - test/test_provisioning_profile.rb