fast_packager_test 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6506180dac093077e7ab45be85e230a6fec0ebfd34c2955d91dcbe9b81a07157
4
+ data.tar.gz: 7f85a7a6a378c042da23bcb89dc9d363f6c72252616beb563efe9c77e9b958bd
5
+ SHA512:
6
+ metadata.gz: d70db736f41da8140e97053f3770f6f76a11cf494aa0c3143755db701e9570fcbfd7ca194d1b0a4b78e2f805704094837400b9fe8d374ec71a811bec9c38eb9b
7
+ data.tar.gz: 60f1f118e14c16b2ca3d89a9f3fdfdf9dc7299277768cc5a4f0794d5615ed2334dea909e82e3f6054014f82469ff50d8639966d92020e989cd94d2a6fd7534a9
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in fast_packager_test.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/README.md ADDED
@@ -0,0 +1,77 @@
1
+ # FastPackagerTest
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/fast_packager_test`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add fast_packager_test
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install fast_packager_test
16
+
17
+ ## Usage
18
+
19
+ TODO: Write usage instructions here
20
+
21
+ ## Development
22
+
23
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
24
+
25
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
26
+
27
+ ## Contributing
28
+
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/fast_packager_test.
30
+
31
+
32
+ ## 制作并上传gem过程
33
+
34
+ - 生成初始化project
35
+
36
+
37
+ $bundle gem project_name
38
+
39
+
40
+ - 修改文件
41
+
42
+
43
+ 修改project_name.gemspec文件
44
+
45
+ 修改
46
+ spec.summary = 'desc1' (这里任意为空或任意其他字符串)
47
+ spec.description = "desc2" (这里任意为空或任意其他字符串)
48
+ 注释
49
+ spec.metadata["homepage_uri"]
50
+ spec.metadata["source_code_uri"]
51
+ spec.metadata["changelog_uri"]
52
+
53
+
54
+ - 制作gem
55
+
56
+
57
+ $gem build project_name.gemspec
58
+
59
+ 得到一个project_name.gemspec文件中spec.name相同名称.spec.version.gem的文件
60
+
61
+
62
+ - 上传gem
63
+
64
+
65
+ gem官网注册账号,注册完成执行
66
+ $gem sin signin (输入邮箱及密码)
67
+
68
+ API Key name (回车)
69
+ index_rubygems: y
70
+ push_rubygem: y
71
+ yank_rubygem: y
72
+ add_owner: y
73
+ remove_owner: y
74
+ access_webhooks: y
75
+ show_dashboard: n
76
+
77
+ 凭证存放在$HOME/.local/share/gem/credentials (之后登录依靠此凭证,如果想重新输入账号密码把这个文件删除即可)
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FastPackagerTest
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "fast_packager_test/version"
4
+
5
+ module FastPackagerTest
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
9
+
10
+ class TestLong
11
+ def self.hi
12
+ puts "Hello world! Testlong"
13
+ end
14
+ end
@@ -0,0 +1,4 @@
1
+ module FastPackagerTest
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,48 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fast_packager_test
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - TestLong-Amos
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-08-07 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: debug2
14
+ email: 13512119091@163.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - Gemfile
20
+ - README.md
21
+ - Rakefile
22
+ - lib/fast_packager_test.rb
23
+ - lib/fast_packager_test/version.rb
24
+ - sig/fast_packager_test.rbs
25
+ homepage: https://rubygems.org/gems/testlong
26
+ licenses:
27
+ - MIT
28
+ metadata: {}
29
+ post_install_message:
30
+ rdoc_options: []
31
+ require_paths:
32
+ - lib
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: 2.6.0
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubygems_version: 3.3.19
45
+ signing_key:
46
+ specification_version: 4
47
+ summary: debug1
48
+ test_files: []