anaf_habtm 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -33,10 +33,12 @@ begin
33
33
  require 'jeweler'
34
34
  Jeweler::Tasks.new do |s|
35
35
  s.name = "anaf_habtm"
36
- s.version = "0.0.1"
36
+ s.version = "0.0.2"
37
37
  s.author = "Tyler Gannon"
38
+ s.email = "t--g__a--nnon@gmail.com"
38
39
  s.homepage = "http://github.com/tylergannon/anaf_habtm"
39
40
  s.platform = Gem::Platform::RUBY
41
+ s.description = "accepts_nested_attributes_for habtm"
40
42
  s.summary = "accepts_nested_attributes_for habtm"
41
43
  s.files = PKG_FILES.to_a
42
44
  s.require_path = "lib"
Binary file
data/anaf_habtm.gemspec CHANGED
@@ -5,11 +5,13 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{anaf_habtm}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
12
12
  s.date = %q{2010-07-09}
13
+ s.description = %q{accepts_nested_attributes_for habtm}
14
+ s.email = %q{t--g__a--nnon@gmail.com}
13
15
  s.extra_rdoc_files = [
14
16
  "README"
15
17
  ]
@@ -18,14 +20,15 @@ Gem::Specification.new do |s|
18
20
  "MIT-LICENSE",
19
21
  "README",
20
22
  "Rakefile",
23
+ "anaf_habtm-0.0.1.gem",
21
24
  "anaf_habtm.gemspec",
22
25
  "assets/nested_attributes.js",
23
26
  "install.rb",
24
27
  "lib/active_record_extensions.rb",
25
28
  "lib/anaf_habtm.rb",
26
29
  "lib/application_helper_methods.rb",
30
+ "lib/generators/anaf_habtm_generator.rb",
27
31
  "lib/hash.rb",
28
- "lib/tasks/install.rake",
29
32
  "rails/init.rb",
30
33
  "test/anaf_habtm_test.rb",
31
34
  "test/test_helper.rb",
@@ -0,0 +1,8 @@
1
+ class AnafHabtmGenerator < Rails::Generators::Base
2
+ source_root File.expand_path("../assets", __FILE__)
3
+
4
+ def copy_initializer_file
5
+ copy_file "nested_attributes.rb", "public/javascripts/nested_attributes.rb"
6
+ end
7
+ end
8
+
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: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tyler Gannon
@@ -19,8 +19,8 @@ date: 2010-07-09 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description:
23
- email:
22
+ description: accepts_nested_attributes_for habtm
23
+ email: t--g__a--nnon@gmail.com
24
24
  executables: []
25
25
 
26
26
  extensions: []
@@ -32,14 +32,15 @@ files:
32
32
  - MIT-LICENSE
33
33
  - README
34
34
  - Rakefile
35
+ - anaf_habtm-0.0.1.gem
35
36
  - anaf_habtm.gemspec
36
37
  - assets/nested_attributes.js
37
38
  - install.rb
38
39
  - lib/active_record_extensions.rb
39
40
  - lib/anaf_habtm.rb
40
41
  - lib/application_helper_methods.rb
42
+ - lib/generators/anaf_habtm_generator.rb
41
43
  - lib/hash.rb
42
- - lib/tasks/install.rake
43
44
  - rails/init.rb
44
45
  - test/anaf_habtm_test.rb
45
46
  - test/test_helper.rb
@@ -1,7 +0,0 @@
1
- namespace :anaf_habtm do
2
- task :install do
3
- cp 'vendor/plugins/anaf_habtm/assets/nested_attributes.js', 'public/javascripts'
4
- end
5
- end
6
-
7
-