anaf_habtm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -1
- data/anaf_habtm.gemspec +1 -1
- data/lib/generators/anaf_habtm/anaf_habtm_generator.rb +3 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -2,6 +2,8 @@ require 'rake'
|
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rake/rdoctask'
|
4
4
|
|
5
|
+
VERSION = "0.0.4"
|
6
|
+
|
5
7
|
desc 'Default: run unit tests.'
|
6
8
|
task :default => :test
|
7
9
|
|
@@ -36,7 +38,7 @@ begin
|
|
36
38
|
require 'jeweler'
|
37
39
|
Jeweler::Tasks.new do |s|
|
38
40
|
s.name = "anaf_habtm"
|
39
|
-
s.version =
|
41
|
+
s.version = VERSION
|
40
42
|
s.author = "Tyler Gannon"
|
41
43
|
s.email = "t--g__a--nnon@gmail.com"
|
42
44
|
s.homepage = "http://github.com/tylergannon/anaf_habtm"
|
data/anaf_habtm.gemspec
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
1
3
|
class AnafHabtmGenerator < Rails::Generators::Base
|
2
|
-
source_root File.expand_path("assets", __FILE__)
|
4
|
+
self.source_root File.expand_path("assets", __FILE__)
|
3
5
|
|
4
6
|
def copy_initializer_file
|
5
7
|
copy_file "nested_attributes.rb", "public/javascripts/nested_attributes.rb"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anaf_habtm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tyler Gannon
|