simgem 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cc2e2b046b8c582ee2d0a55748dbfa946d9552222f14b09664ce93e479782252
4
+ data.tar.gz: e23ffd6dbb35d6db7307e73bde39747e67739b8a75abd056e6d352c3acd84f33
5
+ SHA512:
6
+ metadata.gz: 2060d2322e3b12f2e4f35b631b4a4bf49ae67fcf5aed33ff7c626514961a07ee2efc45b4f92ebefc2c6c0cbe0ef332aea06de22c78f32cefec46aa40da3eefe4
7
+ data.tar.gz: daddceaeff333971009799f8974beebc81da92b7d1ab4993a19ae805107fa9017832ba554c1dc14ce9a78d20e9a9968de7b9ccba5f3411de3a45ade0c79156c7
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
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 simgem.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
@@ -0,0 +1,35 @@
1
+ # Simgem
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/simgem`. 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 'simgem'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install simgem
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]/simgem.
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "simgem"
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__)
@@ -0,0 +1,8 @@
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
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+ require "simgem/version"
3
+ require "simgem/generator"
4
+
5
+ module Simgem
6
+
7
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Simgem
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+ =begin
3
+ require_relative "lib/simgem/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "simgem"
7
+ spec.version = Simgem::VERSION
8
+ spec.authors = ["veerababu"]
9
+ spec.email = ["veerababu@sykam.org"]
10
+ spec.Simgem
11
+ spec.summary = "summary, because RubyGems requires one."
12
+ spec.description = "Write a longer description or delete this line."
13
+ spec.homepage = "https://bundler.io/guides/creating_gem.html"
14
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
15
+ spec.license = "MIT"
16
+ spec.metadata["allowed_push_host"] = " Set to 'http://mygemserver.com'"
17
+
18
+ #spec.metadata["homepage_uri"] = spec.homepage
19
+ #spec.metadata["source_code_uri"] = " https://bundler.io/guides/creating_gem.html"
20
+ #spec.metadata["changelog_uri"] = " Put your gem's CHANGELOG.md URL here."
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ # Uncomment to register a new dependency of your gem
32
+ # spec.add_dependency "example-gem", "~> 1.0"
33
+
34
+ # For more information and examples about making a new gem, checkout our
35
+ # guide at: https://bundler.io/guides/creating_gem.html
36
+ end
37
+ =end
38
+
39
+ lib = File.expand_path("lib", __dir__)
40
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
41
+ require "simgem/version"
42
+
43
+ Gem::Specification.new do |spec|
44
+ spec.name = "simgem"
45
+ spec.version = Simgem::VERSION
46
+ spec.authors = ["Shivam Kaushik"]
47
+ spec.email = ["shivam.kaushik@outlook.com"]
48
+
49
+ spec.summary = %q{A basic ruby gem I built to use it for my medium article}
50
+ spec.description = %q{Generates a random greeting along with a name that's provided in the argument}
51
+ spec.homepage = "http://www.github.com/KaushikShivam"
52
+ spec.license = "MIT"
53
+
54
+ # Specify which files should be added to the gem when it is released.
55
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
56
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
57
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
58
+ end
59
+ spec.bindir = "exe"
60
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
61
+ spec.require_paths = ["lib"]
62
+
63
+ spec.add_development_dependency "bundler", "~> 2.0"
64
+ spec.add_development_dependency "rake", "~> 10.0"
65
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simgem
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Shivam Kaushik
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-01-04 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: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
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'
41
+ description: Generates a random greeting along with a name that's provided in the
42
+ argument
43
+ email:
44
+ - shivam.kaushik@outlook.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".gitignore"
50
+ - Gemfile
51
+ - README.md
52
+ - Rakefile
53
+ - bin/console
54
+ - bin/setup
55
+ - lib/simgem.rb
56
+ - lib/simgem/version.rb
57
+ - simgem.gemspec
58
+ homepage: http://www.github.com/KaushikShivam
59
+ licenses:
60
+ - MIT
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubygems_version: 3.2.3
78
+ signing_key:
79
+ specification_version: 4
80
+ summary: A basic ruby gem I built to use it for my medium article
81
+ test_files: []