dudley 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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d0097245b03583a906dd2e7a5f2829088399023e
4
+ data.tar.gz: d177f44c3edeae5fe67daea2b6eb8e17863c0a46
5
+ SHA512:
6
+ metadata.gz: 45130aea0c0970b9ed8d7ee1d5dc6f41d504ac0f12d5a24a6177572cfd73469a14b4f73cd37f72b6079cc090bbe8d6f510ea2852d71ff826c7e8c38878702e6d
7
+ data.tar.gz: b1df341a7e676972023eb8e7c0d6adfcf1c86c40e21fb4d879f10aaceb88cb3ad37b3d776174cffeadfc54d01c03cd85b6ad1eaeaea5e9e41daaf4ad51316572
@@ -0,0 +1,6 @@
1
+ Dudley
2
+ ======
3
+
4
+ Techniques for Decoupling your application logic from Rails (or any web framework for that matter).
5
+
6
+ (coming soon)
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby"
2
+
3
+ require 'rake/clean'
4
+
5
+ task :default => :specs
6
+
7
+ task :specs do
8
+ sh "rspec spec"
9
+ end
Binary file
@@ -0,0 +1,8 @@
1
+ module Dudley
2
+ VERSION_NUMBERS = [
3
+ VERSION_MAJOR = 0,
4
+ VERSION_MINOR = 0,
5
+ VERSION_BUILD = 1,
6
+ ]
7
+ VERSION = VERSION_NUMBERS.join(".")
8
+ end
@@ -0,0 +1,65 @@
1
+ require 'rubygems/package_task'
2
+ require './lib/dudley/version'
3
+
4
+ if ! defined?(Gem)
5
+ puts "Package Target requires RubyGEMs"
6
+ else
7
+ PKG_FILES = FileList[
8
+ '[A-Z]*',
9
+ 'lib/*.rb',
10
+ 'lib/**/*.rb',
11
+ 'rakelib/**/*',
12
+ 'test/**/*.rb',
13
+ 'spec/**/*.rb',
14
+ 'examples/**/*',
15
+ 'doc/**/*',
16
+ ]
17
+ PKG_FILES.exclude('TAGS')
18
+
19
+ DUDLEY_SPEC = Gem::Specification.new do |s|
20
+ s.name = 'dudley'
21
+ s.version = Dudley::VERSION
22
+ s.summary = "Techniques for decoupling from Rails or other frameworks."
23
+ s.description = <<EOF
24
+ Dudley is a set of techniques and code practices to aid in the decoupling
25
+ of application logic from a framework (Rails in particular, but really any
26
+ overly invasive framework).
27
+ EOF
28
+ s.files = PKG_FILES.to_a
29
+ s.require_path = 'lib' # Use these for libraries.
30
+ s.rdoc_options = [
31
+ '--line-numbers', '--inline-source',
32
+ '--main' , 'doc/main.rdoc',
33
+ '--title', 'Dudley - Rescued from Rails'
34
+ ]
35
+
36
+ s.required_ruby_version = '>= 1.9.2'
37
+ s.license = "MIT"
38
+
39
+ s.author = "Jim Weirich"
40
+ s.email = "jim.weirich@gmail.com"
41
+ s.homepage = "http://github.com/jimweirich/dudley"
42
+ s.rubyforge_project = "n/a"
43
+ end
44
+
45
+
46
+ Gem::PackageTask.new(DUDLEY_SPEC) do |pkg|
47
+ pkg.need_zip = false
48
+ pkg.need_tar = false
49
+ end
50
+
51
+ file "dudley.gemspec" => ["rakelib/gemspec.rake"] do |t|
52
+ require 'yaml'
53
+ open(t.name, "w") { |f| f.puts DUDLEY_SPEC.to_yaml }
54
+ end
55
+
56
+ desc "Create a stand-alone gemspec"
57
+ task :gemspec => ["dudley.gemspec"]
58
+
59
+ desc "Check Filelists"
60
+ task :filelists do
61
+ puts "==============="
62
+ puts "PKG_FILES=#{PKG_FILES.inspect}"
63
+ puts "==============="
64
+ end
65
+ end
metadata ADDED
@@ -0,0 +1,57 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dudley
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jim Weirich
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-18 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |
14
+ Dudley is a set of techniques and code practices to aid in the decoupling
15
+ of application logic from a framework (Rails in particular, but really any
16
+ overly invasive framework).
17
+ email: jim.weirich@gmail.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - README.md
23
+ - Rakefile
24
+ - doc/images/dudley.jpg
25
+ - lib/dudley/version.rb
26
+ - rakelib/gemspec.rake
27
+ homepage: http://github.com/jimweirich/dudley
28
+ licenses:
29
+ - MIT
30
+ metadata: {}
31
+ post_install_message:
32
+ rdoc_options:
33
+ - "--line-numbers"
34
+ - "--inline-source"
35
+ - "--main"
36
+ - doc/main.rdoc
37
+ - "--title"
38
+ - Dudley - Rescued from Rails
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 1.9.2
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ requirements: []
52
+ rubyforge_project: n/a
53
+ rubygems_version: 2.2.0
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: Techniques for decoupling from Rails or other frameworks.
57
+ test_files: []