cocoapods-compact-spec 0.0.1
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 +7 -0
- data/lib/cocoapods-compact-spec/config.rb +13 -0
- data/lib/cocoapods-compact-spec/dsl.rb +11 -0
- data/lib/cocoapods-compact-spec/main.rb +28 -0
- data/lib/cocoapods-compact-spec.rb +1 -0
- data/lib/cocoapods_plugin.rb +1 -0
- metadata +91 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: db20f8eb0dce76fa5c0e07b80862c610dd6cde72b686792b248002942087eeae
|
4
|
+
data.tar.gz: 4fd8dbc23ca4a8acce6a0a1224bc5acba286b2031e0142e14fc747e5066159b2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8d699849204d84ca8fd576d94c78fb5c88eb5ec8bad7f9565e5b5f10bc9928d6ecf1ac18eb9735dfd97c34d88a181e02a0351dd0ebc2f9312ad1a887c1c54838
|
7
|
+
data.tar.gz: 5adda9c9cfe12369b9b61c90d0631eb101dd6c8c269591d1e41ed8e1a0b5ccbd3b79089dde5e21c25d0a086bb9f6516c2b5ef9177e983c38d8c6ed1c33e38bce
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative "dsl"
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Specification
|
5
|
+
alias original_initialize initialize
|
6
|
+
|
7
|
+
def initialize(*args, &block)
|
8
|
+
original_initialize(*args, &block)
|
9
|
+
dsl_config = Pod::CompactSpecConfig.instance.dsl_config
|
10
|
+
dsl_default = dsl_config[:default] || {}
|
11
|
+
default = lambda do |key, value|
|
12
|
+
send("#{key}=", dsl_default[key] || value) if attributes_hash[key].nil?
|
13
|
+
end
|
14
|
+
|
15
|
+
dummy_link = "https://github.com/dummy/link"
|
16
|
+
default.call(:version, "0.0.1")
|
17
|
+
default.call(:summary, name)
|
18
|
+
default.call(:description, summary)
|
19
|
+
default.call(:homepage, dummy_link)
|
20
|
+
default.call(:license, "MIT")
|
21
|
+
default.call(:authors, "dummy@gmail.com")
|
22
|
+
default.call(:source, { :git => dummy_link, :tag => version })
|
23
|
+
default.call(:source_files, "Sources/**/*")
|
24
|
+
default.call(:platforms, { :ios => "10.0" })
|
25
|
+
dsl_config[:extra]&.call(self)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative "cocoapods-compact-spec/main"
|
@@ -0,0 +1 @@
|
|
1
|
+
require "cocoapods-compact-spec/main"
|
metadata
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cocoapods-compact-spec
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Thuyen Trinh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-06-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: A CocoaPods plugin to reduce effort executing local plugin code in a
|
56
|
+
project
|
57
|
+
email:
|
58
|
+
- trinhngocthuyen@gmail.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- lib/cocoapods-compact-spec.rb
|
64
|
+
- lib/cocoapods-compact-spec/config.rb
|
65
|
+
- lib/cocoapods-compact-spec/dsl.rb
|
66
|
+
- lib/cocoapods-compact-spec/main.rb
|
67
|
+
- lib/cocoapods_plugin.rb
|
68
|
+
homepage: https://github.com/trinhngocthuyen/cocoapods-compact-spec
|
69
|
+
licenses:
|
70
|
+
- MIT
|
71
|
+
metadata: {}
|
72
|
+
post_install_message:
|
73
|
+
rdoc_options: []
|
74
|
+
require_paths:
|
75
|
+
- lib
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
requirements: []
|
87
|
+
rubygems_version: 3.1.6
|
88
|
+
signing_key:
|
89
|
+
specification_version: 4
|
90
|
+
summary: A CocoaPods plugin to reduce effort executing local plugin code in a project
|
91
|
+
test_files: []
|