This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating gemspec, readme, Gemfile, RSpec, and rvmrc
- Loading branch information
Showing
16 changed files
with
58 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
pkg/* | ||
*.gem | ||
*.swp | ||
**/*.swp | ||
*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rvm use 1.9.2@nested_form --create |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
source :gemcutter | ||
source "http://rubygems.org" | ||
|
||
# Specify your gem's dependencies in nested_form.gemspec | ||
gemspec | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
require 'bundler' | ||
Bundler::GemHelper.install_tasks | ||
|
||
require 'rubygems' | ||
require 'rake' | ||
require 'spec/rake/spectask' | ||
|
||
spec_files = Rake::FileList["spec/**/*_spec.rb"] | ||
require 'rspec/core/rake_task' | ||
|
||
desc "Run specs" | ||
Spec::Rake::SpecTask.new do |t| | ||
t.spec_files = spec_files | ||
t.spec_opts = ["-c"] | ||
desc "Run RSpec" | ||
RSpec::Core::RakeTask.new do |t| | ||
t.verbose = false | ||
end | ||
|
||
task :default => :spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
require "nested_form/view_helper" | ||
|
||
module NestedForm | ||
|
||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ def fields_for_nested_model(name, association, args, block) | |
output | ||
end | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ def after_nested_form(association, &block) | |
|
||
class ActionView::Base | ||
include NestedForm::ViewHelper | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,19 @@ | ||
# -*- encoding: utf-8 -*- | ||
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__) | ||
require 'nested_form/version' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "nested_form" | ||
s.version = NestedForm::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.version = "0.0.0" | ||
s.authors = ["Ryan Bates", "Andrea Singh"] | ||
s.email = ["info@madebydna.com"] | ||
s.homepage = "http://github.com/madebydna/nested_form" | ||
s.email = "ryan@railscasts.com" | ||
s.homepage = "http://github.com/ryanb/nested_form" | ||
s.summary = "Gem to conveniently handle multiple models in a single form." | ||
s.description = "Gem to conveniently handle multiple models in a single form. Rails 2 plugin by Ryan Bates converted into a gem." | ||
s.description = "Gem to conveniently handle multiple models in a single form with Rails 3 and jQuery or Prototype." | ||
|
||
s.files = Dir["{lib,spec}/**/*", "[A-Z]*"] - ["Gemfile.lock"] | ||
s.require_path = "lib" | ||
|
||
s.required_rubygems_version = ">= 1.3.6" | ||
s.rubyforge_project = "nested_form" | ||
|
||
s.add_development_dependency "bundler", ">= 1.0.0.rc.5" | ||
s.add_development_dependency "rspec", "~> 2.0.0.beta.22" | ||
s.add_development_dependency "rr" | ||
s.add_development_dependency "rspec", "~> 2.1.0" | ||
s.add_development_dependency "rr", "~> 0.10.11" # 1.0.0 has respond_to? issues: http://github.com/btakita/rr/issues/issue/43 | ||
s.add_development_dependency "rails", "~> 3.0.0" | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/} | ||
s.require_path = 'lib' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters