shoes-mocks 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in shoes-mocks.gemspec
4
+ gemspec
@@ -0,0 +1,24 @@
1
+ <pre>
2
+ _____ _ ___ ___ _ _ _ _
3
+ / ___| | | \/ | | | | | | |
4
+ \ `--.| |__ ___ ___ ___ | . . | ___ ___| | _____| | | |
5
+ `--. \ '_ \ / _ \ / _ | __| | |\/| |/ _ \ / __| |/ / __| | | |
6
+ /\__/ / | | | (_) | __|__ \ | | | | (_) | (__| <\__ \_|_|_|
7
+ \____/|_| |_|\___/ \___|___/ \_| |_/\___/ \___|_|\_\___(_|_|_)
8
+ </pre>
9
+
10
+ ## About
11
+
12
+ If you want your tests to be isolated... you need mocks! And mocking GUI
13
+ stuff is hard. shoes-mocks to the rescue!
14
+
15
+ ## ... but not just yet
16
+
17
+ This project is in the 'primordial-ooze' stage. See that 0.0.1? Yeah.
18
+ I'm serious. So! It's probably not useful to you yet. But don't let me
19
+ stop you! Just know that it's quite limited.
20
+
21
+ ## Using it
22
+
23
+ Just require 'shoes/mocks' in your test helper, and put
24
+ 'shoes-mocks' in your Gemfile. Easy as pie!
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,7 @@
1
+ require "shoes/mocks/version"
2
+
3
+ module Shoes
4
+ module Mocks
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Shoes
2
+ module Mocks
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "shoes/mocks/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "shoes-mocks"
7
+ s.version = Shoes::Mocks::VERSION
8
+ s.authors = ["Steve Klabnik"]
9
+ s.email = ["steve@steveklabnik.com"]
10
+ s.homepage = "http://github.com/shoes/shoes-mocks"
11
+ s.summary = %q{Mocking for Shoes}
12
+ s.description = %q{If you want your tests to be isolated, you need mocks. Mocking GUIs is hard. shoes-mocks to the rescue!}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.require_paths = ["lib"]
18
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: shoes-mocks
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Steve Klabnik
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-08-27 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: If you want your tests to be isolated, you need mocks. Mocking GUIs is hard. shoes-mocks to the rescue!
23
+ email:
24
+ - steve@steveklabnik.com
25
+ executables: []
26
+
27
+ extensions: []
28
+
29
+ extra_rdoc_files: []
30
+
31
+ files:
32
+ - .gitignore
33
+ - Gemfile
34
+ - README.md
35
+ - Rakefile
36
+ - lib/shoes/mocks.rb
37
+ - lib/shoes/mocks/version.rb
38
+ - shoes-mocks.gemspec
39
+ has_rdoc: true
40
+ homepage: http://github.com/shoes/shoes-mocks
41
+ licenses: []
42
+
43
+ post_install_message:
44
+ rdoc_options: []
45
+
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ hash: 3
54
+ segments:
55
+ - 0
56
+ version: "0"
57
+ required_rubygems_version: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ hash: 3
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ requirements: []
67
+
68
+ rubyforge_project:
69
+ rubygems_version: 1.5.2
70
+ signing_key:
71
+ specification_version: 3
72
+ summary: Mocking for Shoes
73
+ test_files: []
74
+