muack 0.7.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,20 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lin Jen-Shin (godfat)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-01 00:00:00.000000000 Z
11
+ date: 2014-01-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
- Muack -- Yet another mocking library.
14
+ Muack -- A fast, small, yet powerful mocking library.
15
15
 
16
- Basically it's an [RR][] clone, but much faster under heavy use.
17
- It's 32x times faster (750s vs 23s) for running [Rib][] tests.
16
+ Inspired by [RR][], and it's 32x times faster (750s vs 23s) than RR
17
+ for running [Rib][] tests.
18
18
 
19
19
  [RR]: https://github.com/rr/rr
20
20
  [Rib]: https://github.com/godfat/rib
@@ -24,9 +24,9 @@ executables: []
24
24
  extensions: []
25
25
  extra_rdoc_files: []
26
26
  files:
27
- - .gitignore
28
- - .gitmodules
29
- - .travis.yml
27
+ - ".gitignore"
28
+ - ".gitmodules"
29
+ - ".travis.yml"
30
30
  - CHANGES.md
31
31
  - Gemfile
32
32
  - LICENSE
@@ -34,6 +34,7 @@ files:
34
34
  - Rakefile
35
35
  - lib/muack.rb
36
36
  - lib/muack/any_instance_of.rb
37
+ - lib/muack/block.rb
37
38
  - lib/muack/definition.rb
38
39
  - lib/muack/error.rb
39
40
  - lib/muack/failure.rb
@@ -46,12 +47,13 @@ files:
46
47
  - lib/muack/test.rb
47
48
  - lib/muack/version.rb
48
49
  - muack.gemspec
49
- - task/.gitignore
50
+ - task/README.md
50
51
  - task/gemgem.rb
51
52
  - test/test_any_instance_of.rb
53
+ - test/test_from_readme.rb
52
54
  - test/test_mock.rb
55
+ - test/test_modifier.rb
53
56
  - test/test_proxy.rb
54
- - test/test_readme.rb
55
57
  - test/test_satisfy.rb
56
58
  - test/test_stub.rb
57
59
  homepage: https://github.com/godfat/muack
@@ -64,24 +66,25 @@ require_paths:
64
66
  - lib
65
67
  required_ruby_version: !ruby/object:Gem::Requirement
66
68
  requirements:
67
- - - '>='
69
+ - - ">="
68
70
  - !ruby/object:Gem::Version
69
71
  version: '0'
70
72
  required_rubygems_version: !ruby/object:Gem::Requirement
71
73
  requirements:
72
- - - '>='
74
+ - - ">="
73
75
  - !ruby/object:Gem::Version
74
76
  version: '0'
75
77
  requirements: []
76
78
  rubyforge_project:
77
- rubygems_version: 2.1.5
79
+ rubygems_version: 2.2.0
78
80
  signing_key:
79
81
  specification_version: 4
80
- summary: Muack -- Yet another mocking library.
82
+ summary: Muack -- A fast, small, yet powerful mocking library.
81
83
  test_files:
82
84
  - test/test_any_instance_of.rb
85
+ - test/test_from_readme.rb
83
86
  - test/test_mock.rb
87
+ - test/test_modifier.rb
84
88
  - test/test_proxy.rb
85
- - test/test_readme.rb
86
89
  - test/test_satisfy.rb
87
90
  - test/test_stub.rb
data/task/.gitignore DELETED
@@ -1 +0,0 @@
1
- *.rbc
data/test/test_readme.rb DELETED
@@ -1,16 +0,0 @@
1
-
2
- require 'bacon'
3
- require 'muack'
4
-
5
- include Muack::API
6
-
7
- describe 'Hello' do
8
- before{ Muack.reset }
9
- after { Muack.verify }
10
-
11
- should 'say world!' do
12
- str = 'Hello'
13
- mock(str).say('!'){ |arg| "World#{arg}" }
14
- str.say('!').should.equal 'World!'
15
- end
16
- end