-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyjcocoa.gemspec
50 lines (41 loc) · 1.47 KB
/
yjcocoa.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# yjcocoa
# YJCocoa
#
# https://github.com/937447974
# YJ技术支持群: 557445088
# Email: [email protected]
#
# Created by 阳君 on 17/8/1.
# Copyright © 2017年 YJCocoa. All rights reserved.
#
# http://guides.rubygems.org/specification-reference/
# gem build yjcocoa.gemspec
# gem install yjcocoa-17.8.22.gem
# gem push yjcocoa-17.8.26.gem
#
#git config --local user.name "阳君"
#git config --local user.email "[email protected]"
require File.expand_path('../lib/yjcocoa/gem_version', __FILE__)
require 'date'
Gem::Specification.new do |s|
s.name = "yjcocoa"
s.version = YJCocoa::VERSION
s.date = Date.today
s.license = "MIT"
s.email = ["[email protected]"]
s.homepage = "https://github.com/937447974/YJCocoaGem"
s.author = "阳君"
s.summary = "YJCocoa, the Cocoa library package manager."
s.description = "YJ系列开源工具"
s.files = Dir["lib/**/*.rb"] + %w{ bin/yjcocoa README.md LICENSE }
s.executables = %w{ yjcocoa }
s.require_paths = %w{ lib }
s.add_runtime_dependency 'claide', '~> 1.0', '>= 1.0.2'
s.add_runtime_dependency 'colored2', '~> 3.1', '>= 3.1.2'
## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = "1.6.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.required_ruby_version = '>= 2.0.0'
s.specification_version = 3 if s.respond_to? :specification_version
end