bpc_test_gem 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 978481164b0ea2f0ee7db9b90d77738134b73d52
4
+ data.tar.gz: 0c6db6b1a9941d7ed033eac182c1194da6df3d92
5
+ SHA512:
6
+ metadata.gz: 6b53617f78e12dfe4e930859412d35db4d02d33ff0280cd4ff09fb7c9a6b8f900c4dfc987fa809ae8615f31dac3fdd071c586f31ea18a3b6a117dc5d3c3138ad
7
+ data.tar.gz: 07a1648c17288213866122274506b4589d55a204df3835517584fb3013b8a46f87276ae57f69b7d7243732869cb232ccd18e2059df178290d60a2d89acee92c2
data/.gitignore ADDED
@@ -0,0 +1,28 @@
1
+ doc/
2
+ pkg/
3
+ Gemfile.lock
4
+ Gemfile.local
5
+ vendor/
6
+ spec/fixtures/
7
+ log/
8
+ junit/
9
+ yardstick/
10
+ .yardoc/
11
+ .vagrant/
12
+ .bundle/
13
+ coverage/
14
+ .idea/
15
+ .metadata
16
+ *.iml
17
+ .*.sw[op]
18
+ .DS_Store
19
+ .rspec
20
+
21
+ import
22
+ .tmp
23
+ .rbenv-gemsets
24
+ .ruby-version
25
+ *.lock
26
+ *.pyc
27
+
28
+ bpc_test_gem-*.gem
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.3
5
+ before_install: gem install bundler -v 1.16.1
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # gem_of
6
+ require 'gem_of'
7
+ eval(GemOf::Gems.new, binding)
8
+
9
+ # Specify your gem's dependencies in bpc_test_gem.gemspec
10
+ gemspec
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # BpcTestGem
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/bpc_test_gem`. 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 'bpc_test_gem'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install bpc_test_gem
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. Then, run `rake spec` to run the tests. 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 tags, 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]/bpc_test_gem.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # require "bundler/gem_tasks"
2
+ # require "rspec/core/rake_task"
3
+
4
+ # gem_of
5
+ require "gem_of/rake_tasks"
6
+ GemOf::RakeTasks.new
7
+
8
+ # RSpec::Core::RakeTask.new(:spec)
9
+
10
+ # task :default => :spec
11
+
12
+
data/bin/bpc_test_gem ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bpc_test_gem'
4
+
5
+ message = BpcTestGem::Message.new
6
+ message.test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "bpc_test_gem"
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(__FILE__)
data/bin/setup ADDED
@@ -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,17 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/bpc_test_gem/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Bill Claytor"]
6
+ gem.email = ["bill@testing.com"]
7
+ gem.description = "Test gem"
8
+ gem.summary = "Testing..."
9
+ gem.homepage = "https://github.com/billclaytor"
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = ["bpc_test_gem"]
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "bpc_test_gem"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = BpcTestGem::VERSION
17
+ end
@@ -0,0 +1,3 @@
1
+ module BpcTestGem
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,9 @@
1
+ require "bpc_test_gem/version"
2
+
3
+ module BpcTestGem
4
+ class Message
5
+ def test
6
+ puts 'Testing...'
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ RSpec.describe BpcTestGem do
2
+ it "has a version number" do
3
+ expect(BpcTestGem::VERSION).not_to be nil
4
+ end
5
+
6
+ it "does something useful" do
7
+ expect(false).to eq(true)
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ require "bundler/setup"
2
+ require "bpc_test_gem"
3
+
4
+ RSpec.configure do |config|
5
+ # Enable flags like --only-failures and --next-failure
6
+ config.example_status_persistence_file_path = ".rspec_status"
7
+
8
+ # Disable RSpec exposing methods globally on `Module` and `main`
9
+ config.disable_monkey_patching!
10
+
11
+ config.expect_with :rspec do |c|
12
+ c.syntax = :expect
13
+ end
14
+ end
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bpc_test_gem
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Bill Claytor
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-06-11 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Test gem
14
+ email:
15
+ - bill@testing.com
16
+ executables:
17
+ - bpc_test_gem
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ".gitignore"
22
+ - ".rspec"
23
+ - ".travis.yml"
24
+ - Gemfile
25
+ - README.md
26
+ - Rakefile
27
+ - bin/bpc_test_gem
28
+ - bin/console
29
+ - bin/setup
30
+ - bpc_test_gem.gemspec
31
+ - lib/bpc_test_gem.rb
32
+ - lib/bpc_test_gem/version.rb
33
+ - spec/bpc_test_gem_spec.rb
34
+ - spec/spec_helper.rb
35
+ homepage: https://github.com/billclaytor
36
+ licenses: []
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubyforge_project:
54
+ rubygems_version: 2.5.2
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: Testing...
58
+ test_files:
59
+ - spec/bpc_test_gem_spec.rb
60
+ - spec/spec_helper.rb