jamjar 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 41b2c7622c51f6a2732ac06ae947570dbcb2fc9d
4
+ data.tar.gz: 96afcc2f2de2301bdff75e7114718ef2fb29fcf7
5
+ SHA512:
6
+ metadata.gz: 5511e12f7556edd4306cca45626824dd976ddd9242d2a6882ca5b802f077ef6f1837e4ac3bd6ffeb68cfa2b38086e1b9daf52c1f4582ce412ac7a0f194ed5141
7
+ data.tar.gz: 3e9f9fb9e5b70795a550235679f66b2c607bc2f947a082442bf02dba7f1fa13317e0ac7bdd7830efba2006b2c36135f26d0865f9ab6e37f189c842f2bccd4c88
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ gem "bundler"
6
+ # gem "appraisal"
7
+
8
+ gem "rake"
9
+
10
+ gem "rspec"
11
+ gem "fuubar"
12
+
13
+ # gem "simplecov", require: false
14
+ # gem "coveralls", require: false
15
+
16
+ group :tools do
17
+ gem "byebug", platform: [:ruby_20, :ruby_21]
18
+ gem "debugger", platform: :ruby_19
19
+ end
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Thomas Drake-Brockman
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,28 @@
1
+ # JamJar
2
+
3
+ JamJar dynamically creates SQLite-backed, in memory, ActiveRecord models to help you test your ActiveRecord extensions.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem "jamjar"
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ ## Usage
18
+
19
+ TODO
20
+
21
+ ## Contributing
22
+
23
+ 1. Fork it
24
+ 2. Create a branch (`git checkout -b super-foo`)
25
+ 3. Add your feature and specs.
26
+ 4. Commit your changes (`git commit -am 'Extra-super foo-matic.'`)
27
+ 5. Push to the branch (`git push origin super-foo`)
28
+ 6. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/jamjar.gemspec ADDED
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jamjar/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "jamjar"
8
+ spec.version = JamJar::VERSION
9
+ spec.authors = ["Thomas Drake-Brockman"]
10
+ spec.email = ["thom@sfedb.com"]
11
+ spec.summary = "JamJar generates ActiveRecord models for use in tests."
12
+ spec.description = "JamJar dynamically creates SQLite-backed, in memory, ActiveRecord models to help you test your ActiveRecord extensions."
13
+ spec.homepage = "https://github.com/thomasfedb/jamjar"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(spec)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_runtime_dependency "activerecord", ">= 3.2"
22
+ end
@@ -0,0 +1,15 @@
1
+ module JamJar
2
+ module VERSION
3
+ MAJOR = 0
4
+ MINOR = 0
5
+ PATCH = 1
6
+
7
+ BETA = nil
8
+
9
+ def self.to_s
10
+ version_str = [MAJOR, MINOR, PATCH].map(&:to_s).join(".")
11
+ version_str << ".beta#{BETA}" if BETA
12
+ version_str
13
+ end
14
+ end
15
+ end
data/lib/jamjar.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "jamjar/version"
2
+
3
+ module JamJar
4
+ # Your code goes here...
5
+ end
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jamjar
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Drake-Brockman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ description: JamJar dynamically creates SQLite-backed, in memory, ActiveRecord models
28
+ to help you test your ActiveRecord extensions.
29
+ email:
30
+ - thom@sfedb.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - ".gitignore"
36
+ - Gemfile
37
+ - LICENSE
38
+ - README.md
39
+ - Rakefile
40
+ - jamjar.gemspec
41
+ - lib/jamjar.rb
42
+ - lib/jamjar/version.rb
43
+ homepage: https://github.com/thomasfedb/jamjar
44
+ licenses:
45
+ - MIT
46
+ metadata: {}
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubyforge_project:
63
+ rubygems_version: 2.4.5
64
+ signing_key:
65
+ specification_version: 4
66
+ summary: JamJar generates ActiveRecord models for use in tests.
67
+ test_files: []