sample 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/MIT-LICENSE +20 -0
- data/README.md +11 -9
- data/lib/sample/version.rb +1 -1
- data/sample.gemspec +3 -4
- metadata +8 -41
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f247002d4eb41d9d56fd1a32c4d47426fb48df060db3dbbcc210d71ce957df4c
|
4
|
+
data.tar.gz: a7086feba5ab97e9049bcdf023497d34204aa89a458e14c099380f23a8980077
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c797cc8cc9c23816aab0f232d88ab82b124d3e43efb76a09579bad8e885eceb1de76e1bc0f51e116c9e4a0f4dd7f462d5eaccfcaa8db8830ea3ed41d02d5c8d
|
7
|
+
data.tar.gz: d5c2c72f3c512fbc6c165258aef310ae49e23fcf28ee79e3d26131a72ef3da3bfffac108309e2656c78e75d819e2c4389d2ad9289fc40871f6c94d32a81bc2f4
|
data/.gitignore
CHANGED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) David Heinemeier Hansson
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Sample
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
The sample gem provides no functionality. It is just enough of a package to be useful for testing software that uses gems.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,15 +20,19 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
26
|
-
|
27
|
-
## Development
|
23
|
+
You could then prove that the correct version of the gem is installed as follows:
|
28
24
|
|
29
|
-
|
25
|
+
```
|
26
|
+
sheldonh@DESKTOP-EL62KQG:~/sample-gem$ irb
|
27
|
+
3.4.1 :001 > $LOAD_PATH.unshift('lib');
|
28
|
+
3.4.1 :002 > require 'sample';
|
29
|
+
3.4.1 :003 > Sample::VERSION
|
30
|
+
=> "0.1.2"
|
31
|
+
```
|
30
32
|
|
31
|
-
|
33
|
+
Most likely, you already have your own test methods and just needed an off-the-shelf gem on RubyGems.
|
32
34
|
|
33
35
|
## Contributing
|
34
36
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/starjuice/sample-gem.
|
36
38
|
|
data/lib/sample/version.rb
CHANGED
data/sample.gemspec
CHANGED
@@ -11,13 +11,12 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Sample gem}
|
13
13
|
spec.description = %q{Sample gem for testing software that uses gems}
|
14
|
-
spec.homepage = "https://github.com/starjuice/
|
14
|
+
spec.homepage = "https://github.com/starjuice/sample-gem"
|
15
|
+
|
16
|
+
spec.license = "MIT"
|
15
17
|
|
16
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
19
|
spec.bindir = "exe"
|
18
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
21
|
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.12"
|
22
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
23
22
|
end
|
metadata
CHANGED
@@ -1,43 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sheldon Hearn
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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.12'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.12'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
10
|
+
date: 2025-01-06 00:00:00.000000000 Z
|
11
|
+
dependencies: []
|
41
12
|
description: Sample gem for testing software that uses gems
|
42
13
|
email:
|
43
14
|
- sheldonh@starjuice.net
|
@@ -47,17 +18,16 @@ extra_rdoc_files: []
|
|
47
18
|
files:
|
48
19
|
- ".gitignore"
|
49
20
|
- Gemfile
|
21
|
+
- MIT-LICENSE
|
50
22
|
- README.md
|
51
23
|
- Rakefile
|
52
|
-
- bin/console
|
53
|
-
- bin/setup
|
54
24
|
- lib/sample.rb
|
55
25
|
- lib/sample/version.rb
|
56
26
|
- sample.gemspec
|
57
|
-
homepage: https://github.com/starjuice/
|
58
|
-
licenses:
|
27
|
+
homepage: https://github.com/starjuice/sample-gem
|
28
|
+
licenses:
|
29
|
+
- MIT
|
59
30
|
metadata: {}
|
60
|
-
post_install_message:
|
61
31
|
rdoc_options: []
|
62
32
|
require_paths:
|
63
33
|
- lib
|
@@ -72,10 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
42
|
- !ruby/object:Gem::Version
|
73
43
|
version: '0'
|
74
44
|
requirements: []
|
75
|
-
|
76
|
-
rubygems_version: 2.5.1
|
77
|
-
signing_key:
|
45
|
+
rubygems_version: 3.6.2
|
78
46
|
specification_version: 4
|
79
47
|
summary: Sample gem
|
80
48
|
test_files: []
|
81
|
-
has_rdoc:
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "sample"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|