Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Switching to new gemspec, but it ain't working

  • Loading branch information...
commit 00d8f2719fee73ca8e419e2ec25fb4d9612e92af 1 parent c571309
Ace Suares authored
View
33 Gemfile
@@ -1,36 +1,5 @@
source "http://rubygems.org"
-gem 'rails', "~> 3.1.0"
-
-gem 'rake'
-
-gem 'jquery-rails'
-
-gem 'mysql2'
-
-gem 'capistrano'
-
-#gem 'devise'
-
-#gem 'cancan'
-
+gemspec
gem 'will_paginate', :git => 'git://github.com/acesuares/will_paginate.git', :branch => 'rails3'
-
-gem 'tabs_on_rails'
-
gem 'ckeditor', :git => 'git://github.com/acesuares/ckeditor.git', :branch => 'master'
-
-gem 'carrierwave'
-
-gem "remotipart", "~> 1.0"
-
-gem "paper_trail"
-
-# Include everything needed to run rake, tests, features, etc.
-group :development do
- gem "rspec-rails"
- gem "shoulda", ">= 0"
- gem "bundler", "~> 1.0.0"
- gem "jeweler", "~> 1.5.2"
- gem "rcov", ">= 0"
-end
View
142 Gemfile.lock
@@ -14,151 +14,21 @@ GIT
specs:
will_paginate (3.0.pre3)
+PATH
+ remote: .
+ specs:
+ inline_forms (1.0.6)
+
GEM
remote: http://rubygems.org/
specs:
- actionmailer (3.1.0)
- actionpack (= 3.1.0)
- mail (~> 2.3.0)
- actionpack (3.1.0)
- activemodel (= 3.1.0)
- activesupport (= 3.1.0)
- builder (~> 3.0.0)
- erubis (~> 2.7.0)
- i18n (~> 0.6)
- rack (~> 1.3.2)
- rack-cache (~> 1.0.3)
- rack-mount (~> 0.8.2)
- rack-test (~> 0.6.1)
- sprockets (~> 2.0.0)
- activemodel (3.1.0)
- activesupport (= 3.1.0)
- bcrypt-ruby (~> 3.0.0)
- builder (~> 3.0.0)
- i18n (~> 0.6)
- activerecord (3.1.0)
- activemodel (= 3.1.0)
- activesupport (= 3.1.0)
- arel (~> 2.2.1)
- tzinfo (~> 0.3.29)
- activeresource (3.1.0)
- activemodel (= 3.1.0)
- activesupport (= 3.1.0)
- activesupport (3.1.0)
- multi_json (~> 1.0)
- arel (2.2.1)
- bcrypt-ruby (3.0.1)
- builder (3.0.0)
- capistrano (2.9.0)
- highline
- net-scp (>= 1.0.0)
- net-sftp (>= 2.0.0)
- net-ssh (>= 2.0.14)
- net-ssh-gateway (>= 1.1.0)
- carrierwave (0.5.7)
- activesupport (~> 3.0)
- diff-lcs (1.1.3)
- erubis (2.7.0)
- git (1.2.5)
- highline (1.6.2)
- hike (1.2.1)
- i18n (0.6.0)
- jeweler (1.5.2)
- bundler (~> 1.0.0)
- git (>= 1.2.5)
- rake
- jquery-rails (1.0.14)
- railties (~> 3.0)
- thor (~> 0.14)
- mail (2.3.0)
- i18n (>= 0.4.0)
- mime-types (~> 1.16)
- treetop (~> 1.4.8)
mime-types (1.16)
- multi_json (1.0.3)
- mysql2 (0.3.7)
- net-scp (1.0.4)
- net-ssh (>= 1.99.1)
- net-sftp (2.0.5)
- net-ssh (>= 2.0.9)
- net-ssh (2.2.1)
- net-ssh-gateway (1.1.0)
- net-ssh (>= 1.99.1)
orm_adapter (0.0.5)
- paper_trail (2.4.0)
- rails (~> 3)
- polyglot (0.3.2)
- rack (1.3.3)
- rack-cache (1.0.3)
- rack (>= 0.4)
- rack-mount (0.8.3)
- rack (>= 1.0.0)
- rack-ssl (1.3.2)
- rack
- rack-test (0.6.1)
- rack (>= 1.0)
- rails (3.1.0)
- actionmailer (= 3.1.0)
- actionpack (= 3.1.0)
- activerecord (= 3.1.0)
- activeresource (= 3.1.0)
- activesupport (= 3.1.0)
- bundler (~> 1.0)
- railties (= 3.1.0)
- railties (3.1.0)
- actionpack (= 3.1.0)
- activesupport (= 3.1.0)
- rack-ssl (~> 1.3.2)
- rake (>= 0.8.7)
- rdoc (~> 3.4)
- thor (~> 0.14.6)
- rake (0.9.2)
- rcov (0.9.10)
- rdoc (3.9.4)
- remotipart (1.0)
- rspec (2.6.0)
- rspec-core (~> 2.6.0)
- rspec-expectations (~> 2.6.0)
- rspec-mocks (~> 2.6.0)
- rspec-core (2.6.4)
- rspec-expectations (2.6.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.6.0)
- rspec-rails (2.6.1)
- actionpack (~> 3.0)
- activesupport (~> 3.0)
- railties (~> 3.0)
- rspec (~> 2.6.0)
- shoulda (2.11.3)
- sprockets (2.0.0)
- hike (~> 1.2)
- rack (~> 1.0)
- tilt (~> 1.1, != 1.3.0)
- tabs_on_rails (2.0.2)
- thor (0.14.6)
- tilt (1.3.3)
- treetop (1.4.10)
- polyglot
- polyglot (>= 0.3.1)
- tzinfo (0.3.30)
PLATFORMS
ruby
DEPENDENCIES
- bundler (~> 1.0.0)
- capistrano
- carrierwave
ckeditor!
- jeweler (~> 1.5.2)
- jquery-rails
- mysql2
- paper_trail
- rails (~> 3.1.0)
- rake
- rcov
- remotipart (~> 1.0)
- rspec-rails
- shoulda
- tabs_on_rails
+ inline_forms!
will_paginate!
View
53 Rakefile
@@ -1,53 +1,2 @@
-require 'rubygems'
require 'bundler'
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
-require 'rake'
-
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
- gem.name = "inline_forms"
- gem.homepage = "http://github.com/acesuares/inline_forms"
- gem.license = "MIT"
- gem.summary = %Q{Inline editing of forms.}
- gem.description = %Q{Inline Forms aims to ease the setup of forms that provide inline editing. The field list can be specified in the model.}
- gem.email = "ace@suares.an"
- gem.authors = ["Ace Suares"]
- # Include your dependencies below. Runtime dependencies are required when using your gem,
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
- # gem.add_development_dependency 'rspec', '> 1.2.3'
-end
-Jeweler::RubygemsDotOrgTasks.new
-
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-task :default => :test
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "inline_forms #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
+Bundler::GemHelper.install_tasks
View
200 inline_forms.gemspec
@@ -1,179 +1,39 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "inline_forms/version"
Gem::Specification.new do |s|
- s.name = %q{inline_forms}
- s.version = "1.0.5"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Ace Suares"]
- s.date = %q{2011-10-12}
+ s.name = "inline_forms"
+ s.version = InlineForms::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Ace Suares"]
+ s.email = ["ace@suares.com"]
+ s.homepage = %q{http://github.com/acesuares/inline_forms}
+ s.summary = %q{Inline editing of forms.}
s.description = %q{Inline Forms aims to ease the setup of forms that provide inline editing. The field list can be specified in the model.}
- s.email = %q{ace@suares.an}
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.rdoc"
- ]
- s.files = [
- ".document",
- "Gemfile",
- "Gemfile.lock",
- "LICENSE.txt",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "app/assets/images/close.png",
- "app/assets/images/glass_plate.gif",
- "app/assets/images/ui-bg_diagonals-medium_20_d34d17_40x40.png",
- "app/assets/images/ui-bg_flat_30_cccccc_40x100.png",
- "app/assets/images/ui-bg_flat_50_5c5c5c_40x100.png",
- "app/assets/images/ui-bg_gloss-wave_45_817865_500x100.png",
- "app/assets/images/ui-bg_gloss-wave_60_fece2f_500x100.png",
- "app/assets/images/ui-bg_gloss-wave_70_ffdd57_500x100.png",
- "app/assets/images/ui-bg_gloss-wave_90_fff9e5_500x100.png",
- "app/assets/images/ui-bg_highlight-soft_100_feeebd_1x100.png",
- "app/assets/images/ui-bg_inset-soft_30_ffffff_1x100.png",
- "app/assets/images/ui-icons_3d3d3d_256x240.png",
- "app/assets/images/ui-icons_bd7b00_256x240.png",
- "app/assets/images/ui-icons_d19405_256x240.png",
- "app/assets/images/ui-icons_eb990f_256x240.png",
- "app/assets/images/ui-icons_ed9f26_256x240.png",
- "app/assets/images/ui-icons_fadc7a_256x240.png",
- "app/assets/images/ui-icons_ffe180_256x240.png",
- "app/assets/javascripts/old/jquery-ui.js",
- "app/assets/javascripts/old/jquery-ui.min.js",
- "app/assets/javascripts/old/jquery.form.js",
- "app/assets/javascripts/old/jquery.js",
- "app/assets/javascripts/old/jquery.min.js",
- "app/assets/javascripts/old/jquery.remotipart.js",
- "app/assets/javascripts/old/jquery_ujs.js",
- "app/assets/javascripts/old/rails.js",
- "app/assets/javascripts/old/slider.js",
- "app/assets/stylesheets/devise.css",
- "app/assets/stylesheets/inline_forms.css",
- "app/assets/stylesheets/jquery-ui-sunny.css",
- "app/controllers/inline_forms_controller.rb",
- "app/helpers/form_elements/check_box.rb",
- "app/helpers/form_elements/check_list.rb",
- "app/helpers/form_elements/date.rb",
- "app/helpers/form_elements/datetime.rb",
- "app/helpers/form_elements/dropdown.rb",
- "app/helpers/form_elements/dropdown_with_integers.rb",
- "app/helpers/form_elements/dropdown_with_values.rb",
- "app/helpers/form_elements/file_field.rb",
- "app/helpers/form_elements/geo_code_curacao.rb",
- "app/helpers/form_elements/image_field.rb",
- "app/helpers/form_elements/info.rb",
- "app/helpers/form_elements/infoadmin.rb",
- "app/helpers/form_elements/question_list.rb",
- "app/helpers/form_elements/scale_with_integers.rb",
- "app/helpers/form_elements/scale_with_values.rb",
- "app/helpers/form_elements/slider_with_values.rb",
- "app/helpers/form_elements/text_area.rb",
- "app/helpers/form_elements/text_field.rb",
- "app/helpers/inline_forms_helper.rb",
- "app/models/geo_code_curacao.rb",
- "app/views/inline_forms/_edit.html.erb",
- "app/views/inline_forms/_header.html.erb",
- "app/views/inline_forms/_list.html.erb",
- "app/views/inline_forms/_new.html.erb",
- "app/views/inline_forms/_show.html.erb",
- "app/views/inline_forms/close.js.erb",
- "app/views/inline_forms/edit.js.erb",
- "app/views/inline_forms/list.js.erb",
- "app/views/inline_forms/new.js.erb",
- "app/views/inline_forms/show.js.erb",
- "app/views/inline_forms/show_element.js.erb",
- "app/views/inline_forms/update.js.erb",
- "app/views/layouts/inline_forms.html.erb",
- "inline_forms.gemspec",
- "lib/generators/inline_forms/USAGE",
- "lib/generators/inline_forms/inline_forms_generator.rb",
- "lib/generators/inline_forms/templates/_inline_forms_tabs.html.erb",
- "lib/generators/inline_forms/templates/controller.erb",
- "lib/generators/inline_forms/templates/migration.erb",
- "lib/generators/inline_forms/templates/model.erb",
- "lib/inline_forms.rb",
- "lib/otherstuff/Gemfile",
- "lib/otherstuff/add_roles.sql",
- "lib/otherstuff/database.yml",
- "lib/otherstuff/diffie",
- "lib/otherstuff/mk-ice-ts",
- "lib/otherstuff/mk-new-app",
- "lib/otherstuff/mk31-app",
- "lib/otherstuff/mkrole",
- "lib/otherstuff/roles_users.sql",
- "test/helper.rb",
- "test/test_inline_forms.rb"
- ]
- s.homepage = %q{http://github.com/acesuares/inline_forms}
- s.licenses = ["MIT"]
+ s.licenses = ["MIT"]
+
+ s.rubyforge_project = "inline_forms"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Inline editing of forms.}
- s.test_files = [
- "test/helper.rb",
- "test/test_inline_forms.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+# s.add_runtime_dependency(%q<rails>, ["~> 3.1.0"])
+# s.add_runtime_dependency(%q<rake>, [">= 0"])
+# s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
+# s.add_runtime_dependency(%q<mysql2>, [">= 0"])
+# s.add_runtime_dependency(%q<capistrano>, [">= 0"])
+# s.add_runtime_dependency(%q<tabs_on_rails>, [">= 0"])
+# s.add_runtime_dependency(%q<carrierwave>, [">= 0"])
+# s.add_runtime_dependency(%q<remotipart>, ["~> 1.0"])
+# s.add_runtime_dependency(%q<paper_trail>, [">= 0"])
+# s.add_development_dependency(%q<rspec-rails>, [">= 0"])
+# s.add_development_dependency(%q<shoulda>, [">= 0"])
+# s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
+# s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
+# s.add_development_dependency(%q<rcov>, [">= 0"])
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rails>, ["~> 3.1.0"])
- s.add_runtime_dependency(%q<rake>, [">= 0"])
- s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
- s.add_runtime_dependency(%q<mysql2>, [">= 0"])
- s.add_runtime_dependency(%q<capistrano>, [">= 0"])
- s.add_runtime_dependency(%q<will_paginate>, [">= 0"])
- s.add_runtime_dependency(%q<tabs_on_rails>, [">= 0"])
- s.add_runtime_dependency(%q<ckeditor>, [">= 0"])
- s.add_runtime_dependency(%q<carrierwave>, [">= 0"])
- s.add_runtime_dependency(%q<remotipart>, ["~> 1.0"])
- s.add_runtime_dependency(%q<paper_trail>, [">= 0"])
- s.add_development_dependency(%q<rspec-rails>, [">= 0"])
- s.add_development_dependency(%q<shoulda>, [">= 0"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
- s.add_development_dependency(%q<rcov>, [">= 0"])
- else
- s.add_dependency(%q<rails>, ["~> 3.1.0"])
- s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<jquery-rails>, [">= 0"])
- s.add_dependency(%q<mysql2>, [">= 0"])
- s.add_dependency(%q<capistrano>, [">= 0"])
- s.add_dependency(%q<will_paginate>, [">= 0"])
- s.add_dependency(%q<tabs_on_rails>, [">= 0"])
- s.add_dependency(%q<ckeditor>, [">= 0"])
- s.add_dependency(%q<carrierwave>, [">= 0"])
- s.add_dependency(%q<remotipart>, ["~> 1.0"])
- s.add_dependency(%q<paper_trail>, [">= 0"])
- s.add_dependency(%q<rspec-rails>, [">= 0"])
- s.add_dependency(%q<shoulda>, [">= 0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
- s.add_dependency(%q<rcov>, [">= 0"])
- end
- else
- s.add_dependency(%q<rails>, ["~> 3.1.0"])
- s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<jquery-rails>, [">= 0"])
- s.add_dependency(%q<mysql2>, [">= 0"])
- s.add_dependency(%q<capistrano>, [">= 0"])
- s.add_dependency(%q<will_paginate>, [">= 0"])
- s.add_dependency(%q<tabs_on_rails>, [">= 0"])
- s.add_dependency(%q<ckeditor>, [">= 0"])
- s.add_dependency(%q<carrierwave>, [">= 0"])
- s.add_dependency(%q<remotipart>, ["~> 1.0"])
- s.add_dependency(%q<paper_trail>, [">= 0"])
- s.add_dependency(%q<rspec-rails>, [">= 0"])
- s.add_dependency(%q<shoulda>, [">= 0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
- s.add_dependency(%q<rcov>, [">= 0"])
- end
end
View
2  lib/inline_forms.rb
@@ -1,4 +1,4 @@
-puts 'loading inline_forms...'
+puts "loading inline_forms...#{InlineForms.VERSION}"
module InlineForms
View
3  lib/inline_forms/version.rb
@@ -0,0 +1,3 @@
+module InlineForms
+ VERSION = "1.0.6"
+end
View
0  VERSION → version
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.