xopen 0.0.1 → 0.0.2

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -14
  3. data/bin/xopen +3 -4
  4. data/lib/xopen/version.rb +1 -1
  5. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 294b97c5c09747c3b2d90f36ca3137420b8b5e19
4
- data.tar.gz: 418bd8c666eb7a5620e375a75ffbc6199edde275
3
+ metadata.gz: 4800eb2ccb4cdfe3a6432394efc38a4e12d17bef
4
+ data.tar.gz: 0643a2d175dccd6719e102a4ab62344c1178a5b0
5
5
  SHA512:
6
- metadata.gz: cb73558dea9ff07869c19553d9aa5b3cc77f6e30b8930b36c2ea2af398c9f49738caff025d84c56787bd8126c419e98cc0b394167298e611157438313e40f055
7
- data.tar.gz: 3cadcd39faa64522c07060c08e332f999cbd0d7114717d26138675a061689a0f1bad1b9908e8fe4878880ec07b2b0bb5f2b27afc3d0b468fa372e3726302e519
6
+ metadata.gz: 3bf9543c79a688033058b1d5374ec02c07e56ed2c661ad8f5784ae4c61ef663551a7de266cbf223f96a4d7d227a7ab06a5a99269eb2ba55a729a22b58a608284
7
+ data.tar.gz: a06ddc422b3115b916558f140ccb94da02746031e998494278cd0ab76d54ba94fadf56215ba11e0d7b1b61260fd55c2d3d9340522190b6a4b093aaf562b2303e
data/README.md CHANGED
@@ -1,31 +1,28 @@
1
1
  # Xopen
2
2
 
3
- TODO: Write a gem description
3
+ Xopen is a command line that opens the first .xcworkspace found on the current folder, or the first .xcodeproj found (if no workspace was found).
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'xopen'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
7
+ Install from RubyGems:
18
8
 
19
9
  $ gem install xopen
20
10
 
21
11
  ## Usage
22
12
 
23
- TODO: Write usage instructions here
13
+ Just run the command on the project's folder:
14
+
15
+ $ xopen
24
16
 
25
17
  ## Contributing
26
18
 
27
- 1. Fork it ( https://github.com/[my-github-username]/xopen/fork )
19
+ 1. Fork it ( https://github.com/madson/xopen/fork )
28
20
  2. Create your feature branch (`git checkout -b my-new-feature`)
29
21
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
22
  4. Push to the branch (`git push origin my-new-feature`)
31
23
  5. Create a new Pull Request
24
+
25
+ ## Credits
26
+
27
+ * Marcelo Fabri (Original code) - [http://www.marcelofabri.com/xopen/](http://www.marcelofabri.com/xopen/)
28
+ * Madson Cardoso (Ruby gem) - [http://www.madsonmac.com/](http://www.madsonmac.com/)
data/bin/xopen CHANGED
@@ -1,12 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- proj = Dir['*.xcworkspace'].first
4
- proj = Dir['*.xcodeproj'].first unless proj
3
+ proj = Dir['**/*.xcworkspace'].first
4
+ proj = Dir['**/*.xcodeproj'].first unless proj
5
5
 
6
6
  if proj
7
7
  puts "Opening #{proj}"
8
8
  `open #{proj}`
9
9
  else
10
10
  puts "No xcworkspace | xcproj file found"
11
- end
12
-
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Xopen
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xopen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Madson Cardoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-27 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,8 +76,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.4.4
79
+ rubygems_version: 2.4.6
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Opens Xcode workspace or project on the current folder.
83
83
  test_files: []
84
+ has_rdoc: