ore-example 0.1.0

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.
data/.document ADDED
@@ -0,0 +1,3 @@
1
+ -
2
+ ChangeLog.*
3
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --colour --format documentation
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --markup markdown --title "ore-example Documentation" --protected
data/ChangeLog.md ADDED
@@ -0,0 +1,4 @@
1
+ ### 0.1.0 / 2010-10-24
2
+
3
+ * Initial release:
4
+
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ source :rubygems
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'rake', '~> 0.8.7'
7
+
8
+ case RUBY_PLATFORM
9
+ when 'java'
10
+ gem 'maruku'
11
+ else
12
+ gem 'bluecloth', '>= 2.0.0'
13
+ end
14
+
15
+ gem 'ore', '~> 0.1.0', :git => 'http://github.com/postmodern/ore.git'
16
+ gem 'ore-tasks', '~> 0.1.0', :git => 'http://github.com/postmodern/ore-tasks.git'
17
+
18
+ gem 'rspec', '~> 2.0.0'
19
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,49 @@
1
+ GIT
2
+ remote: http://github.com/postmodern/ore-tasks.git
3
+ revision: 2883bd74a8faa294313d053041eb2aee0e7458d8
4
+ specs:
5
+ ore-tasks (0.1.0)
6
+
7
+ GIT
8
+ remote: http://github.com/postmodern/ore.git
9
+ revision: 76d471f821def5b92defc932f985d54b9efad266
10
+ specs:
11
+ ore (0.1.0)
12
+ thor (~> 0.14.3)
13
+
14
+ PATH
15
+ remote: .
16
+ specs:
17
+ ore-example (0.1.0)
18
+
19
+ GEM
20
+ remote: http://rubygems.org/
21
+ specs:
22
+ bluecloth (2.0.9)
23
+ diff-lcs (1.1.2)
24
+ rake (0.8.7)
25
+ rspec (2.0.1)
26
+ rspec-core (~> 2.0.1)
27
+ rspec-expectations (~> 2.0.1)
28
+ rspec-mocks (~> 2.0.1)
29
+ rspec-core (2.0.1)
30
+ rspec-expectations (2.0.1)
31
+ diff-lcs (>= 1.1.2)
32
+ rspec-mocks (2.0.1)
33
+ rspec-core (~> 2.0.1)
34
+ rspec-expectations (~> 2.0.1)
35
+ thor (0.14.3)
36
+ yard (0.6.1)
37
+
38
+ PLATFORMS
39
+ ruby
40
+
41
+ DEPENDENCIES
42
+ bluecloth (>= 2.0.0)
43
+ bundler (~> 1.0.0)
44
+ ore (~> 0.1.0)!
45
+ ore-example!
46
+ ore-tasks (~> 0.1.0)!
47
+ rake (~> 0.8.7)
48
+ rspec (~> 2.0.0)
49
+ yard (~> 0.6.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2010 Hal Brodigan
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # ore-example
2
+
3
+ * [Homepage](http://github.com/postmodern/ore-example)
4
+
5
+ ## Description
6
+
7
+ Ore-example is an example / testing library using Ore and Ore::Tasks.
8
+
9
+ ## Features
10
+
11
+ * Live testing of Ore and Ore::Tasks.
12
+
13
+ ## Install
14
+
15
+ $ gem install ore-example
16
+
17
+ ## Copyright
18
+
19
+ Copyright (c) 2010 Hal Brodigan
20
+
21
+ See {file:LICENSE.txt} for details.
data/Rakefile ADDED
@@ -0,0 +1,29 @@
1
+ require 'rubygems'
2
+
3
+ begin
4
+ require 'bundler'
5
+ rescue LoadError => e
6
+ STDERR.puts e.message
7
+ STDERR.puts "Run `gem install bundler` to install Bundler."
8
+ exit e.status_code
9
+ end
10
+
11
+ begin
12
+ Bundler.setup(:development, :doc)
13
+ rescue Bundler::BundlerError => e
14
+ STDERR.puts e.message
15
+ STDERR.puts "Run `bundle install` to install missing gems."
16
+ exit e.status_code
17
+ end
18
+
19
+ require 'rake'
20
+
21
+ require 'ore/tasks'
22
+ Ore::Tasks.new
23
+
24
+ require 'rspec/core/rake_task'
25
+ RSpec::Core::RakeTask.new
26
+ task :default => :spec
27
+
28
+ require 'yard'
29
+ YARD::Rake::YardocTask.new
data/gemspec.yml ADDED
@@ -0,0 +1,12 @@
1
+ name: ore-example
2
+ summary: Example library using Ore
3
+ description: An example / testing library using Ore and Ore::Tasks.
4
+ license: MIT
5
+ authors: Postmodern
6
+ email: postmodern.mod3@gmail.com
7
+ homepage: http://github.com/postmodern/ore-example
8
+ has_yard: true
9
+
10
+ development_dependencies:
11
+ bundler: ~> 1.0.0
12
+ yard: ~> 0.6.0
@@ -0,0 +1,6 @@
1
+ module Ore
2
+ module Example
3
+ # ore-example version
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
@@ -0,0 +1 @@
1
+ require 'ore/example/version'
@@ -0,0 +1,10 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ begin
4
+ Ore::Specification.new do |gemspec|
5
+ # custom logic here
6
+ end
7
+ rescue NameError
8
+ STDERR.puts "The 'ore-example.gemspec' file requires Ore."
9
+ STDERR.puts "Run `gem install ore` to install Ore."
10
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+ require 'ore/example'
3
+
4
+ describe Ore::Example do
5
+ it "should have a VERSION constant" do
6
+ Ore::Example.const_get('VERSION').should_not be_empty
7
+ end
8
+ end
@@ -0,0 +1,4 @@
1
+ require 'rspec'
2
+ require 'ore/example/version'
3
+
4
+ include Ore::Example
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ore-example
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 0
9
+ version: 0.1.0
10
+ platform: ruby
11
+ authors:
12
+ - Postmodern
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-10-25 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: bundler
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
30
+ - 0
31
+ version: 1.0.0
32
+ type: :development
33
+ prerelease: false
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: yard
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ - 6
45
+ - 0
46
+ version: 0.6.0
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: *id002
50
+ description: An example / testing library using Ore and Ore::Tasks.
51
+ email: postmodern.mod3@gmail.com
52
+ executables: []
53
+
54
+ extensions: []
55
+
56
+ extra_rdoc_files:
57
+ - README.md
58
+ - ChangeLog.md
59
+ - LICENSE.txt
60
+ files:
61
+ - .document
62
+ - .rspec
63
+ - .yardopts
64
+ - ChangeLog.md
65
+ - Gemfile
66
+ - Gemfile.lock
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - gemspec.yml
71
+ - lib/ore/example.rb
72
+ - lib/ore/example/version.rb
73
+ - ore-example.gemspec
74
+ - spec/ore/example_spec.rb
75
+ - spec/spec_helper.rb
76
+ has_rdoc: yard
77
+ homepage: http://github.com/postmodern/ore-example
78
+ licenses:
79
+ - MIT
80
+ post_install_message:
81
+ rdoc_options: []
82
+
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ segments:
91
+ - 0
92
+ version: "0"
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ segments:
99
+ - 1
100
+ - 3
101
+ - 6
102
+ version: 1.3.6
103
+ requirements: []
104
+
105
+ rubyforge_project:
106
+ rubygems_version: 1.3.7
107
+ signing_key:
108
+ specification_version: 3
109
+ summary: Example library using Ore
110
+ test_files:
111
+ - spec/ore/example_spec.rb