baldwin 0.1.1 → 0.2.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/lib/baldwin/{tasks.rb → gem_tasks.rb} +0 -0
- data/lib/baldwin/installer.rb +1 -5
- data/lib/baldwin/version.rb +1 -1
- metadata +3 -3
|
File without changes
|
data/lib/baldwin/installer.rb
CHANGED
|
@@ -34,8 +34,6 @@ EOS
|
|
|
34
34
|
gsub_file 'Rakefile', /^(\s*)([^#|\n]*#{flag})/, '\1# \2'
|
|
35
35
|
|
|
36
36
|
append_to_file 'Rakefile', <<-EOS
|
|
37
|
-
require 'baldwin/tasks'
|
|
38
|
-
|
|
39
37
|
RSpec::Core::RakeTask.new :spec => [ :'baldwin:env', :'baldwin:rails' ]
|
|
40
38
|
|
|
41
39
|
desc "Run specs for all supported rails versions"
|
|
@@ -51,9 +49,7 @@ EOS
|
|
|
51
49
|
def add_baldwin_setup_to_spec_helper
|
|
52
50
|
prepend_to_file 'spec/spec_helper.rb', <<-EOS
|
|
53
51
|
require 'baldwin/setup'
|
|
54
|
-
# require test
|
|
55
|
-
# require 'rspec/rails'
|
|
56
|
-
# require 'shoulda'
|
|
52
|
+
# require test dependencies *after* baldwin/setup
|
|
57
53
|
EOS
|
|
58
54
|
end
|
|
59
55
|
|
data/lib/baldwin/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: baldwin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-06-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -73,10 +73,10 @@ files:
|
|
|
73
73
|
- Rakefile
|
|
74
74
|
- baldwin.gemspec
|
|
75
75
|
- lib/baldwin.rb
|
|
76
|
+
- lib/baldwin/gem_tasks.rb
|
|
76
77
|
- lib/baldwin/installer.rb
|
|
77
78
|
- lib/baldwin/rails_template.rb
|
|
78
79
|
- lib/baldwin/setup.rb
|
|
79
|
-
- lib/baldwin/tasks.rb
|
|
80
80
|
- lib/baldwin/version.rb
|
|
81
81
|
homepage: https://github.com/jeremyruppel/baldwin
|
|
82
82
|
licenses: []
|