qricker 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/vcs.xml +6 -0
- data/Gemfile.lock +7 -7
- data/Rakefile +1 -1
- data/bin/qricker +16 -3
- data/lib/qricker/dependency.rb +66 -0
- data/lib/qricker/module.rb +38 -0
- data/lib/qricker/module_cache.rb +30 -0
- data/lib/qricker/podspecs.rb +3 -11
- data/lib/qricker/spec_builder.rb +97 -0
- data/lib/qricker/version.rb +1 -1
- data/lib/qricker.rb +19 -62
- data/qricker.gemspec +2 -2
- data/test/a/.jazzy.yaml +10 -0
- data/test/a/Pod/Classes/a.h +13 -0
- data/test/a/Pod/Classes/replace.m +1 -0
- data/test/a/README.md +2 -0
- data/test/a/a.podspec +45 -0
- data/test/t/.jazzy.yaml +10 -0
- data/test/t/Pod/Classes/replace.m +1 -0
- data/test/t/Pod/Classes/t.h +13 -0
- data/test/t/README.md +2 -0
- data/test/t/t.podspec +37 -0
- metadata +21 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f6040bc0798b5ecaa812a2aa35d3054c2d9df3c
|
4
|
+
data.tar.gz: 472b34ebc51556bc343c2f76c9e4d69ed0d965ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '058d7bf3b9f550ef433e9d27d2c0a928c83109b29a5b9dcd5a5c5948250347e36b34133bf125544a7dac21e80c1f4b6841049b21f0ef27fae6e946a17f12956d'
|
7
|
+
data.tar.gz: e837eb2f960779cf0fc6570cbdc7ea063f937dfab9903013015409b10b3d75515082dceb7848259662d2aa9f2ac4e64b4d9c0024f7e8e18d4714b23f398fcab8
|
data/.idea/vcs.xml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
qricker (0.0.
|
4
|
+
qricker (0.0.6)
|
5
5
|
cocoapods (~> 1)
|
6
6
|
gli (= 2.16.0)
|
7
7
|
parseconfig (~> 1)
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
builder (3.2.3)
|
26
26
|
childprocess (0.5.9)
|
27
27
|
ffi (~> 1.0, >= 1.0.11)
|
28
|
-
claide (1.0.
|
28
|
+
claide (1.0.2)
|
29
29
|
cocoapods (1.2.1)
|
30
30
|
activesupport (>= 4.0.2, < 5)
|
31
31
|
claide (>= 1.0.1, < 2.0)
|
@@ -80,8 +80,8 @@ GEM
|
|
80
80
|
gh_inspector (1.0.3)
|
81
81
|
gherkin (4.1.3)
|
82
82
|
gli (2.16.0)
|
83
|
-
i18n (0.8.
|
84
|
-
minitest (5.10.
|
83
|
+
i18n (0.8.6)
|
84
|
+
minitest (5.10.3)
|
85
85
|
molinillo (0.5.7)
|
86
86
|
multi_json (1.12.1)
|
87
87
|
multi_test (0.1.2)
|
@@ -100,9 +100,9 @@ GEM
|
|
100
100
|
thread_safe (0.3.6)
|
101
101
|
tzinfo (1.2.3)
|
102
102
|
thread_safe (~> 0.1)
|
103
|
-
xcodeproj (1.
|
103
|
+
xcodeproj (1.5.1)
|
104
104
|
CFPropertyList (~> 2.3.3)
|
105
|
-
claide (>= 1.0.
|
105
|
+
claide (>= 1.0.2, < 2.0)
|
106
106
|
colored2 (~> 3.1)
|
107
107
|
nanaimo (~> 0.2.3)
|
108
108
|
|
@@ -110,7 +110,7 @@ PLATFORMS
|
|
110
110
|
ruby
|
111
111
|
|
112
112
|
DEPENDENCIES
|
113
|
-
aruba
|
113
|
+
aruba (~> 0)
|
114
114
|
qricker!
|
115
115
|
rake
|
116
116
|
rdoc
|
data/Rakefile
CHANGED
data/bin/qricker
CHANGED
@@ -3,9 +3,6 @@ require 'gli'
|
|
3
3
|
begin # XXX: Remove this begin/rescue before distributing your app
|
4
4
|
require 'qricker'
|
5
5
|
rescue LoadError
|
6
|
-
STDERR.puts "In development, you need to use `bundle exec bin/qricker` to run your app"
|
7
|
-
STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path"
|
8
|
-
STDERR.puts "Feel free to remove this message from bin/qricker now"
|
9
6
|
exit 64
|
10
7
|
end
|
11
8
|
|
@@ -66,6 +63,22 @@ command :dependency do |c|
|
|
66
63
|
end
|
67
64
|
|
68
65
|
|
66
|
+
desc "transfer podspec to release"
|
67
|
+
command :transfer do |c|
|
68
|
+
c.desc 'the input podspec file'
|
69
|
+
c.flag [:i, "input-file"], :required=>true
|
70
|
+
|
71
|
+
|
72
|
+
c.desc 'the input rctl file'
|
73
|
+
c.flag [:rctl,"rctl"], :required=>true
|
74
|
+
c.action do |global_options,options,args|
|
75
|
+
inputfile = options[:i]
|
76
|
+
spec = Qricker.transferSpec(options[:rctl],inputfile)
|
77
|
+
print spec
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
|
69
82
|
|
70
83
|
|
71
84
|
pre do |global,command,options,args|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'parseconfig'
|
2
|
+
require 'cocoapods'
|
3
|
+
require 'pathname'
|
4
|
+
require_relative "module.rb"
|
5
|
+
require_relative "podspecs.rb"
|
6
|
+
|
7
|
+
module Qricker
|
8
|
+
def Qricker.collectDependencies(config,dependecies, originSpec)
|
9
|
+
if config.get_groups.include?(originSpec)
|
10
|
+
podspec = Pod::Specification.from_file(config[originSpec]["PATH"]+"/#{originSpec}.podspec")
|
11
|
+
podspec.dependencies.each { |pspec|
|
12
|
+
if not dependecies.include? pspec.name
|
13
|
+
dependecies << pspec.name
|
14
|
+
collectDependencies(config,dependecies, pspec.name)
|
15
|
+
end
|
16
|
+
}
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
|
21
|
+
def Qricker.dependency(localfile , specnames)
|
22
|
+
config = ParseConfig.new(localfile)
|
23
|
+
if config.nil?
|
24
|
+
return []
|
25
|
+
end
|
26
|
+
allDependencies = []
|
27
|
+
if not specnames.nil?
|
28
|
+
specnames.each { |name|
|
29
|
+
collectDependencies(config,allDependencies, name)
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
outputDependencies = []
|
34
|
+
allDependencies.each { |dep|
|
35
|
+
if config.get_groups.include?(dep)
|
36
|
+
spec = RickerSpec.new(dep, config[dep]["PATH"])
|
37
|
+
outputDependencies << spec
|
38
|
+
end
|
39
|
+
}
|
40
|
+
puts outputDependencies
|
41
|
+
return outputDependencies
|
42
|
+
end
|
43
|
+
|
44
|
+
def Qricker.dependencyIncludeSelf(localfile, specnames)
|
45
|
+
config = ParseConfig.new(localfile)
|
46
|
+
if config.nil?
|
47
|
+
return []
|
48
|
+
end
|
49
|
+
allDependencies = Array.new(specnames)
|
50
|
+
if not specnames.nil?
|
51
|
+
specnames.each { |name|
|
52
|
+
collectDependencies(config,allDependencies, name)
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
outputDependencies = []
|
57
|
+
allDependencies.each { |dep|
|
58
|
+
if config.get_groups.include?(dep)
|
59
|
+
spec = RickerSpec.new(dep, config[dep]["PATH"])
|
60
|
+
outputDependencies << spec
|
61
|
+
end
|
62
|
+
}
|
63
|
+
return outputDependencies
|
64
|
+
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'cocoapods'
|
2
|
+
require 'pathname'
|
3
|
+
module Qricker
|
4
|
+
class RickerSpec
|
5
|
+
attr_accessor :name
|
6
|
+
attr_accessor :path
|
7
|
+
|
8
|
+
def initialize(name, path)
|
9
|
+
@name = name
|
10
|
+
@path = path
|
11
|
+
@specification = nil
|
12
|
+
end
|
13
|
+
|
14
|
+
def valid?
|
15
|
+
if @specification.nil?
|
16
|
+
return false
|
17
|
+
end
|
18
|
+
return true
|
19
|
+
end
|
20
|
+
|
21
|
+
def to_s
|
22
|
+
"RickerSpec name:#{@name} path:#{@path}"
|
23
|
+
end
|
24
|
+
|
25
|
+
def podSpecilication
|
26
|
+
if @specification.nil?
|
27
|
+
specPath = Pathname(@path).join("#{@name}.podspec")
|
28
|
+
@specification = Pod::Specification.from_file(specPath.to_path)
|
29
|
+
end
|
30
|
+
return @specification
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
def Qricker.parseRCTL(rctlFile)
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'parseconfig'
|
2
|
+
require_relative "module.rb"
|
3
|
+
|
4
|
+
module Qricker
|
5
|
+
class ModuleCache
|
6
|
+
attr_accessor :allModules
|
7
|
+
def initialize(rctlFile)
|
8
|
+
config = ParseConfig.new(rctlFile)
|
9
|
+
if config.nil?
|
10
|
+
Error("RCTL file is invalid!!!")
|
11
|
+
end
|
12
|
+
|
13
|
+
allSpecs = []
|
14
|
+
config.get_groups.each {|group|
|
15
|
+
allSpecs << RickerSpec.new(group, config[group]["PATH"])
|
16
|
+
}
|
17
|
+
@allModules = allSpecs
|
18
|
+
end
|
19
|
+
|
20
|
+
def moduleByName(name)
|
21
|
+
specModuel = nil
|
22
|
+
@allModules.each { |sm|
|
23
|
+
if sm.name == name
|
24
|
+
specModuel = sm
|
25
|
+
end
|
26
|
+
}
|
27
|
+
return specModuel
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/qricker/podspecs.rb
CHANGED
@@ -1,12 +1,6 @@
|
|
1
|
-
module
|
2
|
-
class RickerSpec
|
3
|
-
attr_accessor :name
|
4
|
-
attr_accessor :path
|
5
|
-
def to_s
|
6
|
-
"RickerSpec name:#{@name} path:#{@path}"
|
7
|
-
end
|
8
|
-
end
|
1
|
+
require_relative 'module.rb'
|
9
2
|
|
3
|
+
module Qricker
|
10
4
|
def Qricker.findPodspecs(path)
|
11
5
|
podspecs = []
|
12
6
|
path = Pathname(path)
|
@@ -46,9 +40,7 @@ module Qricker
|
|
46
40
|
transSpecs = []
|
47
41
|
if not podspecs.nil?
|
48
42
|
podspecs.each { |specpath|
|
49
|
-
spec = RickerSpec.new
|
50
|
-
spec.name = File.basename(specpath,".podspec")
|
51
|
-
spec.path = specpath.dirname
|
43
|
+
spec = RickerSpec.new(File.basename(specpath,".podspec"), specpath.dirname)
|
52
44
|
transSpecs << spec
|
53
45
|
}
|
54
46
|
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
require_relative "module_cache"
|
2
|
+
module Qricker
|
3
|
+
|
4
|
+
class SpecBuilder
|
5
|
+
def initialize(spec, moduleCache)
|
6
|
+
@spec = spec
|
7
|
+
@moduleCache = moduleCache
|
8
|
+
end
|
9
|
+
|
10
|
+
def framework_path
|
11
|
+
if @embedded
|
12
|
+
@spec.name + '.embeddedframework' + '/' + @spec.name + '.framework'
|
13
|
+
else
|
14
|
+
@spec.name + '.framework'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def spec_platform(platform)
|
19
|
+
fwk_base = platform.name.to_s + '/' + framework_path
|
20
|
+
spec = <<RB
|
21
|
+
s.#{platform.name}.deployment_target = '#{platform.deployment_target}'
|
22
|
+
s.#{platform.name}.vendored_framework = '#{fwk_base}'
|
23
|
+
RB
|
24
|
+
|
25
|
+
%w(frameworks weak_frameworks libraries requires_arc xcconfig).each do |attribute|
|
26
|
+
attributes_hash = @spec.attributes_hash[platform.name.to_s]
|
27
|
+
next if attributes_hash.nil?
|
28
|
+
value = attributes_hash[attribute]
|
29
|
+
next if value.nil?
|
30
|
+
|
31
|
+
value = "'#{value}'" if value.class == String
|
32
|
+
spec += " s.#{platform.name}.#{attribute} = #{value}\n"
|
33
|
+
end
|
34
|
+
spec
|
35
|
+
end
|
36
|
+
|
37
|
+
def spec_metadata
|
38
|
+
spec = spec_header
|
39
|
+
spec += spec_dependencies
|
40
|
+
spec
|
41
|
+
end
|
42
|
+
|
43
|
+
def spec_close
|
44
|
+
"end\n"
|
45
|
+
end
|
46
|
+
|
47
|
+
private
|
48
|
+
|
49
|
+
def spec_dependencies
|
50
|
+
value = @spec.attributes_hash["dependencies"]
|
51
|
+
return "" if value.nil?
|
52
|
+
return "" if value.class == Array and value.length == 0
|
53
|
+
spec = ""
|
54
|
+
value.each { |dep|
|
55
|
+
spec += "\n s.dependency '#{dep[0]}' "
|
56
|
+
if not @moduleCache.nil?
|
57
|
+
depSpec = @moduleCache.moduleByName(dep[0])
|
58
|
+
if not depSpec.nil? and not depSpec.podSpecilication.nil?
|
59
|
+
spec += ", '#{depSpec.podSpecilication.version}'"
|
60
|
+
end
|
61
|
+
else
|
62
|
+
dep[1].each { |req|
|
63
|
+
spec += ", '#{req}'"
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
}
|
68
|
+
spec
|
69
|
+
end
|
70
|
+
|
71
|
+
def spec_header
|
72
|
+
spec = "Pod::Spec.new do |s|\n"
|
73
|
+
|
74
|
+
%w(name version summary license authors homepage description social_media_url
|
75
|
+
docset_url documentation_url screenshots frameworks weak_frameworks libraries requires_arc
|
76
|
+
deployment_target xcconfig prefix_header_file module_name prepare_command ).each do |attribute|
|
77
|
+
value = @spec.attributes_hash[attribute]
|
78
|
+
next if value.nil?
|
79
|
+
if value.class == String
|
80
|
+
value = value.dump
|
81
|
+
spec += " s.#{attribute} = #{value}\n"
|
82
|
+
elsif value.class == Array
|
83
|
+
spec += " s.#{attribute} = "
|
84
|
+
value.each_with_index {|each , index|
|
85
|
+
if index != 0
|
86
|
+
spec += ", "
|
87
|
+
end
|
88
|
+
spec += "'#{each}'"
|
89
|
+
}
|
90
|
+
spec += "\n"
|
91
|
+
end
|
92
|
+
end
|
93
|
+
spec
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
end
|
data/lib/qricker/version.rb
CHANGED
data/lib/qricker.rb
CHANGED
@@ -1,72 +1,29 @@
|
|
1
1
|
require 'qricker/version.rb'
|
2
2
|
require 'qricker/podspecs.rb'
|
3
|
-
require '
|
4
|
-
require '
|
5
|
-
require '
|
3
|
+
require 'qricker/module.rb'
|
4
|
+
require 'qricker/dependency.rb'
|
5
|
+
require 'qricker/spec_builder.rb'
|
6
|
+
require 'qricker/module_cache.rb'
|
6
7
|
# Add requires for other files you add to your project here, so
|
7
8
|
# you just need to require this one file in your bin file
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
podspec = Pod::Specification.from_file(config[originSpec]["PATH"]+"/#{originSpec}.podspec")
|
13
|
-
podspec.dependencies.each { |pspec|
|
14
|
-
if not dependecies.include? pspec.name
|
15
|
-
dependecies << pspec.name
|
16
|
-
collectDependencies(config,dependecies, pspec.name)
|
17
|
-
end
|
18
|
-
}
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
def Qricker.dependency(localfile , specnames)
|
24
|
-
config = ParseConfig.new(localfile)
|
25
|
-
if config.nil?
|
26
|
-
return []
|
27
|
-
end
|
28
|
-
allDependencies = []
|
29
|
-
if not specnames.nil?
|
30
|
-
specnames.each { |name|
|
31
|
-
collectDependencies(config,allDependencies, name)
|
32
|
-
}
|
33
|
-
end
|
10
|
+
#third packager
|
11
|
+
require 'pathname'
|
12
|
+
require 'cocoapods'
|
34
13
|
|
35
|
-
outputDependencies = []
|
36
|
-
allDependencies.each { |dep|
|
37
|
-
if config.get_groups.include?(dep)
|
38
|
-
spec = RickerSpec.new()
|
39
|
-
spec.name = dep
|
40
|
-
spec.path = config[dep]["PATH"]
|
41
|
-
outputDependencies << spec
|
42
|
-
end
|
43
|
-
}
|
44
|
-
puts outputDependencies
|
45
|
-
return outputDependencies
|
46
|
-
end
|
47
14
|
|
48
|
-
|
49
|
-
|
50
|
-
if
|
51
|
-
|
52
|
-
|
53
|
-
allDependencies = Array.new(specnames)
|
54
|
-
if not specnames.nil?
|
55
|
-
specnames.each { |name|
|
56
|
-
collectDependencies(config,allDependencies, name)
|
57
|
-
}
|
15
|
+
module Qricker
|
16
|
+
def Qricker.transferSpec(rctlFile,specFile)
|
17
|
+
if not Pathname(specFile).exist?
|
18
|
+
print "File Not Exist!!!"
|
19
|
+
exit(1)
|
58
20
|
end
|
21
|
+
moduleCache = ModuleCache.new(rctlFile)
|
22
|
+
spec = Pod::Specification.from_file(specFile)
|
59
23
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
spec.name = dep
|
65
|
-
spec.path = config[dep]["PATH"]
|
66
|
-
outputDependencies << spec
|
67
|
-
end
|
68
|
-
}
|
69
|
-
return outputDependencies
|
70
|
-
|
24
|
+
tspecBuilder = SpecBuilder.new(spec, moduleCache )
|
25
|
+
#
|
26
|
+
tspec = tspecBuilder.spec_metadata + "\n"+ tspecBuilder.spec_close
|
27
|
+
return tspec
|
71
28
|
end
|
72
|
-
end
|
29
|
+
end
|
data/qricker.gemspec
CHANGED
@@ -17,8 +17,8 @@ spec = Gem::Specification.new do |s|
|
|
17
17
|
s.rdoc_options << '--title' << 'qricker' << '--main' << 'README.rdoc' << '-ri'
|
18
18
|
s.bindir = 'bin'
|
19
19
|
s.executables << 'qricker'
|
20
|
-
s.add_development_dependency('rake'
|
21
|
-
s.add_development_dependency('rdoc'
|
20
|
+
s.add_development_dependency('rake')
|
21
|
+
s.add_development_dependency('rdoc')
|
22
22
|
s.add_development_dependency('aruba', "~> 0")
|
23
23
|
s.add_runtime_dependency('gli','2.16.0')
|
24
24
|
s.add_runtime_dependency('cocoapods', '~> 1')
|
data/test/a/.jazzy.yaml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
//replace me !!!
|
data/test/a/README.md
ADDED
data/test/a/a.podspec
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
#
|
2
|
+
# Be sure to run `pod lib lint a.podspec' to ensure this is a
|
3
|
+
# valid spec before submitting.
|
4
|
+
#
|
5
|
+
# Any lines starting with a # are optional, but their use is encouraged
|
6
|
+
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
7
|
+
#
|
8
|
+
|
9
|
+
Pod::Spec.new do |s|
|
10
|
+
s.name = "a"
|
11
|
+
s.version = "0.1.0"
|
12
|
+
s.summary = "a 腾讯云iOS-SDK组件"
|
13
|
+
|
14
|
+
# This description is used to generate tags and improve search results.
|
15
|
+
# * Think: What does it do? Why did you write it? What is the focus?
|
16
|
+
# * Try to keep it short, snappy and to the point.
|
17
|
+
# * Write the description between the DESC delimiters below.
|
18
|
+
# * Finally, don't worry about the indent, CocoaPods strips it!
|
19
|
+
|
20
|
+
s.description = <<-DESC
|
21
|
+
TODO: Add long description of the pod here.aaa
|
22
|
+
DESC
|
23
|
+
|
24
|
+
s.homepage = "https://cloud.tencent.com/"
|
25
|
+
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
|
26
|
+
s.license = 'MIT'
|
27
|
+
s.author = { "QCloudTerminalLab" => "g_PDTC_storage_DEV_terminallab@tencent.com" }
|
28
|
+
s.source = { :git => "http://git.code.oa.com/qcloud-terminal/a.git", :tag => s.version.to_s }
|
29
|
+
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
30
|
+
s.ios.deployment_target = '6.0'
|
31
|
+
s.source_files = 'Pod/Classes/**/*'
|
32
|
+
|
33
|
+
# s.public_header_files = 'Pod/Classes/**/*.h'
|
34
|
+
# s.frameworks = 'UIKit', 'MapKit'
|
35
|
+
# s.dependency 'AFNetworking', '~> 2.3'
|
36
|
+
s.dependency 't' , "1.1.1"
|
37
|
+
s.requires_arc = true
|
38
|
+
s.module_name = "xxx"
|
39
|
+
s.prepare_command = <<-CMD
|
40
|
+
xxx
|
41
|
+
CMD
|
42
|
+
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0', '-Wno-format'
|
43
|
+
s.frameworks = 'QuartzCore', 'CoreData'
|
44
|
+
|
45
|
+
end
|
data/test/t/.jazzy.yaml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
//replace me !!!
|
data/test/t/README.md
ADDED
data/test/t/t.podspec
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
#
|
2
|
+
# Be sure to run `pod lib lint t.podspec' to ensure this is a
|
3
|
+
# valid spec before submitting.
|
4
|
+
#
|
5
|
+
# Any lines starting with a # are optional, but their use is encouraged
|
6
|
+
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
7
|
+
#
|
8
|
+
|
9
|
+
Pod::Spec.new do |s|
|
10
|
+
s.name = "t"
|
11
|
+
s.version = "0.1.0"
|
12
|
+
s.summary = "t 腾讯云iOS-SDK组件"
|
13
|
+
|
14
|
+
# This description is used to generate tags and improve search results.
|
15
|
+
# * Think: What does it do? Why did you write it? What is the focus?
|
16
|
+
# * Try to keep it short, snappy and to the point.
|
17
|
+
# * Write the description between the DESC delimiters below.
|
18
|
+
# * Finally, don't worry about the indent, CocoaPods strips it!
|
19
|
+
|
20
|
+
s.description = <<-DESC
|
21
|
+
TODO: Add long description of the pod here.aaa
|
22
|
+
DESC
|
23
|
+
|
24
|
+
s.homepage = "https://cloud.tencent.com/"
|
25
|
+
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
|
26
|
+
s.license = 'MIT'
|
27
|
+
s.author = { "QCloudTerminalLab" => "g_PDTC_storage_DEV_terminallab@tencent.com" }
|
28
|
+
s.source = { :git => "http://git.code.oa.com/qcloud-terminal/t.git", :tag => s.version.to_s }
|
29
|
+
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
30
|
+
s.ios.deployment_target = '6.0'
|
31
|
+
s.source_files = 'Pod/Classes/**/*'
|
32
|
+
|
33
|
+
# s.public_header_files = 'Pod/Classes/**/*.h'
|
34
|
+
# s.frameworks = 'UIKit', 'MapKit'
|
35
|
+
# s.dependency 'AFNetworking', '~> 2.3'
|
36
|
+
|
37
|
+
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qricker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Your Name Here
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
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
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '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: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -104,6 +104,8 @@ extra_rdoc_files:
|
|
104
104
|
- qricker.rdoc
|
105
105
|
files:
|
106
106
|
- ".gitignore"
|
107
|
+
- ".idea/inspectionProfiles/Project_Default.xml"
|
108
|
+
- ".idea/vcs.xml"
|
107
109
|
- Gemfile
|
108
110
|
- Gemfile.lock
|
109
111
|
- README.md
|
@@ -114,12 +116,25 @@ files:
|
|
114
116
|
- features/step_definitions/qricker_steps.rb
|
115
117
|
- features/support/env.rb
|
116
118
|
- lib/qricker.rb
|
119
|
+
- lib/qricker/dependency.rb
|
120
|
+
- lib/qricker/module.rb
|
121
|
+
- lib/qricker/module_cache.rb
|
117
122
|
- lib/qricker/podspecs.rb
|
123
|
+
- lib/qricker/spec_builder.rb
|
118
124
|
- lib/qricker/version.rb
|
119
125
|
- qricker.gemspec
|
120
126
|
- qricker.rdoc
|
127
|
+
- test/a/.jazzy.yaml
|
128
|
+
- test/a/Pod/Classes/a.h
|
129
|
+
- test/a/Pod/Classes/replace.m
|
130
|
+
- test/a/README.md
|
121
131
|
- test/a/a.podspec
|
122
132
|
- test/default_test.rb
|
133
|
+
- test/t/.jazzy.yaml
|
134
|
+
- test/t/Pod/Classes/replace.m
|
135
|
+
- test/t/Pod/Classes/t.h
|
136
|
+
- test/t/README.md
|
137
|
+
- test/t/t.podspec
|
123
138
|
- test/test_helper.rb
|
124
139
|
homepage: http://your.website.com
|
125
140
|
licenses:
|