yorisoi 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/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -1
- data/lib/yorisoi/version.rb +1 -1
- data/spec/dummy/app/controllers/samples_controller.rb +3 -0
- data/spec/dummy/app/views/samples/remnant.html.erb +3 -2
- data/yorisoi.gemspec +1 -1
- metadata +6 -7
- data/yorisoi-0.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 455acd954dbfd7dd0f56699a683172aaa5d1ee14
|
4
|
+
data.tar.gz: 4b9fdf812c54dc8297a477425691f725f56265a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 058f8187de63b973b8dc4cf96c9fa224e95bcef9d68869dfbed7ef0eb5f563b07c1920fc461f3c44ff7e22b86eba230e9884afcfaa97d66f863b05f25f15f2e8
|
7
|
+
data.tar.gz: 806beb077d8d9bf75ba65e0823dea42c31d3294f72636721152ef75e288c27b1dc69f87d88b177346b92f02620d9c3a61efe8f7f7767e48572e8a71d21998e7b
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/mmmpa/yorisoi.svg)](https://travis-ci.org/mmmpa/yorisoi)
|
2
2
|
[![Coverage Status](https://coveralls.io/repos/mmmpa/yorisoi/badge.svg?branch=master)](https://coveralls.io/r/mmmpa/yorisoi?branch=master)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/mmmpa/yorisoi/badges/gpa.svg)](https://codeclimate.com/github/mmmpa/yorisoi)
|
3
4
|
|
4
5
|
# Yorisoi
|
5
|
-
Yorisoi(よりそい)はform_helperで作成したinput系がエラーをもつ場合、自動的に直下に表示するための`FormBuilder`です。
|
6
|
+
Yorisoi(よりそい)はform_helperで作成したinput系がエラーをもつ場合、自動的に直下に表示するための`FormBuilder`です。
|
data/lib/yorisoi/version.rb
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
<h1>Yorisoi Remnant Error</h1>
|
61
61
|
<%= form_for @sample, url: create_path, method: :post, builder: Yorisoi::Builder do |f| %>
|
62
62
|
<%= hidden_field :remnant, value: true %>
|
63
|
-
|
63
|
+
<!-- remnant -->
|
64
64
|
<div class="input-box p100">
|
65
65
|
<section class="input-set">
|
66
66
|
<label class="input-head">text</label>
|
@@ -99,9 +99,10 @@
|
|
99
99
|
</div>
|
100
100
|
</section>
|
101
101
|
</div>
|
102
|
-
<%= f.remnant %>
|
103
102
|
<ul class="form-button-area">
|
104
103
|
<li><%= f.submit :submit, class: [:button, :green] %></li>
|
105
104
|
</ul>
|
106
105
|
<% end %>
|
107
106
|
</article>
|
107
|
+
<% self.output_buffer.gsub_not_safety!('<!-- remnant -->', 'a') %>
|
108
|
+
a
|
data/yorisoi.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
20
20
|
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
|
-
spec.add_dependency "rails"
|
22
|
+
spec.add_dependency "rails"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.10"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yorisoi
|
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
|
- mmmpa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,7 +218,6 @@ files:
|
|
218
218
|
- spec/rails_helper.rb
|
219
219
|
- spec/spec_helper.rb
|
220
220
|
- spec/supports/active_model.rb
|
221
|
-
- yorisoi-0.0.1.gem
|
222
221
|
- yorisoi.gemspec
|
223
222
|
homepage: http://mmmpa.net/
|
224
223
|
licenses:
|
data/yorisoi-0.0.1.gem
DELETED
Binary file
|