inplace_editing 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f964eb6045e84d1fbd43d5f3624f26ef415a1ad7
4
+ data.tar.gz: 0ddf4472a4fff0c1f80ef222c6530e561061c371
5
+ SHA512:
6
+ metadata.gz: b9d68ae52196d3d7b17587d5872eadc0c68f32e598cdb41e9d2da9520a33cd82b7f92e6edf7a041ef5a08a7857214b8baf09f5e1394b773448b2b79781e93d1d
7
+ data.tar.gz: 1ea88d2a8c65d85e6e4171880449e8df1924381cfcb376daf94a44a4225b10a543f0a7ba7bf4aef7117fb416a1a69c28731b7212c833bd49a9103a537929ce35
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at hrangel@nucleo235.com.br. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in inplace_editing.gemspec
4
+ gemspec
5
+
6
+ gem 'best_in_place', '~> 3.0.1'
7
+ gem 'redcarpet', '>= 3.0.0'
8
+ gem 'slim'
9
+ gem 'slim-rails'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Henrique Rangel
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # InplaceEditing
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/inplace_editing`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'inplace_editing'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install inplace_editing
22
+
23
+ Add to the controllers you want (e.g. ApplicationController)
24
+ ```ruby
25
+ before_action :set_editor_config
26
+ def set_editor_config
27
+ @can_edit = false # or true
28
+ @inplace_editing_mode = (@can_edit ? 'edit' : 'read')
29
+ end
30
+ ```
31
+
32
+ Don't forget to add scripts
33
+
34
+ //= require jquery
35
+ //= require best_in_place
36
+ //= require inplace_editing
37
+
38
+ $(document).ready(function() {
39
+ /* Activating Best In Place */
40
+ jQuery(".best_in_place").best_in_place();
41
+ });
42
+
43
+ ## Usage
44
+
45
+ TODO: Write usage instructions here
46
+
47
+ ## Development
48
+
49
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
50
+
51
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
52
+
53
+ ## Contributing
54
+
55
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/inplace_editing. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
56
+
57
+
58
+ ## License
59
+
60
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
61
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,64 @@
1
+ module InplaceEditingHelper
2
+ def should_show?(optional_string_value)
3
+ @can_edit || !optional_string_value.blank?
4
+ end
5
+
6
+ def optional_editor(localized_object, property)
7
+ render :layout => 'inplace_editing/optional', :locals => editor_locals(localized_object, property) do |locals|
8
+ yield locals
9
+ end
10
+ end
11
+
12
+ def only_valid_editor(localized_object, property)
13
+ render :layout => 'inplace_editing/only_valid', :locals => editor_locals(localized_object, property) do |locals|
14
+ yield locals
15
+ end
16
+ end
17
+
18
+ def text_editor(localized_object, property, place_holder = nil)
19
+ render partial: 'inplace_editing/text', :locals => editor_locals(localized_object, property, place_holder)
20
+ end
21
+
22
+ def string_editor(localized_object, property, place_holder = nil)
23
+ render partial: 'inplace_editing/string', :locals => editor_locals(localized_object, property, place_holder)
24
+ end
25
+
26
+ def image_editor(localized_object, property, place_holder = nil, default_value = nil)
27
+ render partial: 'inplace_editing/image', :locals => editor_locals(localized_object, property, place_holder, default_value)
28
+ end
29
+
30
+ def element_editor(localized_object, property, place_holder = nil, label = nil)
31
+ render layout: 'inplace/element', :locals => editor_locals(localized_object, property, place_holder, nil, label) do |locals|
32
+ yield locals
33
+ end
34
+ end
35
+
36
+ def editor_locals(localized_object, property, place_holder = nil, default_value = nil, label = nil)
37
+ { localized_object: localized_object, property: property, place_holder: place_holder, default_value: default_value, label: label }
38
+ end
39
+
40
+ def markdown(text, placeholder = '[texto aqui]')
41
+ return placeholder if !text
42
+ options = {
43
+ filter_html: false,
44
+ hard_wrap: true,
45
+ link_attributes: { rel: 'nofollow', target: "_blank" },
46
+ space_after_headers: true,
47
+ fenced_code_blocks: true,
48
+ tables: true
49
+ }
50
+
51
+ extensions = {
52
+ autolink: true,
53
+ superscript: true,
54
+ disable_indented_code_blocks: true
55
+ }
56
+
57
+ renderer = Redcarpet::Render::HTML.new(options)
58
+ markdown = Redcarpet::Markdown.new(renderer, extensions)
59
+
60
+ markdown.render(text).html_safe
61
+ end
62
+ end
63
+
64
+ # @inplace_editing_mode = tem que ser setado no after_action usando o @can_edit
@@ -0,0 +1,2 @@
1
+ = render layout: 'inplace_editing/' + @inplace_editing_mode + '/element', :locals => local_assigns do |args|
2
+ = yield(args)
@@ -0,0 +1 @@
1
+ = render partial: 'inplace_editing/' + @inplace_editing_mode + '/image', :locals => local_assigns
@@ -0,0 +1,2 @@
1
+ - if localized_object[property]
2
+ = yield(local_assigns)
@@ -0,0 +1,2 @@
1
+ - if should_show? localized_object[property]
2
+ = yield(local_assigns)
@@ -0,0 +1 @@
1
+ = render partial: 'inplace_editing/' + @inplace_editing_mode + '/string', :locals => local_assigns
@@ -0,0 +1 @@
1
+ = render partial: 'inplace_editing/' + @inplace_editing_mode + '/text', :locals => local_assigns
@@ -0,0 +1,6 @@
1
+ .best_inplace_group
2
+ .best_before
3
+ - if local_assigns[:label]
4
+ label = local_assigns[:label] + ' '
5
+ = best_in_place localized_object, property, as: :input, :ok_button => 'Salvar', :cancel_button => 'Cancelar', :place_holder => (local_assigns[:place_holder] ? local_assigns[:place_holder] : "[texto aqui]")
6
+ = yield(local_assigns)
@@ -0,0 +1,41 @@
1
+ - form_id = 'image_editor_' + localized_object.class.name + '' + localized_object.id.to_s + '_' + property.to_s
2
+ - image_src = localized_object[property] ? localized_object.send(property.to_s + '_url') : local_assigns[:default_value]
3
+ = simple_form_for(localized_object, html: {id:form_id, :multipart => true, novalidate: true }, :format => :json, :remote => true, authenticity_token: true) do |f|
4
+ = f.input_field property, as: :file, label: "Trocar Imagem", style: 'display:none'
5
+ = f.input property.to_s + "_cache", as: :hidden
6
+ .image-container
7
+ img.preview.editable-preview src="#{image_src}" style="#{image_src.blank? ? 'display:none' : ''}"
8
+ - if image_src.blank?
9
+ a.insert-image href="#" Clique para inserir imagem
10
+ .actions-container style="display:none;"
11
+ input.saveButton type="submit" href="#" value="Salvar"
12
+ input.cancelButton type="button" href="#" value="Cancelar"
13
+ javascript:
14
+ $(document).ready(function() {
15
+ var form_id = "#{form_id}";
16
+ var imageEditor = asyncImageForm({
17
+ formSelector: 'form#' + form_id,
18
+ inputFileSelector: 'form#' + form_id + ' input[type=file]',
19
+ inputSubmitSelector: 'form#' + form_id + ' input[type=submit].saveButton',
20
+ imagePreviewSelector: 'form#' + form_id + ' img.editable-preview',
21
+ imageChangerSelector: 'form#' + form_id + ' img.preview, form#' + form_id + ' a.insert-image',
22
+ errorsGroup: '#{localized_object.class.name.downcase}',
23
+ events: {
24
+ imageChanged: function() {
25
+ $('form#' + form_id + ' a.insert-image').hide();
26
+ $('form#' + form_id + ' .actions-container').show();
27
+ $('form#' + form_id + ' .actions-container input').prop('disabled', false);
28
+ },
29
+ imageUploading: function() {
30
+ $('form#' + form_id + ' .actions-container input').prop('disabled', true)
31
+ },
32
+ imageUploadSuccess: function() {
33
+ $('form#' + form_id + ' .actions-container').hide();
34
+ },
35
+ imageUploadFail: function() {
36
+ $('form#' + form_id + ' .actions-container').show();
37
+ $('form#' + form_id + ' .actions-container input').prop('disabled', false)
38
+ }
39
+ }
40
+ });
41
+ });
@@ -0,0 +1 @@
1
+ = best_in_place localized_object, property, as: :input, :ok_button => 'Salvar', :cancel_button => 'Cancelar', :place_holder => local_assigns[:place_holder] ? local_assigns[:place_holder] : "[troque o texto aqui]"
@@ -0,0 +1 @@
1
+ = best_in_place localized_object, property, as: :textarea, class:'best_in_place_textarea', :place_holder => local_assigns[:place_holder] ? local_assigns[:place_holder] : "[texto aqui]", sanitize: false, :ok_button => 'Salvar', :cancel_button => 'Cancelar', :display_with => lambda { |v| markdown(v, '[texto aqui]') }
@@ -0,0 +1 @@
1
+ = yield(local_assigns)
@@ -0,0 +1 @@
1
+ img alt="imagem" src="#{localized_object.send(property.to_s + '_url')}" /
@@ -0,0 +1 @@
1
+ = localized_object[property]
@@ -0,0 +1 @@
1
+ = markdown(localized_object[property])
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "inplace_editing"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,42 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'inplace_editing/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "inplace_editing"
8
+ spec.version = InplaceEditing::VERSION
9
+ spec.authors = ["Henrique Rangel"]
10
+ spec.email = ["dev@hrangel.com.br"]
11
+
12
+ spec.summary = <<SUM
13
+ This front-end gem helps to allow users/managers to inplace edit string, text, images or other elements.
14
+ Besides that it helps to add optional or valid text only if a object's property exists.
15
+ SUM
16
+ spec.description = <<DESC
17
+ InplaceEditing is a jQuery and Best In Place script and a Rails helper that provides methods
18
+ (string_editor, image_editor, text_editor, element_editor, optional_editor, only_valid_editor) to allow
19
+ editing any ActiveRecord object's property (since it uses standard BestInPlace form).
20
+ DESC
21
+ spec.homepage = "https://github.com/hrangel/inplace_editing"
22
+ spec.license = "MIT"
23
+
24
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
25
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
26
+ if spec.respond_to?(:metadata)
27
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
28
+ else
29
+ raise "RubyGems 2.0 or newer is required to protect against " \
30
+ "public gem pushes."
31
+ end
32
+
33
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
34
+ f.match(%r{^(test|spec|features)/})
35
+ end
36
+ spec.bindir = "exe"
37
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
38
+ spec.require_paths = ["lib"]
39
+
40
+ spec.add_development_dependency "bundler", "~> 1.13"
41
+ spec.add_development_dependency "rake", "~> 10.0"
42
+ end
@@ -0,0 +1,57 @@
1
+ function asyncImageForm(config) {
2
+ this.config = config;
3
+ // var config = {
4
+ // formSelector: 'form.async-republic-image',
5
+ // inputFileSelector: 'form.async-republic-image .input_addPictureButton',
6
+ // inputSubmitSelector: 'form.async-republic-image input[type=submit]',
7
+ // imagePreviewSelector: 'form.async-republic-image img.preview',
8
+ // imageChangerSelector: 'form.async-republic-image img.preview',
9
+ // errorsGroup: 'republic_image',
10
+ // events: {
11
+ // imageChanged: function() {},
12
+ // imageUploading: function() {},
13
+ // imageUploadSuccess: function() {},
14
+ // imageUploadFail: function() {}
15
+ // }
16
+ // }
17
+
18
+ function defaultPostImageSuccess() {
19
+ window.location.reload();
20
+ return false;
21
+ };
22
+
23
+ $(config.inputFileSelector).change(function(){
24
+ setImagePreview(this, $(config.imagePreviewSelector));
25
+ config.events.imageChanged(this);
26
+ });
27
+
28
+ $(config.imageChangerSelector).click(function(e){
29
+ $(config.inputFileSelector).click();
30
+ });
31
+
32
+ $(config.formSelector).submit(function (event) {
33
+ event.preventDefault();
34
+
35
+ //grab all form data
36
+ var formData = new FormData($(this)[0]);
37
+
38
+ config.events.imageUploading(this);
39
+
40
+ $.ajax({
41
+ url: $(this).attr('action'),
42
+ type: $(this).attr('method'),
43
+ data: formData,
44
+ cache: false,
45
+ contentType: false,
46
+ processData: false,
47
+ success: function (responseData) {
48
+ config.events.imageUploadSuccess(responseData);
49
+ },
50
+ error: function () {
51
+ config.events.imageUploadFail(this);
52
+ }
53
+ });
54
+
55
+ return false;
56
+ });
57
+ };
@@ -0,0 +1,4 @@
1
+ module InplaceEditing
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module InplaceEditing
2
+ VERSION = "0.1.3"
3
+ end
@@ -0,0 +1,7 @@
1
+ require "inplace_editing/version"
2
+
3
+ module InplaceEditing
4
+ # Your code goes here...
5
+ end
6
+
7
+ require 'inplace_editing/engine'
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: inplace_editing
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Henrique Rangel
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: " InplaceEditing is a jQuery and Best In Place script and a Rails helper
42
+ that provides methods \n (string_editor, image_editor, text_editor, element_editor,
43
+ optional_editor, only_valid_editor) to allow \n editing any ActiveRecord object's
44
+ property (since it uses standard BestInPlace form).\n"
45
+ email:
46
+ - dev@hrangel.com.br
47
+ executables: []
48
+ extensions: []
49
+ extra_rdoc_files: []
50
+ files:
51
+ - ".gitignore"
52
+ - CODE_OF_CONDUCT.md
53
+ - Gemfile
54
+ - LICENSE.txt
55
+ - README.md
56
+ - Rakefile
57
+ - app/helpers/inplace_editing_helper.rb
58
+ - app/views/inplace_editing/_element.html.slim
59
+ - app/views/inplace_editing/_image.html.slim
60
+ - app/views/inplace_editing/_only_valid.html.slim
61
+ - app/views/inplace_editing/_optional.html.slim
62
+ - app/views/inplace_editing/_string.html.slim
63
+ - app/views/inplace_editing/_text.html.slim
64
+ - app/views/inplace_editing/edit/_element.html.slim
65
+ - app/views/inplace_editing/edit/_image.html.slim
66
+ - app/views/inplace_editing/edit/_string.html.slim
67
+ - app/views/inplace_editing/edit/_text.html.slim
68
+ - app/views/inplace_editing/read/_element.html.slim
69
+ - app/views/inplace_editing/read/_image.html.slim
70
+ - app/views/inplace_editing/read/_string.html.slim
71
+ - app/views/inplace_editing/read/_text.html.slim
72
+ - bin/console
73
+ - bin/setup
74
+ - inplace_editing.gemspec
75
+ - lib/assets/javascripts/inplace_editing.js
76
+ - lib/inplace_editing.rb
77
+ - lib/inplace_editing/engine.rb
78
+ - lib/inplace_editing/version.rb
79
+ homepage: https://github.com/hrangel/inplace_editing
80
+ licenses:
81
+ - MIT
82
+ metadata:
83
+ allowed_push_host: https://rubygems.org
84
+ post_install_message:
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ requirements: []
99
+ rubyforge_project:
100
+ rubygems_version: 2.4.8
101
+ signing_key:
102
+ specification_version: 4
103
+ summary: This front-end gem helps to allow users/managers to inplace edit string,
104
+ text, images or other elements. Besides that it helps to add optional or valid text
105
+ only if a object's property exists.
106
+ test_files: []