old_yeller 0.0.1 → 0.0.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
2
  SHA1:
3
- metadata.gz: eb6c25d79b4b1a99befd69106d1a292e0161a798
4
- data.tar.gz: 6396dc657e5b71e58799f42c14a78b4686a157ae
3
+ metadata.gz: 6f99ca7b516cb698c9b792c26531ac29604e5c3c
4
+ data.tar.gz: 653710797715ba171e097b6dff99023c6e2573c3
5
5
  SHA512:
6
- metadata.gz: 399c5587d1350880cf9a0b17cf0e2fd18e9ede4123b4863ef1376f485cecfba329a0e7e414654ec34a1cff4669b09b8865778727d8b413391fc9214afc9fc187
7
- data.tar.gz: 3c704adc903a654acb278e8ea93a6c0f813df4c89577972db323c445ccc2ab8b5a6c664db2b8db80c28438ac773ef3ffe2163b8899b85846d0ed9428a65f2d6c
6
+ metadata.gz: 05af933d61b2b8a9fcb228ab253a1a169ed2a8ac6de41df02b3b5b0765c06c1f7378d2ca9321906daa14cacff32aa2a41b17e3591d2e32ac40bec86ec24ed637
7
+ data.tar.gz: e12f34406e3e13c223b5e77bb252238c9f165baa76b793e418ec8b13f0a93a2c913ab597c30a424792c2e252e8e3a9d8ab98508d3c6890ac1b5bbbe05344d223
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # OldYeller
2
2
 
3
- TODO: Write a gem description
3
+ Example Ruby gem, as livecoded during the [1/14/14 meetup](http://www.meetup.com/Software-Design-in-Ruby-Study-Group/events/153517992/) of the SF Software Design in Ruby Study Group.
4
+
5
+ Most of the structure of this README was auto-generated by Bundler with the `bundle gem` command.
4
6
 
5
7
  ## Installation
6
8
 
@@ -18,7 +20,16 @@ Or install it yourself as:
18
20
 
19
21
  ## Usage
20
22
 
21
- TODO: Write usage instructions here
23
+ Call `OldYeller.bark` to transform a string:
24
+
25
+ ```ruby
26
+ OldYeller.bark "Give me food!"
27
+ => "RUFF! Give me food!"
28
+ ```
29
+
30
+ ## Running tests
31
+
32
+ `bundle exec rspec`
22
33
 
23
34
  ## Contributing
24
35
 
@@ -1,3 +1,3 @@
1
1
  module OldYeller
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/old_yeller.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["miscmisc@cmme.org"]
11
11
  spec.description = %q{barks out strings}
12
12
  spec.summary = %q{RUFF RUFF RUFF}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/tdumitrescu/old_yeller"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -0,0 +1,18 @@
1
+ require 'spec_helper'
2
+ require 'old_yeller'
3
+
4
+ describe OldYeller do
5
+ describe '.bark' do
6
+ let(:my_str) { "lalala" }
7
+
8
+ subject { OldYeller.bark(my_str) }
9
+
10
+ it 'adds a RUFF' do
11
+ expect(subject).to match('RUFF')
12
+ end
13
+
14
+ it 'contains the given string' do
15
+ expect(subject).to match(my_str)
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ RSpec.configure do |config|
8
+ config.treat_symbols_as_metadata_keys_with_true_values = true
9
+ config.run_all_when_everything_filtered = true
10
+ config.filter_run :focus
11
+
12
+ # Run specs in random order to surface order dependencies. If you find an
13
+ # order dependency and want to debug it, you can fix the order by providing
14
+ # the seed, which is printed after each run.
15
+ # --seed 1234
16
+ config.order = 'random'
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: old_yeller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - t ddddddd
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - .gitignore
63
+ - .rspec
63
64
  - Gemfile
64
65
  - LICENSE.txt
65
66
  - README.md
@@ -67,7 +68,9 @@ files:
67
68
  - lib/old_yeller.rb
68
69
  - lib/old_yeller/version.rb
69
70
  - old_yeller.gemspec
70
- homepage: ''
71
+ - spec/old_yeller_spec.rb
72
+ - spec/spec_helper.rb
73
+ homepage: https://github.com/tdumitrescu/old_yeller
71
74
  licenses:
72
75
  - MIT
73
76
  metadata: {}
@@ -91,4 +94,6 @@ rubygems_version: 2.0.14
91
94
  signing_key:
92
95
  specification_version: 4
93
96
  summary: RUFF RUFF RUFF
94
- test_files: []
97
+ test_files:
98
+ - spec/old_yeller_spec.rb
99
+ - spec/spec_helper.rb