assert-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 800bb430ce59260be6825a22c1822a52e0f6cdadc81cb5467c0a25d02c62d7c9
4
+ data.tar.gz: 7396f4f4d5ff1d78006365f49ef34cd0393d9c559f774564104f4440002c6de2
5
+ SHA512:
6
+ metadata.gz: 6556fdb84ab36868f4af865e9fb98286902c6b695630051192cc6ebd5059cdec8ac5fba5abffaf768c69f521c2cc411a01e4bca6727d020b5f677dbc85a4255d
7
+ data.tar.gz: 44928dec0a294d336e43b6bc4ae782eba45477aa4b3832332492fed52b43b9fd8f3481d63e9c561944833567409f1d72ec0fe8ba81218ce7dec4491b764613c4
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ ruby '> 1.8'
4
+
5
+ gemspec
6
+
7
+ gem "pry", "~> 0.11.3"
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2011-Present Kelly Redding and Collin Redding
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ # Assert-Rails
2
+
3
+ Use Assert for testing Rails applications. See https://github.com/redding/assert for reference.
4
+
5
+ ## Usage
6
+
7
+ TODO: Write code samples and usage instructions here
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ gem 'assert-rails'
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install assert-rails
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "assert-rails/version"
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "assert-rails"
8
+ gem.version = AssertRails::VERSION
9
+ gem.authors = ["Kelly Redding", "Collin Redding"]
10
+ gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
11
+ gem.summary = "Use Assert for testing Rails applications."
12
+ gem.description = "Use Assert for testing Rails applications."
13
+ gem.homepage = "https://github.com/redding/assert-rails"
14
+ gem.license = 'MIT'
15
+
16
+ gem.files = `git ls-files | grep "^[^.]"`.split($/)
17
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
+ gem.require_paths = ["lib"]
20
+
21
+ gem.required_ruby_version = '> 1.8'
22
+
23
+ gem.add_dependency("assert", ["~> 2.17.0"])
24
+
25
+ end
@@ -0,0 +1,4 @@
1
+ require "assert-rails/version"
2
+
3
+ module AssertRails
4
+ end
@@ -0,0 +1,3 @@
1
+ module AssertRails
2
+ VERSION = "0.0.1"
3
+ end
File without changes
@@ -0,0 +1,12 @@
1
+ # this file is automatically required when you run `assert`
2
+ # put any test helpers here
3
+
4
+ # add the root dir to the load path
5
+ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
6
+
7
+ # require pry for debugging (`binding.pry`)
8
+ require 'pry'
9
+
10
+ require 'test/support/factory'
11
+
12
+ # TODO: put test helpers here...
@@ -0,0 +1,6 @@
1
+ require 'assert/factory'
2
+
3
+ module Factory
4
+ extend Assert::Factory
5
+
6
+ end
File without changes
File without changes
File without changes
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: assert-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Kelly Redding
8
+ - Collin Redding
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2018-10-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: assert
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 2.17.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 2.17.0
28
+ description: Use Assert for testing Rails applications.
29
+ email:
30
+ - kelly@kellyredding.com
31
+ - collin.redding@me.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - Gemfile
37
+ - LICENSE
38
+ - README.md
39
+ - assert-rails.gemspec
40
+ - lib/assert-rails.rb
41
+ - lib/assert-rails/version.rb
42
+ - log/.gitkeep
43
+ - test/helper.rb
44
+ - test/support/factory.rb
45
+ - test/system/.gitkeep
46
+ - test/unit/.gitkeep
47
+ - tmp/.gitkeep
48
+ homepage: https://github.com/redding/assert-rails
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.8'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubyforge_project:
68
+ rubygems_version: 2.7.7
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: Use Assert for testing Rails applications.
72
+ test_files:
73
+ - test/helper.rb
74
+ - test/support/factory.rb
75
+ - test/system/.gitkeep
76
+ - test/unit/.gitkeep