cogent 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/cogent.gemspec +47 -0
- data/lib/cogent.rb +4 -0
- data/lib/cogent/version.rb +3 -0
- metadata +90 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a942f679c8c8028641e5a33dcfdb647842af62f6
|
4
|
+
data.tar.gz: d73f3f247a8445342178df7d67a3872493e79467
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 512e74b51090c27fe08862198c81c6ca94d90332d35f26f70fa77b8120116874709222c76b9f9a1a5ade20887fbe75c4d6fa901f8e547e7dbea13b64cf9c5594
|
7
|
+
data.tar.gz: fc495747f0e869f5fbf88a2f18f7ad634542a5851c2bb539458f7b62a135f0a29a4a6c2b7c76dc99f9ef23abe5d57464b06d45ae0b7a543f0d5cd9fd1789872d
|
data/.gitignore
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
.idea
|
7
|
+
.rubocop.yml
|
8
|
+
.sublime-project
|
9
|
+
.sublime-workspace
|
10
|
+
Gemfile.lock
|
11
|
+
InstalledFiles
|
12
|
+
_yardoc
|
13
|
+
coverage
|
14
|
+
doc/
|
15
|
+
lib/bundler/man
|
16
|
+
pkg
|
17
|
+
rdoc
|
18
|
+
spec/reports
|
19
|
+
test/tmp
|
20
|
+
test/version_tmp
|
21
|
+
tmp
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Jeff Nyman
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Cogent
|
2
|
+
|
3
|
+
Cogent provides a semantic domain-specific language that can be used to construct a fluent interface for test execution libraries.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'cogent'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install cogent
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
Instructions on how to use Helix will be coming soon.
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. [Fork the project](http://gun.io/blog/how-to-github-fork-branch-and-pull-request/).
|
26
|
+
2. Create a feature branch. (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes. (`git commit -am 'new feature'`)
|
28
|
+
4. Push the branch. (`git push origin my-new-feature`)
|
29
|
+
5. Create a new [pull request](https://help.github.com/articles/using-pull-requests).
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
data/cogent.gemspec
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cogent/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'cogent'
|
8
|
+
spec.version = Cogent::VERSION
|
9
|
+
spec.authors = ["Jeff Nyman"]
|
10
|
+
spec.email = ['jeffnyman@gmail.com']
|
11
|
+
spec.summary = %q{A Semantically Clean Fluent Interface Test Framework}
|
12
|
+
spec.description = %q{
|
13
|
+
Cogent is a framework that provides a way to describe your application in
|
14
|
+
terms of activity and page definitions. Those definitions can then be
|
15
|
+
referenced by test libraries using the DSL that Cogent provides.
|
16
|
+
|
17
|
+
The DSL provides a fluent interface that can be used for constructing
|
18
|
+
test execution logic. This fluent interface promotes the idea of
|
19
|
+
compressibility of your test logic, allowing for more factoring, more
|
20
|
+
reuse, and less repetition.
|
21
|
+
|
22
|
+
You can use Cogent directly as an automated testing solution or you can
|
23
|
+
use it with other tools such as RSpec, Cucumber, or my own Lucid tool.
|
24
|
+
}
|
25
|
+
spec.homepage = 'https://github.com/jnyman/cogent'
|
26
|
+
spec.license = 'MIT'
|
27
|
+
spec.platform = Gem::Platform::RUBY
|
28
|
+
|
29
|
+
spec.files = `git ls-files -z`.split("\x0")
|
30
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
31
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
32
|
+
spec.require_paths = ["lib"]
|
33
|
+
|
34
|
+
spec.required_ruby_version = '>= 1.9.3'
|
35
|
+
spec.required_rubygems_version = '>= 1.6.1'
|
36
|
+
|
37
|
+
spec.add_development_dependency 'bundler', '~> 1.5'
|
38
|
+
spec.add_development_dependency 'rake'
|
39
|
+
|
40
|
+
spec.post_install_message = %{
|
41
|
+
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
42
|
+
|
43
|
+
Cogent #{Cogent::VERSION} has been installed.
|
44
|
+
|
45
|
+
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
46
|
+
}
|
47
|
+
end
|
data/lib/cogent.rb
ADDED
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cogent
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeff Nyman
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-02-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: "\n Cogent is a framework that provides a way to describe your application
|
42
|
+
in\n terms of activity and page definitions. Those definitions can then be\n
|
43
|
+
\ referenced by test libraries using the DSL that Cogent provides.\n\n The
|
44
|
+
DSL provides a fluent interface that can be used for constructing\n test execution
|
45
|
+
logic. This fluent interface promotes the idea of\n compressibility of your test
|
46
|
+
logic, allowing for more factoring, more\n reuse, and less repetition.\n\n You
|
47
|
+
can use Cogent directly as an automated testing solution or you can\n use it
|
48
|
+
with other tools such as RSpec, Cucumber, or my own Lucid tool.\n "
|
49
|
+
email:
|
50
|
+
- jeffnyman@gmail.com
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- .gitignore
|
56
|
+
- Gemfile
|
57
|
+
- LICENSE.txt
|
58
|
+
- README.md
|
59
|
+
- Rakefile
|
60
|
+
- cogent.gemspec
|
61
|
+
- lib/cogent.rb
|
62
|
+
- lib/cogent/version.rb
|
63
|
+
homepage: https://github.com/jnyman/cogent
|
64
|
+
licenses:
|
65
|
+
- MIT
|
66
|
+
metadata: {}
|
67
|
+
post_install_message: "\n(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n
|
68
|
+
\ Cogent 0.0.1 has been installed.\n\n(::) (::) (::) (::) (::) (::) (::) (::) (::)
|
69
|
+
(::) (::) (::)\n "
|
70
|
+
rdoc_options: []
|
71
|
+
require_paths:
|
72
|
+
- lib
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.9.3
|
78
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.6.1
|
83
|
+
requirements: []
|
84
|
+
rubyforge_project:
|
85
|
+
rubygems_version: 2.1.11
|
86
|
+
signing_key:
|
87
|
+
specification_version: 4
|
88
|
+
summary: A Semantically Clean Fluent Interface Test Framework
|
89
|
+
test_files: []
|
90
|
+
has_rdoc:
|