xsort 1.2.4 → 1.2.5

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: 8c40d2c455e205214241c8062857a4b2b0330737
4
- data.tar.gz: 3ce334aa69503adc6c96cd073d30c0c04d0a7212
3
+ metadata.gz: a6dadbcc9ddbad1ea66329300d949cb968adde32
4
+ data.tar.gz: 04515270c36acc829ba3dd07efd1ef2f616cfc45
5
5
  SHA512:
6
- metadata.gz: da7b68bfddb6f8643edbe99f4560bb0e08fe68121b76c75d74268140e66aca40f0cb2da38749d50ebcf467fc6554a1a4666813a577e66e886508c3e3a06f6de3
7
- data.tar.gz: 50401858c762ac2dfd4ca6ae00f66f272ec3c103e678c70e4defe08cfad59ea7cdf9da479fb91e06bce18abbd9314f87c3a7498f16e8ddde81f386ed28838644
6
+ metadata.gz: 69fcee959c5b225575ce31105974c2464685f47b60f709b1de5910fa1dca351d7ce83519a2aa83d4d6ab81165e114c76efefff8257c99a148caf29a6eff3ed08
7
+ data.tar.gz: 15371f654dd6afa9b63df47866b32565e5a8551de6e15207a58d4788e846b4ba60df5579f30d184cb350ed3ad052e9fbb6cf759ca37137c9894a712733265abb
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  .DS_Store
9
9
  # rspec failure tracking
10
10
  .rspec_status
11
+ .gem
data/.travis.yml CHANGED
@@ -2,4 +2,12 @@ sudo: false
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.2.2
5
- before_install: gem install bundler -v 1.16.0
5
+ before_install:
6
+ - gem install bundler -v 1.16.0
7
+ - bundle install
8
+
9
+ jobs:
10
+ include:
11
+ - stage: test
12
+ script:
13
+ - bundle exec rspec
data/Gemfile.lock ADDED
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ xsort (1.2.5)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.0)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.3)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 1.16)
30
+ rake (~> 10.0)
31
+ rspec (~> 3.0)
32
+ xsort!
33
+
34
+ BUNDLED WITH
35
+ 1.17.2
data/README.md CHANGED
@@ -1,10 +1,14 @@
1
+ <p align="center">
2
+
3
+ <img src="https://github.com/keisukeYamagishi/xsort/blob/master/doc/xsort.png" width="40%" height="40%">
1
4
 
2
- <img src="https://github.com/keisukeYamagishi/xsort/blob/master/doc/xsort.png">
3
5
 
4
6
  [![](https://img.shields.io/badge/Twitter-O--Liker%20Error-blue.svg)](https://twitter.com/O_Linker_Error)
5
7
  [![](https://img.shields.io/badge/Language-Ruby-red.svg)](https://www.ruby-lang.org/ja/)
6
8
  [![](https://img.shields.io/apm/l/vim-mode.svg)](https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE)
7
9
 
10
+ </p>
11
+
8
12
  # Build
9
13
  |OS |Result |
10
14
  |:---------------|:----------------|
@@ -161,5 +165,12 @@ xsort ../App/App.xcodeproj -r
161
165
  ```
162
166
  ->> ./xsort -v
163
167
 
164
- Version: 1.2.3
168
+ Version: 1.2.4
165
169
  ```
170
+
171
+ ## Contributing
172
+
173
+ We welcome your ideas and bug reports.
174
+ You can either create a [pull request](https://github.com/keisukeYamagishi/xsort/pulls) or create and report an [issue](https://github.com/keisukeYamagishi/xsort/issues).
175
+
176
+ We look forward to your ideas.
data/bin/xsort CHANGED
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  #!/usr/bin/env ruby
2
13
 
3
14
  require "xsort"
@@ -21,7 +32,7 @@ def execute(option)
21
32
  xsort.sort(option.stdout,option.notOverwrite)
22
33
  else
23
34
  puts "(*_*).oO not pbxproj file"
24
- puts "must select pbxproj file"
35
+ puts "(☝ ՞ਊ ՞)☝!!!must select pbxproj file(☝ ՞ਊ ՞)☝!!!"
25
36
  puts "($_$).oO omg"
26
37
  end
27
38
  end
data/lib/xsort/option.rb CHANGED
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  class Option
2
13
 
3
14
  def initialize(argv)
@@ -12,14 +23,13 @@ class Option
12
23
  @options = Array.new
13
24
  @path = ""
14
25
  argvs.each{|argv|
15
- if argv.index("-")
26
+ if !argv.index(".xcodeproj")
16
27
 
17
28
  if argv == "-o"
18
29
  @stdout = true
19
30
  elsif argv == "-r"
20
- @notOverWrite = true
31
+ @notOverwrite = true
21
32
  end
22
-
23
33
  @options.push(argv)
24
34
  else
25
35
  @path = createPath(argv)
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  module Xsort
2
13
  class Sortproj
3
14
 
data/lib/xsort/version.rb CHANGED
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  module Xsort
2
- VERSION = "1.2.4"
13
+ VERSION = "1.2.5"
3
14
  end
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  module Xcodeproj
2
13
  module Pbxproj
3
14
  module PbxObject
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  module Xcodeproj
2
13
  module Pbxproj
3
14
  module PbxObject
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  module Xcodeproj
2
13
  module Pbxproj
3
14
  module PbxObject
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  module Xcodeproj
2
13
  module Pbxproj
3
14
  module PbxObject
data/lib/xsort.rb CHANGED
@@ -1,3 +1,14 @@
1
+ #(☝ ՞ਊ ՞)☝------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the xsort open source project
4
+ #
5
+ # Copyright (c) 2018 - Keisuke Yamagishi. project authors
6
+ # Licensed under MIT LICENCE
7
+ #
8
+ # See https://github.com/keisukeYamagishi/xsort/blob/master/LICENSE.txt for license information
9
+ #
10
+ #===------------------------------------------------------------------(☝ ՞ਊ ՞)☝/
11
+
1
12
  require "xsort/xcodeproj/pbxproj/pbxobject/Pbxproj"
2
13
  require "xsort/xcodeproj/pbxproj/pbxobject/PbxSort"
3
14
  require "xsort/xcodeproj/pbxproj/pbxobject/PbxWrite"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsort
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - keisuke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-17 00:00:00.000000000 Z
11
+ date: 2019-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -65,6 +65,7 @@ files:
65
65
  - ".travis.yml"
66
66
  - CODE_OF_CONDUCT.md
67
67
  - Gemfile
68
+ - Gemfile.lock
68
69
  - LICENSE.txt
69
70
  - README.md
70
71
  - Rakefile
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
99
  version: '0'
99
100
  requirements: []
100
101
  rubyforge_project:
101
- rubygems_version: 2.5.2
102
+ rubygems_version: 2.5.2.3
102
103
  signing_key:
103
104
  specification_version: 4
104
105
  summary: Sort by file.