beet 0.6.1 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/beet.gemspec +2 -2
- data/lib/beet/file_system.rb +1 -1
- data/lib/beet/rails.rb +2 -1
- data/lib/beet/recipes/rails3/db/mysql.rb +4 -0
- data/lib/beet/recipes/rails3/js/jquery.rb +3 -7
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.3
|
data/beet.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{beet}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jack Dempsey"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-03}
|
13
13
|
s.default_executable = %q{beet}
|
14
14
|
s.email = %q{jack.dempsey@gmail.com}
|
15
15
|
s.executables = ["beet"]
|
data/lib/beet/file_system.rb
CHANGED
@@ -105,7 +105,7 @@ module Beet
|
|
105
105
|
#
|
106
106
|
def append_file(relative_destination, data)
|
107
107
|
path = destination_path(relative_destination)
|
108
|
-
File.open(path, 'ab') { |file| file.write(data) }
|
108
|
+
File.open(path, 'ab') { |file| file.write("\n#{data}") }
|
109
109
|
end
|
110
110
|
|
111
111
|
# Add text after matching line
|
data/lib/beet/rails.rb
CHANGED
@@ -59,7 +59,8 @@ module Beet
|
|
59
59
|
@_gem_group = nil
|
60
60
|
end
|
61
61
|
|
62
|
-
#
|
62
|
+
# TODO prevent same gem from being added twice
|
63
|
+
# Passes gem info along to gemfile method that handles adding it in
|
63
64
|
def gem(name, options = {})
|
64
65
|
log 'gem', name
|
65
66
|
group = options.delete(:group) || @_gem_group
|
@@ -1,9 +1,5 @@
|
|
1
|
-
|
2
|
-
FileUtils.rm("public/javascripts/#{filename}.js")
|
3
|
-
end
|
1
|
+
gem "jquery-rails"
|
4
2
|
|
5
|
-
run "
|
6
|
-
run "curl -L http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js > public/javascripts/jquery.form.js"
|
7
|
-
run "curl -L http://github.com/rails/jquery-ujs/raw/master/src/rails.js > public/javascripts/rails.js"
|
3
|
+
run "bundle install"
|
8
4
|
|
9
|
-
|
5
|
+
generate "jquery:install --ui"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 3
|
10
|
+
version: 0.6.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jack Dempsey
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-03 00:00:00 -04:00
|
19
19
|
default_executable: beet
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|