food111111 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +101 -0
- data/README.md +35 -0
- data/Rakefile +4 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/exe/food +3 -0
- data/food.gemspec +33 -0
- data/lib/food.rb +4 -0
- data/lib/food/food.rb +11 -0
- data/lib/food/version.rb +5 -0
- metadata +100 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b218515f877ed0f315e28a4f716e35a4d86e685f556eccfdd64f0df3f9a2350d
|
4
|
+
data.tar.gz: 6c76f1b2ef6fea35df1dddf747df7907123fe25b012e397f64d645227a2a5bc6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2f616bf6cd34a51626bea49406206698bed3b52afb76e0e8ae1b1e30b6823efda3f2b76975b26624c273b8e7cdf60e761500de7c01a413b3c633e20d23d07db7
|
7
|
+
data.tar.gz: 192ad99a5930a8aea4f1204bcb6ed0d133e3257db7d70933b756ca1cf58458933ff0d05692c5311685b58e62c20f480269e72c38a07a70a3131d7f29aad16d5d
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
food (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
activesupport (6.1.3)
|
10
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
|
+
i18n (>= 1.6, < 2)
|
12
|
+
minitest (>= 5.1)
|
13
|
+
tzinfo (~> 2.0)
|
14
|
+
zeitwerk (~> 2.3)
|
15
|
+
aruba (1.0.4)
|
16
|
+
childprocess (>= 2.0, < 5.0)
|
17
|
+
contracts (~> 0.16.0)
|
18
|
+
cucumber (>= 2.4, < 6.0)
|
19
|
+
rspec-expectations (~> 3.4)
|
20
|
+
thor (~> 1.0)
|
21
|
+
builder (3.2.4)
|
22
|
+
childprocess (4.0.0)
|
23
|
+
concurrent-ruby (1.1.8)
|
24
|
+
contracts (0.16.0)
|
25
|
+
cucumber (5.3.0)
|
26
|
+
builder (~> 3.2, >= 3.2.4)
|
27
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
28
|
+
cucumber-create-meta (~> 2.0, >= 2.0.2)
|
29
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
30
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
31
|
+
cucumber-html-formatter (~> 9.0, >= 9.0.0)
|
32
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
33
|
+
cucumber-wire (~> 4.0, >= 4.0.1)
|
34
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
35
|
+
multi_test (~> 0.1, >= 0.1.2)
|
36
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
37
|
+
cucumber-core (8.0.1)
|
38
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
39
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
40
|
+
cucumber-tag-expressions (~> 2.0, >= 2.0.4)
|
41
|
+
cucumber-create-meta (2.0.4)
|
42
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
43
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
44
|
+
cucumber-cucumber-expressions (10.3.0)
|
45
|
+
cucumber-gherkin (15.0.2)
|
46
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
47
|
+
cucumber-html-formatter (9.0.0)
|
48
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
49
|
+
cucumber-messages (13.2.1)
|
50
|
+
protobuf-cucumber (~> 3.10, >= 3.10.8)
|
51
|
+
cucumber-tag-expressions (2.0.4)
|
52
|
+
cucumber-wire (4.0.1)
|
53
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
54
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
55
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
56
|
+
diff-lcs (1.4.4)
|
57
|
+
ffi (1.14.2)
|
58
|
+
i18n (1.8.9)
|
59
|
+
concurrent-ruby (~> 1.0)
|
60
|
+
middleware (0.1.0)
|
61
|
+
minitest (5.14.4)
|
62
|
+
multi_test (0.1.2)
|
63
|
+
protobuf-cucumber (3.10.8)
|
64
|
+
activesupport (>= 3.2)
|
65
|
+
middleware
|
66
|
+
thor
|
67
|
+
thread_safe
|
68
|
+
rake (13.0.3)
|
69
|
+
rspec (3.10.0)
|
70
|
+
rspec-core (~> 3.10.0)
|
71
|
+
rspec-expectations (~> 3.10.0)
|
72
|
+
rspec-mocks (~> 3.10.0)
|
73
|
+
rspec-core (3.10.1)
|
74
|
+
rspec-support (~> 3.10.0)
|
75
|
+
rspec-expectations (3.10.1)
|
76
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
+
rspec-support (~> 3.10.0)
|
78
|
+
rspec-mocks (3.10.2)
|
79
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
+
rspec-support (~> 3.10.0)
|
81
|
+
rspec-support (3.10.2)
|
82
|
+
sys-uname (1.2.2)
|
83
|
+
ffi (~> 1.1)
|
84
|
+
thor (1.1.0)
|
85
|
+
thread_safe (0.3.6)
|
86
|
+
tzinfo (2.0.4)
|
87
|
+
concurrent-ruby (~> 1.0)
|
88
|
+
zeitwerk (2.4.2)
|
89
|
+
|
90
|
+
PLATFORMS
|
91
|
+
universal-darwin-19
|
92
|
+
|
93
|
+
DEPENDENCIES
|
94
|
+
aruba
|
95
|
+
cucumber
|
96
|
+
food!
|
97
|
+
rake (~> 13.0)
|
98
|
+
rspec (~> 3.2)
|
99
|
+
|
100
|
+
BUNDLED WITH
|
101
|
+
2.2.13
|
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Food
|
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/food`. 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
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'food'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle install
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install food
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
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.
|
30
|
+
|
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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/food.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "food"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require "irb"
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/food
ADDED
data/food.gemspec
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/food/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "food111111"
|
7
|
+
spec.version = Food::VERSION
|
8
|
+
spec.authors = ["刘思兰"]
|
9
|
+
spec.email = ["liusilan@douyu.tv"]
|
10
|
+
|
11
|
+
spec.summary = "Write a short summary, because RubyGems requires one."
|
12
|
+
spec.description = "Write a longer description or delete this line."
|
13
|
+
spec.homepage = "https://github.com/silan-liu/food.git"
|
14
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
15
|
+
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
17
|
+
spec.metadata["source_code_uri"] = "https://github.com/silan-liu/food.git"
|
18
|
+
spec.metadata["changelog_uri"] = "https://github.com/silan-liu/food.git"
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.2"
|
30
|
+
spec.add_development_dependency "cucumber"
|
31
|
+
spec.add_development_dependency "aruba"
|
32
|
+
|
33
|
+
end
|
data/lib/food.rb
ADDED
data/lib/food/food.rb
ADDED
data/lib/food/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: food111111
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- 刘思兰
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-03-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cucumber
|
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: aruba
|
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: Write a longer description or delete this line.
|
56
|
+
email:
|
57
|
+
- liusilan@douyu.tv
|
58
|
+
executables:
|
59
|
+
- food
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- bin/console
|
69
|
+
- bin/setup
|
70
|
+
- exe/food
|
71
|
+
- food.gemspec
|
72
|
+
- lib/food.rb
|
73
|
+
- lib/food/food.rb
|
74
|
+
- lib/food/version.rb
|
75
|
+
homepage: https://github.com/silan-liu/food.git
|
76
|
+
licenses: []
|
77
|
+
metadata:
|
78
|
+
homepage_uri: https://github.com/silan-liu/food.git
|
79
|
+
source_code_uri: https://github.com/silan-liu/food.git
|
80
|
+
changelog_uri: https://github.com/silan-liu/food.git
|
81
|
+
post_install_message:
|
82
|
+
rdoc_options: []
|
83
|
+
require_paths:
|
84
|
+
- lib
|
85
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.4.0
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
requirements: []
|
96
|
+
rubygems_version: 3.0.3
|
97
|
+
signing_key:
|
98
|
+
specification_version: 4
|
99
|
+
summary: Write a short summary, because RubyGems requires one.
|
100
|
+
test_files: []
|