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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ea2f0db1278c8758140ec45f355c3158de9c04d8
4
- data.tar.gz: 4ad84993c639edbf58a8aa3a1a4109ce82cc5247
2
+ SHA256:
3
+ metadata.gz: f247002d4eb41d9d56fd1a32c4d47426fb48df060db3dbbcc210d71ce957df4c
4
+ data.tar.gz: a7086feba5ab97e9049bcdf023497d34204aa89a458e14c099380f23a8980077
5
5
  SHA512:
6
- metadata.gz: b3f21a0e973692dcb0965b012cec824529bf8c54d9d8f1a35203f15a0da81e38da2e0b39dfead92321bce7a965b428fcc555dced79e418682efcef2bada165ce
7
- data.tar.gz: d05074594dc40cbe42b4cb85174d935773b532d5ab269679fb1a45084e6f602ab19de2c741bdcbe6e4cc46e1ca8f162f269c72f5d812a981e1b559e0ba2dffde
6
+ metadata.gz: 5c797cc8cc9c23816aab0f232d88ab82b124d3e43efb76a09579bad8e885eceb1de76e1bc0f51e116c9e4a0f4dd7f462d5eaccfcaa8db8830ea3ed41d02d5c8d
7
+ data.tar.gz: d5c2c72f3c512fbc6c165258aef310ae49e23fcf28ee79e3d26131a72ef3da3bfffac108309e2656c78e75d819e2c4389d2ad9289fc40871f6c94d32a81bc2f4
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
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
- 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/sample`. 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
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
- TODO: Write usage instructions here
26
-
27
- ## Development
23
+ You could then prove that the correct version of the gem is installed as follows:
28
24
 
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.
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
- 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).
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/[USERNAME]/sample.
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/starjuice/sample-gem.
36
38
 
@@ -1,3 +1,3 @@
1
1
  module Sample
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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/fabrique"
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.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: 2016-06-14 00:00:00.000000000 Z
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/fabrique
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
- rubyforge_project:
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
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here