sample_gem_project_kirin 0.4.0 → 0.5.0

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: 0df78781bcc6f8fe52774cb06a3244ddc3700bc3337d99c8e722b81314de9a85
4
- data.tar.gz: 49c5758f86f51085479e34d1be2509557025962032566f8e09de520b0a1e5302
3
+ metadata.gz: f4884090c37e5d417b4964eab85c296390c7606ec16dcf0f741d4b251c430269
4
+ data.tar.gz: 9d49e560355f8b3e13e6e0ee9049622d8e0f2638c5fdc120f5466c61b1bb6f5e
5
5
  SHA512:
6
- metadata.gz: 2af5858a3a8fa235143ff523c19f0b0f48bb8a785f8f0e52a8e577c2583209ce816ce3fdfafc8892d392b3c2036e482229f1eb2533ff684bb6ce1ee76623eabe
7
- data.tar.gz: c9e2e55f632470b043bae544a1f3229df1aa2b47cd0c0dc7dd2275f9b4e6892b7dbd8cd3ee944c85294562717827989cd417e00f8cc7beaeabc8992484d4836b
6
+ metadata.gz: 3955e2d9bef5a25ae8573ba68b44e605edd6e7fd882fec46b402cd872953c009d4c1bd9fd0c36f009a24799b35c22f48538cdb3ad07140377c02eeb2cff78a10
7
+ data.tar.gz: 186b304d370cea8da6e4bf5abadc96e7956ca95e5dd34cb74d29b11d8bd17d3e95a3fb00b57d54233af1d8aa11c374b19fc35ca810655871153e65addd8c8596
data/.gitignore CHANGED
@@ -6,3 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ *.gem
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,15 @@
1
+ stages:
2
+ - deploy
3
+
4
+ Deploy:
5
+ stage: deploy
6
+ script:
7
+ - bundle install
8
+ - gem build $GEM_NAME
9
+ - mkdir ~/.gem
10
+ - "echo \":rubygems_api_key: $API_KEY\" > ~/.gem/credentials"
11
+ - chmod 0600 ~/.gem/credentials
12
+ - head ~/.gem/credentials
13
+ - gem push $GEM_NAME-*.gem
14
+ after_script:
15
+ - shred -vfu ~/.gem/credentials
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at kirinnee97@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 kirinnee
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -26,10 +26,18 @@ TODO: Write usage instructions here
26
26
 
27
27
  ## Development
28
28
 
29
- 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.
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
30
 
31
31
  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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sample_gem_project_kirin.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sample_gem_project_kirin. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the SampleGemProjectKirin project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/sample_gem_project_kirin/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -1,2 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
2
6
  task :default => :spec
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
@@ -1,3 +1,3 @@
1
1
  module SampleGemProjectKirin
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require "sample_gem_project_kirin/version"
2
2
 
3
3
  module SampleGemProjectKirin
4
+ class Error < StandardError; end
4
5
  # Your code goes here...
5
6
  end
@@ -6,22 +6,24 @@ require "sample_gem_project_kirin/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "sample_gem_project_kirin"
8
8
  spec.version = SampleGemProjectKirin::VERSION
9
- spec.authors = ["kirin"]
9
+ spec.authors = ["kirinnee"]
10
10
  spec.email = ["kirinnee97@gmail.com"]
11
11
 
12
- spec.summary = %q{a sample gem to test deploymeny}
13
- spec.homepage = "https://github.com/kirinnee/none"
12
+ spec.summary = %q{sample.}
13
+ spec.homepage = "https://github.com/kirinnee/sample"
14
+ spec.license = "MIT"
14
15
 
15
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
- # to allow pushing to a single host or delete this section to allow pushing to any host.
17
16
 
18
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
- f.match(%r{^(test|spec|features)/})
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
21
  end
21
22
  spec.bindir = "exe"
22
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
24
  spec.require_paths = ["lib"]
24
25
 
25
- spec.add_development_dependency "bundler", "~> 1.16"
26
+ spec.add_development_dependency "bundler", "~> 1.17"
26
27
  spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.0"
27
29
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sample_gem_project_kirin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
- - kirin
7
+ - kirinnee
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '1.17'
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.16'
26
+ version: '1.17'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
41
55
  description:
42
56
  email:
43
57
  - kirinnee97@gmail.com
@@ -46,7 +60,11 @@ extensions: []
46
60
  extra_rdoc_files: []
47
61
  files:
48
62
  - ".gitignore"
63
+ - ".gitlab-ci.yml"
64
+ - ".rspec"
65
+ - CODE_OF_CONDUCT.md
49
66
  - Gemfile
67
+ - LICENSE.txt
50
68
  - README.md
51
69
  - Rakefile
52
70
  - bin/console
@@ -54,8 +72,9 @@ files:
54
72
  - lib/sample_gem_project_kirin.rb
55
73
  - lib/sample_gem_project_kirin/version.rb
56
74
  - sample_gem_project_kirin.gemspec
57
- homepage: https://github.com/kirinnee/none
58
- licenses: []
75
+ homepage: https://github.com/kirinnee/sample
76
+ licenses:
77
+ - MIT
59
78
  metadata: {}
60
79
  post_install_message:
61
80
  rdoc_options: []
@@ -72,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
91
  - !ruby/object:Gem::Version
73
92
  version: '0'
74
93
  requirements: []
75
- rubyforge_project:
76
- rubygems_version: 2.7.6
94
+ rubygems_version: 3.0.1
77
95
  signing_key:
78
96
  specification_version: 4
79
- summary: a sample gem to test deploymeny
97
+ summary: sample.
80
98
  test_files: []