formize 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - 1.9.3
5
+ script: "bundle exec rake test"
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "rake", "~> 0.8.7"
4
+ gem "activesupport", "~> 2.3"
5
+ gem "actionpack", "~> 2.3"
6
+
7
+ group :development do
8
+ gem "jeweler", "~> 1.6.4"
9
+ gem "rcov", ">= 0"
10
+ end
data/README.rdoc CHANGED
@@ -57,7 +57,7 @@ or:
57
57
  =formize_form :lines
58
58
 
59
59
 
60
- == Contributing to Formize
60
+ == Contributing to Formize http://travis-ci.org/burisu/formize.png
61
61
 
62
62
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
63
63
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
data/Rakefile CHANGED
@@ -1,11 +1,13 @@
1
1
  # encoding: utf-8
2
2
  # Used for a bug with ruby 1.9.1
3
3
  # http://rubyforge.org/tracker/index.php?func=detail&aid=28920&group_id=1513&atid=5921
4
- require 'psych'
5
4
 
6
5
  require 'rubygems'
7
6
  # require 'rake'
8
- gem 'rake', '0.8.7'
7
+ # gem 'rake', '0.8.7'
8
+ unless RUBY_VERSION.to_s.match(/^1.8/)
9
+ require 'psych'
10
+ end
9
11
 
10
12
  require 'jeweler'
11
13
  Jeweler::Tasks.new do |gem|
@@ -17,23 +19,7 @@ Jeweler::Tasks.new do |gem|
17
19
  gem.description = "Like simple_form or formtastic, it aims to handle easily forms but taking in account AJAX and HTML5 on depending fields mainly."
18
20
  gem.email = "brice.texier@ekylibre.org"
19
21
  gem.authors = ["Brice Texier"]
20
- # Include your dependencies below. Runtime dependencies are required when using your gem,
21
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
22
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
23
- # gem.add_development_dependency 'rspec', '> 1.2.3'
24
- # gem.add_development_dependency "bundler", "~> 1.0.0"
25
- # Include your dependencies below. Runtime dependencies are required when using your gem,
26
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
27
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
28
- # gem.add_development_dependency 'rspec', '> 1.2.3'
29
- gem.add_development_dependency "jeweler", "~> 1.6.4"
30
- # Include your dependencies below. Runtime dependencies are required when using your gem,
31
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
32
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
33
- # gem.add_development_dependency 'rspec', '> 1.2.3'
34
- gem.add_development_dependency "rcov", ">= 0"
35
- gem.add_runtime_dependency "actionpack", ">= 0"
36
- gem.add_runtime_dependency "activesupport", ">= 0"
22
+ # dependencies defined in Gemfile
37
23
  end
38
24
  Jeweler::RubygemsDotOrgTasks.new
39
25
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.5
data/formize.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{formize}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Brice Texier}]
@@ -18,6 +18,8 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".travis.yml",
22
+ "Gemfile",
21
23
  "LICENSE.txt",
22
24
  "README.rdoc",
23
25
  "Rakefile",
@@ -47,21 +49,24 @@ Gem::Specification.new do |s|
47
49
  s.specification_version = 3
48
50
 
49
51
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_runtime_dependency(%q<rake>, ["~> 0.8.7"])
53
+ s.add_runtime_dependency(%q<activesupport>, ["~> 2.3"])
54
+ s.add_runtime_dependency(%q<actionpack>, ["~> 2.3"])
50
55
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
51
56
  s.add_development_dependency(%q<rcov>, [">= 0"])
52
- s.add_runtime_dependency(%q<actionpack>, [">= 0"])
53
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
54
57
  else
58
+ s.add_dependency(%q<rake>, ["~> 0.8.7"])
59
+ s.add_dependency(%q<activesupport>, ["~> 2.3"])
60
+ s.add_dependency(%q<actionpack>, ["~> 2.3"])
55
61
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
56
62
  s.add_dependency(%q<rcov>, [">= 0"])
57
- s.add_dependency(%q<actionpack>, [">= 0"])
58
- s.add_dependency(%q<activesupport>, [">= 0"])
59
63
  end
60
64
  else
65
+ s.add_dependency(%q<rake>, ["~> 0.8.7"])
66
+ s.add_dependency(%q<activesupport>, ["~> 2.3"])
67
+ s.add_dependency(%q<actionpack>, ["~> 2.3"])
61
68
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
62
69
  s.add_dependency(%q<rcov>, [">= 0"])
63
- s.add_dependency(%q<actionpack>, [">= 0"])
64
- s.add_dependency(%q<activesupport>, [">= 0"])
65
70
  end
66
71
  end
67
72
 
data/lib/formize.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'rubygems'
2
+ require "bundler/setup"
1
3
  require 'active_support'
2
4
  # Formize provides controller's side defined forms.
3
5
  module Formize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,49 +12,60 @@ cert_chain: []
12
12
  date: 2011-08-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: jeweler
16
- requirement: &20714720 !ruby/object:Gem::Requirement
15
+ name: rake
16
+ requirement: &17631620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 1.6.4
22
- type: :development
21
+ version: 0.8.7
22
+ type: :runtime
23
23
  prerelease: false
24
- version_requirements: *20714720
24
+ version_requirements: *17631620
25
25
  - !ruby/object:Gem::Dependency
26
- name: rcov
27
- requirement: &20713980 !ruby/object:Gem::Requirement
26
+ name: activesupport
27
+ requirement: &17630920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
- - - ! '>='
30
+ - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :development
32
+ version: '2.3'
33
+ type: :runtime
34
34
  prerelease: false
35
- version_requirements: *20713980
35
+ version_requirements: *17630920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: actionpack
38
- requirement: &20279180 !ruby/object:Gem::Requirement
38
+ requirement: &17630020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ! '>='
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: '0'
43
+ version: '2.3'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *20279180
46
+ version_requirements: *17630020
47
47
  - !ruby/object:Gem::Dependency
48
- name: activesupport
49
- requirement: &20277520 !ruby/object:Gem::Requirement
48
+ name: jeweler
49
+ requirement: &17629320 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.4
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *17629320
58
+ - !ruby/object:Gem::Dependency
59
+ name: rcov
60
+ requirement: &17628360 !ruby/object:Gem::Requirement
50
61
  none: false
51
62
  requirements:
52
63
  - - ! '>='
53
64
  - !ruby/object:Gem::Version
54
65
  version: '0'
55
- type: :runtime
66
+ type: :development
56
67
  prerelease: false
57
- version_requirements: *20277520
68
+ version_requirements: *17628360
58
69
  description: Like simple_form or formtastic, it aims to handle easily forms but taking
59
70
  in account AJAX and HTML5 on depending fields mainly.
60
71
  email: brice.texier@ekylibre.org
@@ -65,6 +76,8 @@ extra_rdoc_files:
65
76
  - README.rdoc
66
77
  files:
67
78
  - .document
79
+ - .travis.yml
80
+ - Gemfile
68
81
  - LICENSE.txt
69
82
  - README.rdoc
70
83
  - Rakefile