gct 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa28dc842327c6ec08bd44600b7457a533b14274ab3020861c012f427a2a9192
4
- data.tar.gz: d8abd745b04e82728101ff0129a920265cbc5acd79f87ae5360d9e41ae9c724f
3
+ metadata.gz: 0feb03c5e5613155c2ff035d5d87092d2917c53bad43507292e54b822597a292
4
+ data.tar.gz: 75d07c463c9c442ee14e1ec62c56c7fd4929232ff2dbae62ead4ba9d89b92c0e
5
5
  SHA512:
6
- metadata.gz: 8256de21008be3552722b25e62108a9b53a383c4937ed33a15d2ed8611677cf8e757f5f4e815bef0cd0746875e55885df041c6f245f96c17f7f915c1b6a53617
7
- data.tar.gz: f2d0db217f7cb89a5236933c0005f99d44f80e7b2e77a4cf6ff4f25333c5297c0da17334e8068b61378cd10a31f4bd72fe2f7e3504013d687fee132aa9ffb6c9
6
+ metadata.gz: 90c1b6647e67e4e6bf13346feaa4b43e73bd0003348b176b1139547b533d061bbc7ebbf7b53dedf76a87362f3427d029c29b6e4357f39e2bffff2500cfb34369
7
+ data.tar.gz: c419a6deb353b3dc1b331eca96ccf64f2310dffe5e7e560e8b193d6285e67f049c6400ce6fd68c36ac444750a9fb90b1f3ecd4c794c6b239290fc923e404d860
@@ -5,11 +5,10 @@ module Gct
5
5
 
6
6
  self.summary = '运行R脚本'
7
7
  self.description = <<-DESC
8
- 运行R脚本.
8
+ 查找名为'[GCT] create R'的run script脚本,并运行.
9
9
  DESC
10
10
 
11
- self.arguments = [
12
- ]
11
+ self.arguments = []
13
12
 
14
13
  def initialize(argv)
15
14
  super
@@ -25,16 +24,16 @@ module Gct
25
24
 
26
25
  def buildR
27
26
  proj = ''
28
- Dir.entries(Dir.pwd).each do |sub|
29
- if sub.include? '.xcodeproj'
30
- proj = sub
27
+ Dir.entries(Dir.pwd).each do |subfile|
28
+ if subfile.include? '.xcodeproj'
29
+ proj = subfile
31
30
  end
32
31
  end
33
32
 
34
33
  if proj == ''
35
34
  puts '没有找到.xcodeproj文件'.red
36
35
  else
37
- project_path = File.join(File.dirname(__FILE__), "./" + proj)
36
+ project_path = File.join(Dir.pwd, "./" + proj)
38
37
  project = Xcodeproj::Project.open(project_path)
39
38
 
40
39
  objects = project.objects
data/lib/gct/version.rb CHANGED
@@ -2,5 +2,5 @@ module Gct
2
2
  # freeze 冻结对象,将对象变成一个常量
3
3
  # unless 右边的代码块成立,才会运行左边的代码块
4
4
  # defined? 是用来判断本地变量是否存在,也可用来判断是否存在方法
5
- VERSION = "0.1.3".freeze unless defined? Gct::VERSION
5
+ VERSION = "0.1.4".freeze unless defined? Gct::VERSION
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jieming
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -100,6 +100,26 @@ dependencies:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: 1.8.4
103
+ - !ruby/object:Gem::Dependency
104
+ name: xcodeproj
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 1.14.0
110
+ - - "<"
111
+ - !ruby/object:Gem::Version
112
+ version: '2.0'
113
+ type: :runtime
114
+ prerelease: false
115
+ version_requirements: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 1.14.0
120
+ - - "<"
121
+ - !ruby/object:Gem::Version
122
+ version: '2.0'
103
123
  description: '"gct ios 自动化脚本工具"'
104
124
  email:
105
125
  - 307113345@qq.com