Skip to content

Commit

Permalink
PUBLISH - quacker 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pjshwa committed Nov 22, 2020
1 parent 06973c1 commit 6895ca5
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
PATH
remote: .
specs:
quacker (0.1.2)
quacker (0.1.0)

GEM
remote: https://rubygems.org/
specs:
minitest (5.14.2)
rake (13.0.1)
rake-compiler (1.1.1)
rake
Expand All @@ -15,6 +16,7 @@ PLATFORMS

DEPENDENCIES
bundler
minitest
quacker!
rake
rake-compiler
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An important gem that quacks when the weather in Seoul is rainy.
Add this line to your application's Gemfile:

```ruby
gem 'quacker', git: 'https://github.com/pjshwa/quacker'
gem 'quacker'
```

And then execute:
Expand Down
10 changes: 8 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
require "bundler/gem_tasks"
require 'rake/extensiontask'

task :default => :spec
require 'rake/testtask'

Rake::ExtensionTask.new("quacker") do |extension|
extension.lib_dir = "lib/quacker"
end

Rake::TestTask.new do |t|
t.libs << 'test'
end

desc "Run tests"
task :default => :test
2 changes: 1 addition & 1 deletion lib/quacker/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Quacker
VERSION = "0.1.2"
VERSION = "0.1.0"
end
2 changes: 2 additions & 0 deletions quacker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "rake-compiler"
spec.add_development_dependency "minitest"
# spec.add_development_dependency "mimic"
end
11 changes: 11 additions & 0 deletions test/test_quacker.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require 'minitest/autorun'
require 'quacker'

class QuackerTest < Minitest::Test
def test_weather

# TODO add stubs for requests from native code.
# assert_equal Quacker.new.quack, '...'
assert_equal 3, 3
end
end

0 comments on commit 6895ca5

Please sign in to comment.