jquery_dynamic_fields 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/.gitignore +1 -0
  2. data/jquery_dynamic_fields.gemspec +0 -7
  3. data/lib/jquery_dynamic_fields/version.rb +1 -1
  4. metadata +11 -314
  5. data/.rspec +0 -1
  6. data/bin/autospec +0 -16
  7. data/bin/erubis +0 -16
  8. data/bin/guard +0 -16
  9. data/bin/htmldiff +0 -16
  10. data/bin/launchy +0 -16
  11. data/bin/ldiff +0 -16
  12. data/bin/nokogiri +0 -16
  13. data/bin/rackup +0 -16
  14. data/bin/rails +0 -16
  15. data/bin/rake +0 -16
  16. data/bin/rake2thor +0 -16
  17. data/bin/ri +0 -16
  18. data/bin/rspec +0 -16
  19. data/bin/thor +0 -16
  20. data/bin/tilt +0 -16
  21. data/bin/tt +0 -16
  22. data/spec/dummy/.gitignore +0 -15
  23. data/spec/dummy/Gemfile +0 -46
  24. data/spec/dummy/README.rdoc +0 -261
  25. data/spec/dummy/Rakefile +0 -7
  26. data/spec/dummy/app/assets/images/rails.png +0 -0
  27. data/spec/dummy/app/assets/javascripts/application.js +0 -16
  28. data/spec/dummy/app/assets/javascripts/tasklists.js.coffee +0 -3
  29. data/spec/dummy/app/assets/javascripts/tasks.js.coffee +0 -3
  30. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  31. data/spec/dummy/app/assets/stylesheets/scaffolds.css.scss +0 -56
  32. data/spec/dummy/app/assets/stylesheets/tasklists.css.scss +0 -3
  33. data/spec/dummy/app/assets/stylesheets/tasks.css.scss +0 -3
  34. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  35. data/spec/dummy/app/controllers/tasklists_controller.rb +0 -83
  36. data/spec/dummy/app/controllers/tasks_controller.rb +0 -83
  37. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  38. data/spec/dummy/app/helpers/tasklists_helper.rb +0 -2
  39. data/spec/dummy/app/helpers/tasks_helper.rb +0 -2
  40. data/spec/dummy/app/mailers/.gitkeep +0 -0
  41. data/spec/dummy/app/models/.gitkeep +0 -0
  42. data/spec/dummy/app/models/task.rb +0 -4
  43. data/spec/dummy/app/models/tasklist.rb +0 -5
  44. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  45. data/spec/dummy/app/views/tasklists/_form.html.erb +0 -30
  46. data/spec/dummy/app/views/tasklists/_task_fields.html.erb +0 -7
  47. data/spec/dummy/app/views/tasklists/edit.html.erb +0 -6
  48. data/spec/dummy/app/views/tasklists/index.html.erb +0 -21
  49. data/spec/dummy/app/views/tasklists/new.html.erb +0 -5
  50. data/spec/dummy/app/views/tasklists/show.html.erb +0 -5
  51. data/spec/dummy/bin/autospec +0 -16
  52. data/spec/dummy/bin/erubis +0 -16
  53. data/spec/dummy/bin/guard +0 -16
  54. data/spec/dummy/bin/htmldiff +0 -16
  55. data/spec/dummy/bin/ldiff +0 -16
  56. data/spec/dummy/bin/nokogiri +0 -16
  57. data/spec/dummy/bin/rackup +0 -16
  58. data/spec/dummy/bin/rails +0 -16
  59. data/spec/dummy/bin/rake +0 -16
  60. data/spec/dummy/bin/rake2thor +0 -16
  61. data/spec/dummy/bin/ri +0 -16
  62. data/spec/dummy/bin/rspec +0 -16
  63. data/spec/dummy/bin/sass +0 -16
  64. data/spec/dummy/bin/sass-convert +0 -16
  65. data/spec/dummy/bin/scss +0 -16
  66. data/spec/dummy/bin/thor +0 -16
  67. data/spec/dummy/bin/tilt +0 -16
  68. data/spec/dummy/bin/tt +0 -16
  69. data/spec/dummy/config.ru +0 -4
  70. data/spec/dummy/config/application.rb +0 -68
  71. data/spec/dummy/config/boot.rb +0 -6
  72. data/spec/dummy/config/database.yml +0 -25
  73. data/spec/dummy/config/environment.rb +0 -5
  74. data/spec/dummy/config/environments/development.rb +0 -37
  75. data/spec/dummy/config/environments/production.rb +0 -67
  76. data/spec/dummy/config/environments/test.rb +0 -37
  77. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  78. data/spec/dummy/config/initializers/inflections.rb +0 -15
  79. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  80. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  81. data/spec/dummy/config/initializers/session_store.rb +0 -8
  82. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  83. data/spec/dummy/config/locales/en.yml +0 -5
  84. data/spec/dummy/config/routes.rb +0 -59
  85. data/spec/dummy/db/migrate/20120618180254_create_tasklists.rb +0 -9
  86. data/spec/dummy/db/migrate/20120618180402_create_tasks.rb +0 -10
  87. data/spec/dummy/db/schema.rb +0 -29
  88. data/spec/dummy/db/seeds.rb +0 -7
  89. data/spec/dummy/lib/assets/.gitkeep +0 -0
  90. data/spec/dummy/lib/tasks/.gitkeep +0 -0
  91. data/spec/dummy/log/.gitkeep +0 -0
  92. data/spec/dummy/public/404.html +0 -26
  93. data/spec/dummy/public/422.html +0 -26
  94. data/spec/dummy/public/500.html +0 -25
  95. data/spec/dummy/public/favicon.ico +0 -0
  96. data/spec/dummy/public/index.html +0 -241
  97. data/spec/dummy/public/robots.txt +0 -5
  98. data/spec/dummy/script/rails +0 -6
  99. data/spec/dummy/vendor/assets/javascripts/.gitkeep +0 -0
  100. data/spec/dummy/vendor/assets/stylesheets/.gitkeep +0 -0
  101. data/spec/dummy/vendor/plugins/.gitkeep +0 -0
  102. data/spec/requests/jquery_dynamic_fields_spec.rb +0 -22
  103. data/spec/spec_helper.rb +0 -44
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-Agent: *
5
- # Disallow: /
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'
File without changes
File without changes
File without changes
@@ -1,22 +0,0 @@
1
- require File.expand_path("../../spec_helper", __FILE__)
2
-
3
- describe "JqueryDynamicFields" do
4
- describe "adding fields" do
5
- it "adds a field", js: true do
6
- visit new_tasklist_path
7
- click_link "add a task"
8
- page.should have_selector "label", text: "Label"
9
- end
10
- end
11
-
12
- describe "removing fields" do
13
- it "removes a field", js: true do
14
- tasklist = Tasklist.create!(title: "Foo")
15
- Task.create!(label: "bar", tasklist_id: tasklist.id)
16
- visit edit_tasklist_path(tasklist)
17
- page.should have_selector "input", value: "bar"
18
- click_link "remove"
19
- page.should_not have_content "bar"
20
- end
21
- end
22
- end
data/spec/spec_helper.rb DELETED
@@ -1,44 +0,0 @@
1
- # This file is copied to spec/ when you run 'rails generate rspec:install'
2
- ENV["RAILS_ENV"] ||= 'test'
3
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
- require 'rspec/rails'
5
- require 'rspec/autorun'
6
- require 'capybara/rspec'
7
-
8
- # Requires supporting ruby files with custom matchers and macros, etc,
9
- # in spec/support/ and its subdirectories.
10
- Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
11
-
12
- RSpec.configure do |config|
13
- # ## Mock Framework
14
- #
15
- # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
16
- #
17
- # config.mock_with :mocha
18
- # config.mock_with :flexmock
19
- # config.mock_with :rr
20
-
21
- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
22
-
23
- # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
- # examples within a transaction, remove the following line or assign false
25
- # instead of true.
26
- config.use_transactional_fixtures = false
27
-
28
- config.before(:suite) do
29
- DatabaseCleaner.strategy = :truncation
30
- end
31
-
32
- config.before(:each) do
33
- DatabaseCleaner.start
34
- end
35
-
36
- config.after(:each) do
37
- DatabaseCleaner.clean
38
- end
39
-
40
- # If true, the base class of anonymous controllers will be inferred
41
- # automatically. This will be the default behavior in future versions of
42
- # rspec-rails.
43
- config.infer_base_class_for_anonymous_controllers = false
44
- end