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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0f95438615085c743c53f193e9743c03b3085af
4
- data.tar.gz: 2d54df0cc3cf706af58327545e0729b16c531b07
3
+ metadata.gz: 455acd954dbfd7dd0f56699a683172aaa5d1ee14
4
+ data.tar.gz: 4b9fdf812c54dc8297a477425691f725f56265a7
5
5
  SHA512:
6
- metadata.gz: 841ef79b76da7304363f073cd846052b2c5b957728115bef08e2abb5d1ac3005786437f951375ddad67ec2436632f916802ebb5734ecf7eb847615095c730129
7
- data.tar.gz: d1629b2f3d3ea2e5462920cd38d0229d98d1d8f6900974038e178db420c89b0809b8abe0d083530f05adcf31fb249675a7eb1e217d2582b7dda425e350c2924f
6
+ metadata.gz: 058f8187de63b973b8dc4cf96c9fa224e95bcef9d68869dfbed7ef0eb5f563b07c1920fc461f3c44ff7e22b86eba230e9884afcfaa97d66f863b05f25f15f2e8
7
+ data.tar.gz: 806beb077d8d9bf75ba65e0823dea42c31d3294f72636721152ef75e288c27b1dc69f87d88b177346b92f02620d9c3a61efe8f7f7767e48572e8a71d21998e7b
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ spec/dummy/db/*.sqlite3-journal
6
6
  spec/dummy/log/*.log
7
7
  spec/dummy/tmp/
8
8
  spec/dummy/.sass-cache
9
+ *.gemgit rm
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yorisoi (0.0.1)
4
+ yorisoi (0.0.2)
5
5
  rails (~> 4.2.1)
6
6
 
7
7
  GEM
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`です。
@@ -1,3 +1,3 @@
1
1
  module Yorisoi
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -22,3 +22,6 @@ class SamplesController < ApplicationController
22
22
  end
23
23
 
24
24
  end
25
+ class String
26
+ alias :gsub_not_safety! :gsub!
27
+ end
@@ -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
- <%= yield :remnant %>
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
@@ -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", "~> 4.2.1"
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.2
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-06-24 00:00:00.000000000 Z
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: 4.2.1
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: 4.2.1
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:
Binary file