bard-rake 0.10.5 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bdd3cd36716893dfc28cc922187887d00af94a66
4
+ data.tar.gz: bd7655840946b7dd07d4c0b8fd26b22d3f04e525
5
+ SHA512:
6
+ metadata.gz: 97c05cac63774a679d646e872ff9a610ac4c28e0e562ba36de0ecc6595a98241cfd0ac41410304a75b77da42e2c4f5635dfb9ff102c6dea87f164f075ce59c06
7
+ data.tar.gz: 6ad11af9408b642bab82acbf584730da4f640f7e5465478c6cf34af03d7a8a50f82cc8e30aa8f4b8d395cec311bcbf666a7c16d2be2ace134af35c30e861ecb6
@@ -0,0 +1,19 @@
1
+ .ruby-version
2
+ .ruby-gemset
3
+ *.gem
4
+ *.rbc
5
+ .bundle
6
+ .config
7
+ .yardoc
8
+ Gemfile.lock
9
+ InstalledFiles
10
+ _yardoc
11
+ coverage
12
+ doc/
13
+ lib/bundler/man
14
+ pkg
15
+ rdoc
16
+ spec/reports
17
+ test/tmp
18
+ test/version_tmp
19
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in bard-rake.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Micah Geisel
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.
@@ -0,0 +1,29 @@
1
+ # Bard::Rake
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'bard-rake'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install bard-rake
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile CHANGED
@@ -1,25 +1 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "bard-rake"
8
- gem.summary = %Q{Rake tasks for all bard projects.}
9
- gem.description = %Q{Rake tasks for all bard projects.
10
- * Bootstrap projects
11
- * Database backup}
12
- gem.email = "micah@botandrose.com"
13
- gem.homepage = "http://github.com/botandrose/bard-rake"
14
- gem.authors = ["Micah Geisel"]
15
- gem.add_development_dependency "rspec", ">= 1.2.9"
16
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
- end
18
- Jeweler::GemcutterTasks.new
19
- rescue LoadError
20
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
21
- end
22
-
23
- task :release do
24
- system "git push"
25
- end
1
+ require "bundler/gem_tasks"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.5
1
+ 0.10.6
@@ -1,54 +1,25 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'bard/rake/version'
5
4
 
6
- Gem::Specification.new do |s|
7
- s.name = "bard-rake"
8
- s.version = "0.10.5"
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "bard-rake"
7
+ spec.version = BardRake::VERSION
8
+ spec.authors = ["Micah Geisel"]
9
+ spec.email = ["micah@botandrose.com"]
10
+ spec.description = "Rake tasks for all bard projects.\n* Bootstrap projects\n* Database backup"
11
+ spec.summary = "Rake tasks for all bard projects."
12
+ spec.homepage = "http://github.com/botandrose/bard-rake"
13
+ spec.license = "MIT"
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Micah Geisel"]
12
- s.date = "2013-06-26"
13
- s.description = "Rake tasks for all bard projects.\n* Bootstrap projects\n* Database backup"
14
- s.email = "micah@botandrose.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "bard-rake.gemspec",
26
- "lib/bard-rake.rb",
27
- "lib/bard/rake.rb",
28
- "lib/bard/rake/bootstrap.rb",
29
- "lib/bard/rake/db_dump_load.rb",
30
- "lib/bard/rake/db_multiple_environment_sanity.rb",
31
- "lib/bard/rake/railtie.rb",
32
- "lib/bard/rake/testing.rb",
33
- "spec/bard-rake_spec.rb",
34
- "spec/spec.opts",
35
- "spec/spec_helper.rb"
36
- ]
37
- s.homepage = "http://github.com/botandrose/bard-rake"
38
- s.require_paths = ["lib"]
39
- s.rubygems_version = "1.8.24"
40
- s.summary = "Rake tasks for all bard projects."
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
41
19
 
42
- if s.respond_to? :specification_version then
43
- s.specification_version = 3
20
+ spec.add_dependency "rake"
44
21
 
45
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
46
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
47
- else
48
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
49
- end
50
- else
51
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
52
- end
22
+ spec.add_development_dependency "bundler", "~> 1.3"
23
+ spec.add_development_dependency(%q<rspec>, [">= 1.2.9"])
53
24
  end
54
25
 
@@ -6,3 +6,6 @@ require 'bard/rake/testing'
6
6
  def invoke_task_if_exists task_name
7
7
  Rake::Task[task_name].invoke if Rake::Task.task_defined? task_name
8
8
  end
9
+
10
+ module BardRake
11
+ end
@@ -74,7 +74,7 @@ module BardRake
74
74
  def dump
75
75
  mysqldump = `which mysqldump`.strip
76
76
  raise RuntimeError, "Cannot find mysqldump." if mysqldump.blank?
77
- sh "#{mysqldump} --add-drop-database --databases -e #{mysql_options} > #{FILE_PATH}"
77
+ sh "#{mysqldump} --single-transaction --quick --add-drop-database --databases -e #{mysql_options} > #{FILE_PATH}"
78
78
  end
79
79
 
80
80
  def load
@@ -17,12 +17,13 @@ Rake::Task[:default].clear if Rake::Task.task_defined?(:default)
17
17
  desc "Bootstrap the current project and run the tests."
18
18
  task :default => [:bootstrap_test] do
19
19
  invoke_task_if_exists "spec"
20
+ invoke_task_if_exists "spec:javascripts"
21
+
20
22
  if ENV["CI"] && Rake::Task.task_defined?("parallel:features")
21
23
  Rake::Task["parallel"].invoke
22
24
  else
23
25
  invoke_task_if_exists "cucumber"
24
26
  end
25
- invoke_task_if_exists "spec:javascripts"
26
27
  end
27
28
 
28
29
  task :ci => [:set_ci_env, :set_fail_fast_env, :bootstrap_test, "assets:clean", "assets:precompile", :default]
@@ -0,0 +1,4 @@
1
+ module BardRake
2
+ VERSION = "0.11.0"
3
+ end
4
+
metadata CHANGED
@@ -1,53 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bard-rake
3
- version: !ruby/object:Gem::Version
4
- hash: 61
5
- prerelease:
6
- segments:
7
- - 0
8
- - 10
9
- - 5
10
- version: 0.10.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.11.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Micah Geisel
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-06-26 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- requirement: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 13
27
- segments:
28
- - 1
29
- - 2
30
- - 9
31
- version: 1.2.9
11
+ date: 2013-11-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
32
35
  prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
33
42
  name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.2.9
34
48
  type: :development
35
- version_requirements: *id001
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.9
36
55
  description: |-
37
56
  Rake tasks for all bard projects.
38
57
  * Bootstrap projects
39
58
  * Database backup
40
- email: micah@botandrose.com
59
+ email:
60
+ - micah@botandrose.com
41
61
  executables: []
42
-
43
62
  extensions: []
44
-
45
- extra_rdoc_files:
46
- - LICENSE
47
- - README.rdoc
48
- files:
63
+ extra_rdoc_files: []
64
+ files:
49
65
  - .document
66
+ - .gitignore
67
+ - Gemfile
50
68
  - LICENSE
69
+ - LICENSE.txt
70
+ - README.md
51
71
  - README.rdoc
52
72
  - Rakefile
53
73
  - VERSION
@@ -59,41 +79,35 @@ files:
59
79
  - lib/bard/rake/db_multiple_environment_sanity.rb
60
80
  - lib/bard/rake/railtie.rb
61
81
  - lib/bard/rake/testing.rb
82
+ - lib/bard/rake/version.rb
62
83
  - spec/bard-rake_spec.rb
63
84
  - spec/spec.opts
64
85
  - spec/spec_helper.rb
65
86
  homepage: http://github.com/botandrose/bard-rake
66
- licenses: []
67
-
87
+ licenses:
88
+ - MIT
89
+ metadata: {}
68
90
  post_install_message:
69
91
  rdoc_options: []
70
-
71
- require_paths:
92
+ require_paths:
72
93
  - lib
73
- required_ruby_version: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 3
79
- segments:
80
- - 0
81
- version: "0"
82
- required_rubygems_version: !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 3
88
- segments:
89
- - 0
90
- version: "0"
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
91
104
  requirements: []
92
-
93
105
  rubyforge_project:
94
- rubygems_version: 1.8.24
106
+ rubygems_version: 2.1.10
95
107
  signing_key:
96
- specification_version: 3
108
+ specification_version: 4
97
109
  summary: Rake tasks for all bard projects.
98
- test_files: []
99
-
110
+ test_files:
111
+ - spec/bard-rake_spec.rb
112
+ - spec/spec.opts
113
+ - spec/spec_helper.rb