redmine_plugin_support 0.0.3

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/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
data/History.txt ADDED
@@ -0,0 +1,4 @@
1
+ == 0.0.1 2009-02-11
2
+
3
+ * 1 major enhancement:
4
+ * Initial release
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Eric Davis
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/Manifest.txt ADDED
@@ -0,0 +1,22 @@
1
+ History.txt
2
+ Manifest.txt
3
+ PostInstall.txt
4
+ README.rdoc
5
+ Rakefile
6
+ features/development.feature
7
+ features/steps/common.rb
8
+ features/steps/env.rb
9
+ lib/redmine_plugin_support.rb
10
+ lib/redmine_plugin_support/cucumber_task.rb
11
+ lib/redmine_plugin_support/general_task.rb
12
+ lib/redmine_plugin_support/rdoc_task.rb
13
+ lib/redmine_plugin_support/redmine_helper.rb
14
+ lib/redmine_plugin_support/release_task.rb
15
+ lib/redmine_plugin_support/rspec_task.rb
16
+ script/console
17
+ script/destroy
18
+ script/generate
19
+ spec/redmine_plugin_support_spec.rb
20
+ spec/spec.opts
21
+ spec/spec_helper.rb
22
+ tasks/rspec.rake
data/PostInstall.txt ADDED
File without changes
data/README.rdoc ADDED
@@ -0,0 +1,18 @@
1
+ = redmine_plugin_support
2
+
3
+ Description goes here.
4
+
5
+ == Note on Patches/Pull Requests
6
+
7
+ * Fork the project.
8
+ * Make your feature addition or bug fix.
9
+ * Add tests for it. This is important so I don't break it in a
10
+ future version unintentionally.
11
+ * Commit, do not mess with rakefile, version, or history.
12
+ (if you want to have your own version, that is fine but
13
+ bump version in a commit by itself I can ignore when I pull)
14
+ * Send me a pull request. Bonus points for topic branches.
15
+
16
+ == Copyright
17
+
18
+ Copyright (c) 2009 Eric Davis. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,87 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "redmine_plugin_support"
8
+ gem.summary = %Q{Libraries to automate the creation and management of Redmine plugins}
9
+ gem.description = %Q{This libarary is a collection of rake tasks and other scripts that will make Redmine plugin development easier.}
10
+ gem.email = "edavis@littlestreamsoftware.com"
11
+ gem.homepage = "http://github.com/edavis10/redmine_plugin_support"
12
+ gem.authors = ["Eric Davis"]
13
+ gem.add_development_dependency "thoughtbot-shoulda"
14
+ gem.rubyforge_project = "redmine_plugin_support" # TODO
15
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+ Jeweler::RubyforgeTasks.new do |rubyforge|
19
+ rubyforge.doc_task = "rdoc"
20
+ end
21
+
22
+ rescue LoadError
23
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
24
+ end
25
+
26
+ require 'rake/testtask'
27
+ Rake::TestTask.new(:test) do |test|
28
+ test.libs << 'lib' << 'test'
29
+ test.pattern = 'test/**/*_test.rb'
30
+ test.verbose = true
31
+ end
32
+
33
+ begin
34
+ require 'rcov/rcovtask'
35
+ Rcov::RcovTask.new do |test|
36
+ test.libs << 'test'
37
+ test.pattern = 'test/**/*_test.rb'
38
+ test.verbose = true
39
+ end
40
+ rescue LoadError
41
+ task :rcov do
42
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
43
+ end
44
+ end
45
+
46
+ task :test => :check_dependencies
47
+
48
+ begin
49
+ require 'reek/rake_task'
50
+ Reek::RakeTask.new do |t|
51
+ t.fail_on_error = true
52
+ t.verbose = false
53
+ t.source_files = 'lib/**/*.rb'
54
+ end
55
+ rescue LoadError
56
+ task :reek do
57
+ abort "Reek is not available. In order to run reek, you must: sudo gem install reek"
58
+ end
59
+ end
60
+
61
+ begin
62
+ require 'roodi'
63
+ require 'roodi_task'
64
+ RoodiTask.new do |t|
65
+ t.verbose = false
66
+ end
67
+ rescue LoadError
68
+ task :roodi do
69
+ abort "Roodi is not available. In order to run roodi, you must: sudo gem install roodi"
70
+ end
71
+ end
72
+
73
+ task :default => :test
74
+
75
+ require 'rake/rdoctask'
76
+ Rake::RDocTask.new do |rdoc|
77
+ if File.exist?('VERSION')
78
+ version = File.read('VERSION')
79
+ else
80
+ version = ""
81
+ end
82
+
83
+ rdoc.rdoc_dir = 'rdoc'
84
+ rdoc.title = "redmine_plugin_support #{version}"
85
+ rdoc.rdoc_files.include('README*')
86
+ rdoc.rdoc_files.include('lib/**/*.rb')
87
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.3
@@ -0,0 +1,21 @@
1
+ require 'cucumber/rake/task'
2
+
3
+ module RedminePluginSupport
4
+ class CucumberTask < GeneralTask
5
+ def define
6
+ # TODO: Requires webrat to be installed as a plugin....
7
+ Cucumber::Rake::Task.new(:features) do |t|
8
+ t.cucumber_opts = "--format pretty"
9
+ end
10
+
11
+ namespace :features do
12
+ Cucumber::Rake::Task.new(:rcov) do |t|
13
+ t.cucumber_opts = "--format pretty"
14
+ t.rcov = true
15
+ t.rcov_opts << ["--rails", "--sort=coverage", "--exclude '/var/lib/gems,spec,#{RedmineHelper.redmine_app},#{RedmineHelper.redmine_lib},step_definitions,features/support'"]
16
+ end
17
+ end
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,9 @@
1
+ module RedminePluginSupport
2
+ class EnvironmentTask < GeneralTask
3
+ def define
4
+ task :environment do
5
+ require(File.join(RedmineHelper.redmine_root + '/config', 'environment'))
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,16 @@
1
+ module RedminePluginSupport
2
+ class GeneralTask < ::Rake::TaskLib
3
+ attr_accessor :name
4
+
5
+ def initialize(name=:noop)
6
+ define
7
+ end
8
+
9
+ def define
10
+ # noop
11
+ end
12
+
13
+ end
14
+ end
15
+
16
+
@@ -0,0 +1,20 @@
1
+ require 'rake/rdoctask'
2
+
3
+ module RedminePluginSupport
4
+ class RDocTask < GeneralTask
5
+ def define
6
+
7
+ desc "Generate documentation for XXX"
8
+ Rake::RDocTask.new(:doc) do |rdoc|
9
+ rdoc.rdoc_dir = 'doc'
10
+ rdoc.title = Base.instance.project_name
11
+ rdoc.options << '--line-numbers' << '--inline-source'
12
+ rdoc.rdoc_files.include('README.rdoc')
13
+ rdoc.rdoc_files.include('lib/**/*.rb')
14
+ rdoc.rdoc_files.include('app/**/*.rb')
15
+ end
16
+ self
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,21 @@
1
+ module RedminePluginSupport
2
+ class RedmineHelper
3
+ def self.plugin_root
4
+ RedminePluginSupport::Base.instance.plugin_root
5
+ end
6
+
7
+ def self.redmine_root
8
+ RedminePluginSupport::Base.instance.redmine_root
9
+ end
10
+
11
+ def self.redmine_app
12
+ File.expand_path(RedminePluginSupport::Base.instance.redmine_root + '/app')
13
+ end
14
+
15
+ def self.redmine_lib
16
+ File.expand_path(RedminePluginSupport::Base.instance.redmine_root + '/lib')
17
+ end
18
+
19
+ end
20
+ end
21
+
@@ -0,0 +1,21 @@
1
+ module RedminePluginSupport
2
+ class ReleaseTask < GeneralTask
3
+ def define
4
+ desc "Create packages"
5
+ task :release => ['release:zip', 'release:tarball']
6
+
7
+ namespace :release do
8
+ desc "Create a zip archive"
9
+ task :zip do
10
+ sh "git archive --format=zip --prefix=#{Base.instance.project_name}/ HEAD > #{Base.instance.project_name}.zip"
11
+ end
12
+
13
+ desc "Create a tarball archive"
14
+ task :tarball do
15
+ sh "git archive --format=tar --prefix=#{Base.instance.project_name }/ HEAD | gzip > #{Base.instance.project_name}.tar.gz"
16
+ end
17
+ end
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,50 @@
1
+ gem 'rspec'
2
+ gem 'rspec-rails'
3
+ require 'spec/rake/spectask'
4
+
5
+ module RedminePluginSupport
6
+ class RspecTask < GeneralTask
7
+ def define
8
+
9
+ desc "Run all specs in spec directory (excluding plugin specs)"
10
+ Spec::Rake::SpecTask.new(:spec) do |t|
11
+ t.spec_opts = ['--options', "\"#{RedmineHelper.plugin_root}/spec/spec.opts\""]
12
+ t.spec_files = FileList['spec/**/*_spec.rb']
13
+ end
14
+
15
+ namespace :spec do
16
+ desc "Run all specs in spec directory with RCov (excluding plugin specs)"
17
+ Spec::Rake::SpecTask.new(:rcov) do |t|
18
+ t.spec_opts = ['--options', "\"#{RedmineHelper.plugin_root}/spec/spec.opts\""]
19
+ t.spec_files = FileList['spec/**/*_spec.rb']
20
+ t.rcov = true
21
+ t.rcov_opts << ["--rails", "--sort=coverage", "--exclude '/var/lib/gems,spec,#{RedmineHelper.redmine_app},#{RedmineHelper.redmine_lib}'"]
22
+ end
23
+
24
+ desc "Print Specdoc for all specs (excluding plugin specs)"
25
+ Spec::Rake::SpecTask.new(:doc) do |t|
26
+ t.spec_opts = ["--format", "specdoc", "--dry-run"]
27
+ t.spec_files = FileList['spec/**/*_spec.rb']
28
+ end
29
+
30
+ desc "Print Specdoc for all specs as HTML (excluding plugin specs)"
31
+ Spec::Rake::SpecTask.new(:htmldoc) do |t|
32
+ t.spec_opts = ["--format", "html:doc/rspec_report.html", "--loadby", "mtime"]
33
+ t.spec_files = FileList['spec/**/*_spec.rb']
34
+ end
35
+
36
+ [:models, :controllers, :views, :helpers, :lib].each do |sub|
37
+ desc "Run the specs under spec/#{sub}"
38
+ Spec::Rake::SpecTask.new(sub) do |t|
39
+ t.spec_opts = ['--options', "\"#{RedmineHelper.plugin_root}/spec/spec.opts\""]
40
+ t.spec_files = FileList["spec/#{sub}/**/*_spec.rb"]
41
+ end
42
+ end
43
+ end
44
+
45
+
46
+ self
47
+ end
48
+
49
+ end
50
+ end
@@ -0,0 +1,63 @@
1
+ # Testing taked from Rails
2
+ require 'rake/testtask'
3
+
4
+ module RedminePluginSupport
5
+ class TestUnitTask < GeneralTask
6
+ def define
7
+
8
+ desc 'Run all unit, functional and integration tests'
9
+ task :test do
10
+ errors = %w(test:units test:functionals test:integration).collect do |task|
11
+ begin
12
+ Rake::Task[task].invoke
13
+ nil
14
+ rescue => e
15
+ task
16
+ end
17
+ end.compact
18
+ abort "Errors running #{errors.to_sentence}!" if errors.any?
19
+ end
20
+
21
+ namespace :test do
22
+ Rake::TestTask.new(:units => :environment) do |t|
23
+ t.libs << "test"
24
+ t.pattern = 'test/unit/**/*_test.rb'
25
+ t.verbose = true
26
+ end
27
+ Rake::Task['test:units'].comment = "Run the unit tests in test/unit"
28
+
29
+ Rake::TestTask.new(:functionals => :environment) do |t|
30
+ t.libs << "test"
31
+ t.pattern = 'test/functional/**/*_test.rb'
32
+ t.verbose = true
33
+ end
34
+ Rake::Task['test:functionals'].comment = "Run the functional tests in test/functional"
35
+
36
+ Rake::TestTask.new(:integration => :environment) do |t|
37
+ t.libs << "test"
38
+ t.pattern = 'test/integration/**/*_test.rb'
39
+ t.verbose = true
40
+ end
41
+ Rake::Task['test:integration'].comment = "Run the integration tests in test/integration"
42
+
43
+ Rake::TestTask.new(:benchmark => :environment) do |t|
44
+ t.libs << 'test'
45
+ t.pattern = 'test/performance/**/*_test.rb'
46
+ t.verbose = true
47
+ t.options = '-- --benchmark'
48
+ end
49
+ Rake::Task['test:benchmark'].comment = 'Benchmark the performance tests'
50
+
51
+ Rake::TestTask.new(:profile => :environment) do |t|
52
+ t.libs << 'test'
53
+ t.pattern = 'test/performance/**/*_test.rb'
54
+ t.verbose = true
55
+ end
56
+ Rake::Task['test:profile'].comment = 'Profile the performance tests'
57
+ end
58
+
59
+ self
60
+ end
61
+
62
+ end
63
+ end
@@ -0,0 +1,69 @@
1
+ $:.unshift(File.dirname(__FILE__)) unless
2
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
+
4
+ require 'rake'
5
+ require 'rake/tasklib'
6
+
7
+ require 'redmine_plugin_support/redmine_helper'
8
+ require 'redmine_plugin_support/general_task'
9
+ require 'redmine_plugin_support/environment_task'
10
+ require 'redmine_plugin_support/cucumber_task'
11
+ require 'redmine_plugin_support/rdoc_task'
12
+ require 'redmine_plugin_support/release_task'
13
+ require 'redmine_plugin_support/rspec_task'
14
+ require 'redmine_plugin_support/test_unit_task'
15
+
16
+ module RedminePluginSupport
17
+ VERSION = '0.0.2'
18
+
19
+ @@options = { }
20
+
21
+ class Base
22
+ include Singleton
23
+
24
+ attr_accessor :project_name
25
+ attr_accessor :tasks
26
+ attr_accessor :plugin_root
27
+ attr_accessor :redmine_root
28
+ attr_accessor :default_task
29
+
30
+ attr_accessor :plugin
31
+
32
+
33
+ # :plugin_root => File.expand_path(File.dirname(__FILE__))
34
+ def self.setup(options = { }, &block)
35
+ plugin = self.instance
36
+ plugin.project_name = 'undefined'
37
+ plugin.tasks = [:doc, :spec, :cucumber, :release, :clean, :test]
38
+ plugin.plugin_root = '.'
39
+ plugin.redmine_root = ENV["REDMINE_ROOT"] || File.expand_path(File.dirname(__FILE__) + '/../../../')
40
+ plugin.default_task = :doc
41
+
42
+ plugin.instance_eval(&block)
43
+
44
+ RedminePluginSupport::EnvironmentTask.new(:environment)
45
+
46
+ plugin.tasks.each do |task|
47
+ case task
48
+ when :doc
49
+ RedminePluginSupport::RDocTask.new(:doc)
50
+ when :spec
51
+ RedminePluginSupport::RspecTask.new(:spec)
52
+ when :test
53
+ RedminePluginSupport::TestUnitTask.new(:test)
54
+ when :cucumber
55
+ RedminePluginSupport::CucumberTask.new(:features)
56
+ when :release
57
+ RedminePluginSupport::ReleaseTask.new(:release)
58
+ when :clean
59
+ require 'rake/clean'
60
+ CLEAN.include('**/semantic.cache', "**/#{plugin.project_name}.zip", "**/#{plugin.project_name}.tar.gz")
61
+ end
62
+ end
63
+
64
+ task :default => plugin.default_task
65
+
66
+ end
67
+ end
68
+
69
+ end
@@ -0,0 +1,69 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{redmine_plugin_support}
8
+ s.version = "0.0.3"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Eric Davis"]
12
+ s.date = %q{2010-05-10}
13
+ s.description = %q{This libarary is a collection of rake tasks and other scripts that will make Redmine plugin development easier.}
14
+ s.email = %q{edavis@littlestreamsoftware.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".gitignore",
21
+ "History.txt",
22
+ "LICENSE",
23
+ "Manifest.txt",
24
+ "PostInstall.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "lib/redmine_plugin_support.rb",
29
+ "lib/redmine_plugin_support/cucumber_task.rb",
30
+ "lib/redmine_plugin_support/environment_task.rb",
31
+ "lib/redmine_plugin_support/general_task.rb",
32
+ "lib/redmine_plugin_support/rdoc_task.rb",
33
+ "lib/redmine_plugin_support/redmine_helper.rb",
34
+ "lib/redmine_plugin_support/release_task.rb",
35
+ "lib/redmine_plugin_support/rspec_task.rb",
36
+ "lib/redmine_plugin_support/test_unit_task.rb",
37
+ "redmine_plugin_support.gemspec",
38
+ "script/console",
39
+ "script/destroy",
40
+ "script/generate",
41
+ "tasks/rspec.rake",
42
+ "test/redmine_plugin_support_test.rb",
43
+ "test/test_helper.rb"
44
+ ]
45
+ s.homepage = %q{http://github.com/edavis10/redmine_plugin_support}
46
+ s.rdoc_options = ["--charset=UTF-8"]
47
+ s.require_paths = ["lib"]
48
+ s.rubyforge_project = %q{redmine_plugin_support}
49
+ s.rubygems_version = %q{1.3.6}
50
+ s.summary = %q{Libraries to automate the creation and management of Redmine plugins}
51
+ s.test_files = [
52
+ "test/test_helper.rb",
53
+ "test/redmine_plugin_support_test.rb"
54
+ ]
55
+
56
+ if s.respond_to? :specification_version then
57
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
58
+ s.specification_version = 3
59
+
60
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
61
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
62
+ else
63
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
64
+ end
65
+ else
66
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
67
+ end
68
+ end
69
+
data/script/console ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+ # File: script/console
3
+ irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
+
5
+ libs = " -r irb/completion"
6
+ # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
+ # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
+ libs << " -r #{File.dirname(__FILE__) + '/../lib/redmine_plugin_support.rb'}"
9
+ puts "Loading redmine_plugin_support gem"
10
+ exec "#{irb} #{libs} --simple-prompt"
data/script/destroy ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/destroy'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Destroy.new.run(ARGV)
data/script/generate ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
data/tasks/rspec.rake ADDED
@@ -0,0 +1,21 @@
1
+ begin
2
+ require 'spec'
3
+ rescue LoadError
4
+ require 'rubygems'
5
+ require 'spec'
6
+ end
7
+ begin
8
+ require 'spec/rake/spectask'
9
+ rescue LoadError
10
+ puts <<-EOS
11
+ To use rspec for testing you must install rspec gem:
12
+ gem install rspec
13
+ EOS
14
+ exit(0)
15
+ end
16
+
17
+ desc "Run the specs under spec/models"
18
+ Spec::Rake::SpecTask.new do |t|
19
+ t.spec_opts = ['--options', "spec/spec.opts"]
20
+ t.spec_files = FileList['spec/**/*_spec.rb']
21
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class RedminePluginSupportTest < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
7
+ require 'redmine_plugin_support'
8
+
9
+ class Test::Unit::TestCase
10
+ end
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: redmine_plugin_support
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 3
9
+ version: 0.0.3
10
+ platform: ruby
11
+ authors:
12
+ - Eric Davis
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-05-10 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: thoughtbot-shoulda
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :development
31
+ version_requirements: *id001
32
+ description: This libarary is a collection of rake tasks and other scripts that will make Redmine plugin development easier.
33
+ email: edavis@littlestreamsoftware.com
34
+ executables: []
35
+
36
+ extensions: []
37
+
38
+ extra_rdoc_files:
39
+ - LICENSE
40
+ - README.rdoc
41
+ files:
42
+ - .gitignore
43
+ - History.txt
44
+ - LICENSE
45
+ - Manifest.txt
46
+ - PostInstall.txt
47
+ - README.rdoc
48
+ - Rakefile
49
+ - VERSION
50
+ - lib/redmine_plugin_support.rb
51
+ - lib/redmine_plugin_support/cucumber_task.rb
52
+ - lib/redmine_plugin_support/environment_task.rb
53
+ - lib/redmine_plugin_support/general_task.rb
54
+ - lib/redmine_plugin_support/rdoc_task.rb
55
+ - lib/redmine_plugin_support/redmine_helper.rb
56
+ - lib/redmine_plugin_support/release_task.rb
57
+ - lib/redmine_plugin_support/rspec_task.rb
58
+ - lib/redmine_plugin_support/test_unit_task.rb
59
+ - redmine_plugin_support.gemspec
60
+ - script/console
61
+ - script/destroy
62
+ - script/generate
63
+ - tasks/rspec.rake
64
+ - test/redmine_plugin_support_test.rb
65
+ - test/test_helper.rb
66
+ has_rdoc: true
67
+ homepage: http://github.com/edavis10/redmine_plugin_support
68
+ licenses: []
69
+
70
+ post_install_message:
71
+ rdoc_options:
72
+ - --charset=UTF-8
73
+ require_paths:
74
+ - lib
75
+ required_ruby_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ segments:
80
+ - 0
81
+ version: "0"
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ segments:
87
+ - 0
88
+ version: "0"
89
+ requirements: []
90
+
91
+ rubyforge_project: redmine_plugin_support
92
+ rubygems_version: 1.3.6
93
+ signing_key:
94
+ specification_version: 3
95
+ summary: Libraries to automate the creation and management of Redmine plugins
96
+ test_files:
97
+ - test/test_helper.rb
98
+ - test/redmine_plugin_support_test.rb