formtastic-fake_input 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +77 -0
- data/lib/formtastic/inputs/fake_input.rb +5 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6b03abeb821e85735b5d8863d4406a4c9f1d0ed9b207a04606bf92a87867e9b
|
4
|
+
data.tar.gz: 5f85889806542765e5ac6e9eb809ae2d1d9fddd1a475ce48433310be7aa2ba04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b478f977c05e0bbef3d376172fc0a8b70c51d1f946b3af50ae61f4e0a26c1a15187d39f1e19d557b42dd17723756cf83e415830a68d6ccc69d4b3e6b4e1bd392
|
7
|
+
data.tar.gz: 3010599b9384eaf3d2e143a37fe4fcd479173686adfbe87e6edb352a00369443db2169b497a738ef8bbf5eb884546541b46e32fc08d5d864bbfd950540710f14
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
formtastic-fake_input (0.0.2)
|
5
|
+
formtastic (~> 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionpack (5.2.1)
|
11
|
+
actionview (= 5.2.1)
|
12
|
+
activesupport (= 5.2.1)
|
13
|
+
rack (~> 2.0)
|
14
|
+
rack-test (>= 0.6.3)
|
15
|
+
rails-dom-testing (~> 2.0)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
+
actionview (5.2.1)
|
18
|
+
activesupport (= 5.2.1)
|
19
|
+
builder (~> 3.1)
|
20
|
+
erubi (~> 1.4)
|
21
|
+
rails-dom-testing (~> 2.0)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
+
activesupport (5.2.1)
|
24
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
+
i18n (>= 0.7, < 2)
|
26
|
+
minitest (~> 5.1)
|
27
|
+
tzinfo (~> 1.1)
|
28
|
+
builder (3.2.3)
|
29
|
+
concurrent-ruby (1.0.5)
|
30
|
+
crass (1.0.4)
|
31
|
+
diff-lcs (1.3)
|
32
|
+
erubi (1.7.1)
|
33
|
+
formtastic (3.1.5)
|
34
|
+
actionpack (>= 3.2.13)
|
35
|
+
i18n (1.1.0)
|
36
|
+
concurrent-ruby (~> 1.0)
|
37
|
+
loofah (2.2.2)
|
38
|
+
crass (~> 1.0.2)
|
39
|
+
nokogiri (>= 1.5.9)
|
40
|
+
mini_portile2 (2.3.0)
|
41
|
+
minitest (5.11.3)
|
42
|
+
nokogiri (1.8.4)
|
43
|
+
mini_portile2 (~> 2.3.0)
|
44
|
+
rack (2.0.5)
|
45
|
+
rack-test (1.1.0)
|
46
|
+
rack (>= 1.0, < 3)
|
47
|
+
rails-dom-testing (2.0.3)
|
48
|
+
activesupport (>= 4.2.0)
|
49
|
+
nokogiri (>= 1.6)
|
50
|
+
rails-html-sanitizer (1.0.4)
|
51
|
+
loofah (~> 2.2, >= 2.2.2)
|
52
|
+
rspec (3.8.0)
|
53
|
+
rspec-core (~> 3.8.0)
|
54
|
+
rspec-expectations (~> 3.8.0)
|
55
|
+
rspec-mocks (~> 3.8.0)
|
56
|
+
rspec-core (3.8.0)
|
57
|
+
rspec-support (~> 3.8.0)
|
58
|
+
rspec-expectations (3.8.1)
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
60
|
+
rspec-support (~> 3.8.0)
|
61
|
+
rspec-mocks (3.8.0)
|
62
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
63
|
+
rspec-support (~> 3.8.0)
|
64
|
+
rspec-support (3.8.0)
|
65
|
+
thread_safe (0.3.6)
|
66
|
+
tzinfo (1.2.5)
|
67
|
+
thread_safe (~> 0.1)
|
68
|
+
|
69
|
+
PLATFORMS
|
70
|
+
ruby
|
71
|
+
|
72
|
+
DEPENDENCIES
|
73
|
+
formtastic-fake_input!
|
74
|
+
rspec (~> 3)
|
75
|
+
|
76
|
+
BUNDLED WITH
|
77
|
+
1.16.2
|
@@ -53,8 +53,12 @@ module Formtastic
|
|
53
53
|
.content_tag(:span, input_options, input_html_options) { content }
|
54
54
|
end
|
55
55
|
|
56
|
+
def input_options
|
57
|
+
super.except(:value)
|
58
|
+
end
|
59
|
+
|
56
60
|
def content
|
57
|
-
|
61
|
+
options[:value] || object.public_send(method).to_s
|
58
62
|
end
|
59
63
|
end
|
60
64
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formtastic-fake_input
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klimenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: formtastic
|
@@ -36,6 +36,7 @@ extensions: []
|
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
38
38
|
- Gemfile
|
39
|
+
- Gemfile.lock
|
39
40
|
- LICENSE
|
40
41
|
- README.md
|
41
42
|
- lib/formtastic-fake_input.rb
|
@@ -61,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|
63
64
|
rubyforge_project:
|
64
|
-
rubygems_version: 2.7.
|
65
|
+
rubygems_version: 2.7.6
|
65
66
|
signing_key:
|
66
67
|
specification_version: 4
|
67
68
|
summary: Fake input class for Formtastic
|