rails-fort 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6536ab073d7d01b6fece271062b81039e3f149d9
4
- data.tar.gz: 989f70205c3fcacaec4b0f865a495c6138b4c2af
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjA4YzI5ZjMyYzFlMWVmZTVjOWM0NDk2OTRmNjFlNGI5Zjk4Y2JhMw==
5
+ data.tar.gz: !binary |-
6
+ ODYwNDIxNGYyMmZiYzQ5YmRlMDczYzY5MjY1MWQzZTM5YjNjYmQxZg==
5
7
  SHA512:
6
- metadata.gz: 12fe037ccf6e322a3761a53a8c30fc4396bb20552eeb2ff704df6d86944dc417e4d537959afe2184f06f0d6d06df8ca436e8d6fa55c368ff10f967103c829d17
7
- data.tar.gz: c60f938d4b30c70540cbf22b978e3881fe4e4fdb05060361c6ce098eb7098d246813aca0b556918ac4a80d9583c70778407b85a99a62295e9e511203ac69c9b2
8
+ metadata.gz: !binary |-
9
+ Y2U1NTYzY2MwYTJjNWY2N2Y3N2Y0ZGUwNDg4MmEyNzA3NjFhYjhlYmE1NDAy
10
+ ODM5MTc2MjI3NWM0NzY5MGM4MjEwMTE0Y2ZkZDlmYzk2NWU2MWU5MTJiNGEy
11
+ MDY5NGJiZmNhZGE5MDBjZmMwNGJkMTA3YTliZDU0NjQ0NDQ3ODI=
12
+ data.tar.gz: !binary |-
13
+ NmMxNjM4OTM0NWJhODY3MjVkMDQ0YzgwY2NhOTY5YWYzYWVmNzljNjMwNWVj
14
+ MTA0YTk4YzI2MzEyMDliMWEyZjE4ZDNkYzBiZWQzNTljMTRjNzBiMmVjYjE1
15
+ YWNjMzVhNjA0YTE4N2JiOTliZmQ2YmQwMmZhMTc2MTczM2FjY2E=
@@ -2,6 +2,11 @@
2
2
 
3
3
  $(document).ready(function(){
4
4
  $("form").wrap( "<div class='form'></div>" );
5
+ $("input[type='hidden']").addClass('ignore');
6
+ $('input, textarea, select').each(function() {
7
+ if ($(this).val().length != 0 )
8
+ $(this).addClass( "ignore" );
9
+ });
5
10
  <% path_to_file = "#{Rails.root}/config/fort.yml" %>
6
11
  <% if File.exist?(path_to_file) %>
7
12
  fortconfig = <%= JSON.dump(YAML.load_file(path_to_file)) %>;
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module Fort
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-fort
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ethiraj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-15 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  description: Modern progress bar for form completion
@@ -45,8 +45,8 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - ".gitignore"
49
- - ".travis.yml"
48
+ - .gitignore
49
+ - .travis.yml
50
50
  - CODE_OF_CONDUCT.md
51
51
  - Gemfile
52
52
  - LICENSE.txt
@@ -72,12 +72,12 @@ require_paths:
72
72
  - lib
73
73
  required_ruby_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []