diff options
| -rw-r--r-- | Gemfile.lock | 34 | ||||
| -rw-r--r-- | spandx-gitlab.gemspec | 16 | ||||
| -rw-r--r-- | spec/spandx/gitlab_spec.rb | 8 |
3 files changed, 42 insertions, 16 deletions
diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..25a5e1b --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,34 @@ +PATH + remote: . + specs: + spandx-gitlab (0.1.0) + +GEM + remote: https://rubygems.org/ + specs: + diff-lcs (1.3) + rake (12.3.3) + rspec (3.9.0) + rspec-core (~> 3.9.0) + rspec-expectations (~> 3.9.0) + rspec-mocks (~> 3.9.0) + rspec-core (3.9.1) + rspec-support (~> 3.9.1) + rspec-expectations (3.9.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.9.0) + rspec-mocks (3.9.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.9.0) + rspec-support (3.9.2) + +PLATFORMS + ruby + +DEPENDENCIES + rake (~> 12.0) + rspec (~> 3.0) + spandx-gitlab! + +BUNDLED WITH + 2.1.4 diff --git a/spandx-gitlab.gemspec b/spandx-gitlab.gemspec index 4151bdc..94cca53 100644 --- a/spandx-gitlab.gemspec +++ b/spandx-gitlab.gemspec @@ -4,19 +4,17 @@ Gem::Specification.new do |spec| spec.name = "spandx-gitlab" spec.version = Spandx::Gitlab::VERSION spec.authors = ["mo khan"] - spec.email = ["mo.khan@gmail.com"] + spec.email = ["mkhan@gitlab.com"] - spec.summary = %q{TODO: Write a short summary, because RubyGems requires one.} - spec.description = %q{TODO: Write a longer description or delete this line.} - spec.homepage = "TODO: Put your gem's website or public repo URL here." + spec.summary = %q{A plugin to generate GitLab compatible license scanning reports.} + spec.description = %q{A plugin to generate GitLab compatible license scanning reports.} + spec.homepage = "https://gitlab.com/xlgmokha/spandx-gitlab" spec.license = "MIT" - spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") - - spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" + spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") spec.metadata["homepage_uri"] = spec.homepage - spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." - spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." + spec.metadata["source_code_uri"] = "https://gitlab.com/xlgmokha/spandx-gitlab" + spec.metadata['changelog_uri'] = 'https://github.com/mokhan/spandx/blob/master/CHANGELOG.md' # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. diff --git a/spec/spandx/gitlab_spec.rb b/spec/spandx/gitlab_spec.rb index abfacc4..b564b45 100644 --- a/spec/spandx/gitlab_spec.rb +++ b/spec/spandx/gitlab_spec.rb @@ -1,9 +1,3 @@ RSpec.describe Spandx::Gitlab do - it "has a version number" do - expect(Spandx::Gitlab::VERSION).not_to be nil - end - - it "does something useful" do - expect(false).to eq(true) - end + specify { expect(Spandx::Gitlab::VERSION).not_to be_nil } end |
