textile_editor_helper 0.0.31 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +0 -0
  3. data/CHANGELOG.md +0 -0
  4. data/Gemfile +0 -0
  5. data/README.md +59 -28
  6. data/Rakefile +0 -0
  7. data/features/copy_assets.feature +1 -1
  8. data/features/step_definitions/common_steps.rb +14 -14
  9. data/features/step_definitions/rails_setup_steps.rb +0 -0
  10. data/features/support/env.rb +0 -0
  11. data/features/support/setup.rb +0 -0
  12. data/lib/generators/textile_editor_helper/install_generator.rb +4 -32
  13. data/lib/helpers/default.rb +2 -1
  14. data/lib/helpers/formtastic.rb +0 -0
  15. data/lib/helpers/simple_form.rb +0 -0
  16. data/lib/helpers/textile_editor_initialize.rb +0 -0
  17. data/lib/textile_editor_helper/version.rb +1 -1
  18. data/lib/textile_editor_helper.rb +0 -0
  19. data/test/abstract_unit.rb +1 -4
  20. data/test/formtastic_test.rb +0 -0
  21. data/test/simple_form_test.rb +0 -0
  22. data/test/support_methods.rb +0 -0
  23. data/test/test_helper.rb +0 -0
  24. data/test/textile_editor_helper_test.rb +0 -0
  25. data/textile_editor_helper.gemspec +4 -4
  26. data/travis.yml +0 -0
  27. data/vendor/README +0 -0
  28. data/vendor/assets/images/textile-editor/background.png +0 -0
  29. data/vendor/assets/images/textile-editor/blockquote.png +0 -0
  30. data/vendor/assets/images/textile-editor/bold.png +0 -0
  31. data/vendor/assets/images/textile-editor/center.png +0 -0
  32. data/vendor/assets/images/textile-editor/h1.png +0 -0
  33. data/vendor/assets/images/textile-editor/h2.png +0 -0
  34. data/vendor/assets/images/textile-editor/h3.png +0 -0
  35. data/vendor/assets/images/textile-editor/h4.png +0 -0
  36. data/vendor/assets/images/textile-editor/h5.png +0 -0
  37. data/vendor/assets/images/textile-editor/h6.png +0 -0
  38. data/vendor/assets/images/textile-editor/indent.png +0 -0
  39. data/vendor/assets/images/textile-editor/italic.png +0 -0
  40. data/vendor/assets/images/textile-editor/justify.png +0 -0
  41. data/vendor/assets/images/textile-editor/left.png +0 -0
  42. data/vendor/assets/images/textile-editor/list_bullets.png +0 -0
  43. data/vendor/assets/images/textile-editor/list_numbers.png +0 -0
  44. data/vendor/assets/images/textile-editor/omega.png +0 -0
  45. data/vendor/assets/images/textile-editor/outdent.png +0 -0
  46. data/vendor/assets/images/textile-editor/paragraph.png +0 -0
  47. data/vendor/assets/images/textile-editor/right.png +0 -0
  48. data/vendor/assets/images/textile-editor/strikethrough.png +0 -0
  49. data/vendor/assets/images/textile-editor/underline.png +0 -0
  50. data/vendor/assets/javascripts/textile-editor-config.js +1 -1
  51. data/vendor/assets/javascripts/textile-editor.js +1 -1
  52. data/vendor/assets/stylesheets/textile-editor.css +7 -9
  53. metadata +27 -49
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 41820014e81f8ce165810bd83a434462d85c2d75
4
+ data.tar.gz: 5c939501caa475a10e9577293c7714820272393a
5
+ SHA512:
6
+ metadata.gz: 6ae61f5807b37f54e2e1e4c12f4d1de0bad8d8dbc1e6f3776fb573c1793d226cd871338782d2fde1a0fb39fb961a42375dc7c9eaccb8e5346861eee5ea592d6e
7
+ data.tar.gz: 7bebfa151ebecfdc046d9a4fb80f2f44bf1347f93f0a3ddad1120fbe4c3fecf6df92fe7e608f5d6d14f575b4a68b753e1ded8c7ebf4c6101506e88bcac7ca0f9
data/.gitignore CHANGED
File without changes
data/CHANGELOG.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/README.md CHANGED
@@ -1,4 +1,9 @@
1
- ## Textile Editor Helper [![Build Status](https://secure.travis-ci.org/bridgeutopia/textile_editor_helper.png)](http://travis-ci.org/bridgeutopia/textile_editor_helper)
1
+ ## Textile Editor Helper
2
+
3
+ [![Gem Version](https://badge.fury.io/katgironpe/textile_editor_helper.svg)](http://badge.fury.io/katgironpe/textile_editor_helper)
4
+ [![Build Status](https://secure.travis-ci.org/katgironpe/textile_editor_helper.png)](http://travis-ci.org/katgironpe/textile_editor_helper)
5
+ [![Code Climate](https://codeclimate.com/github/katgironpe/textile_editor_helper.png)](https://codeclimate.com/github/katgironpe/textile_editor_helper)
6
+ [![Dependency Status](https://gemnasium.com/katgironpe/textile_editor_helper.svg)](https://gemnasium.com/katgironpe/textile_editor_helper)
2
7
 
3
8
  Textile Editor Helper is a plugin for Ruby on Rails to add a Textile toolbar above textareas.
4
9
 
@@ -7,12 +12,23 @@ This version of Textile Editor Helper is a fork of the code found at http://svn.
7
12
 
8
13
  ## Dependencies
9
14
 
10
- To use Textile Editor Helper you must be using either the jQuery JavaScript library.
15
+ To use Textile Editor Helper you must use the jQuery JavaScript library.
16
+
17
+ Follow best practices like adding JS files at the bottom of the page (before closing body tag).
18
+
19
+ Rails versions older than 4.1.4 are not supported.
20
+
21
+ If this broke something, please use:
11
22
 
12
- jQuery is required and make sure $(document).ready() method is called.
23
+ ```ruby
24
+ gem 'textile_editor_helper', '0.0.31'
25
+ ```
13
26
 
14
- For Rails 3.2, vendor/plugins was removed that is why this gem exists. Rails versions below 3.2 are not supported. Ruby version 1.8.7 is not supported.
27
+ Otherwise, this should work:
15
28
 
29
+ ```ruby
30
+ gem 'textile_editor_helper', '0.1.0'
31
+ ```
16
32
 
17
33
  ## Rails Quickstart
18
34
 
@@ -20,56 +36,67 @@ Directions to get the helper up and running for your install:
20
36
 
21
37
  First, you'll need to add the gems required. RedCloth (or an alterntative) and htmlentities are also required.
22
38
 
23
- gem 'textile_editor_helper'
39
+ ```ruby
40
+ gem 'textile_editor_helper'
41
+ gem 'RedCloth'
42
+ gem 'htmlentities'
43
+ ```
24
44
 
25
- gem 'RedCloth'
45
+ And run the following command:
26
46
 
27
- gem 'htmlentities'
28
-
29
- and do
30
-
31
- rails g textile_editor_helper:install
47
+ ```bash
48
+ rails g textile_editor_helper:install
49
+ ```
32
50
 
33
51
  It's important that you read the example provided. Your application.js should look like the following. Make sure to update the order of your JS files.
34
52
 
35
- //= require jquery
36
- //= require jquery_ujs
37
- //= require textile-editor
53
+ ```javascript
54
+ //= require jquery
55
+ //= require jquery_ujs
56
+ //= require textile-editor
57
+ ```
38
58
 
39
59
  To use the Textile Editor Helper with a specific text area, you can choose between the following options:
40
60
 
41
- <%= f.textile_editor :description %>
42
-
43
- <%= textile_editor :user, "website" %>
44
-
45
- <%= textile_editor_tag 'description', :description %>
61
+ ```ruby
62
+ <%= f.textile_editor :description %>
63
+ <%= textile_editor :user, "website" %>
64
+ <%= textile_editor_tag 'description', :description %>
65
+ ```
46
66
 
47
67
  ### For simple_form users
48
68
 
49
- <%= f.input :body, :as => :textile_editor %>
69
+ ```ruby
70
+ <%= f.input :body, as: :textile_editor %>
71
+ ```
50
72
 
51
73
  ### For formtastic users
52
74
 
53
- <%= f.input :body, :as => :textile_editor %>
75
+ ```ruby
76
+ <%= f.input :body, as: :textile_editor %>
77
+ ```
78
+
54
79
 
55
80
  **Just like writing a text area tag!**
56
81
 
57
82
  At the end of your form put in the following code:
58
83
 
59
- <%= textile_editor_initialize %> **Important!**
60
84
 
85
+ ```ruby
86
+ <%= textile_editor_initialize %> **Important!**
87
+ ```
61
88
 
62
89
  Then, just save your view and check it out.
63
90
 
64
91
  ## Examples
65
92
 
66
- <a href="https://github.com/bridgeutopia/textile_editor_helper/wiki/Examples" target="_blank">Basic Examples</a>
93
+ <a href="https://github.com/katgironpe/textile_editor_helper/wiki/Examples" target="_blank">Basic Examples</a>
67
94
 
68
- Recently created a Rails 3.2.8 app that uses simple_form and textile_editor_helper, <a href="https://github.com/bridgeutopia/textile-editor-helper-examples" target="_blank">check it out</a>.
95
+ Recently created a Rails 3.2.8 app that uses simple_form and textile_editor_helper, <a href="https://github.com/katgironpe/textile-editor-helper-examples" target="_blank">check it out</a>.
69
96
 
70
97
  ## Testing
71
98
 
72
- git clone git://github.com/bridgeutopia/textile_editor_helper.git
99
+ git clone git://github.com/katgironpe/textile_editor_helper.git
73
100
  cd textile_editor_helper
74
101
  bundle install
75
102
  bundle exec rake
@@ -104,13 +131,17 @@ Textile Editor Helper is released under the MIT license.
104
131
 
105
132
  Textile Editor Helper was created by Dave Olsen (Javascript) and Chris Scharf (Ruby/Rails) of <a href="http://webservices.wvu.edu/" target="_blank">West Virginia University Web Services</a>
106
133
 
107
- The project is now maintained by <a href="http://blog.bridgeutopiaweb.com" target="_blank">Katherine G. Pe</a>
134
+ The project is now maintained by <a href="http://c.kat.pe" target="_blank">Katherine G. Pe</a>
135
+
108
136
 
137
+ ## Notes from maintainer
138
+
139
+ I am no longer using Textile as much as Markdown.
140
+ I found this helpful before but no longer really use it.
141
+ I still find time to maintain for those who do.
109
142
 
110
143
  ## Inspired by
111
144
 
112
145
 
113
146
  <a href="http://www.hakjoon.com/code/38/textile-quicktags-redirect" target="_blank">Patrick Woods</a> &
114
147
  <a href="http://alexking.org/projects/js-quicktags" target="_blank">Alex King</a>
115
-
116
-
data/Rakefile CHANGED
File without changes
@@ -9,4 +9,4 @@ Scenario: Assets are copied to rails asset directories if the default generator
9
9
  Then I should see file "app/assets/stylesheets/textile-editor.css"
10
10
  And I should see file "app/assets/javascripts/textile-editor-config.js"
11
11
  And I should see file "app/assets/javascripts/textile-editor.js"
12
- And I should see file "public/images/textile-editor/italic.png"
12
+ And I should see file "app/assets/images/textile-editor/italic.png"
@@ -1,10 +1,10 @@
1
1
  When /^I run "([^\"]*)"$/ do |command|
2
- system("cd #{@current_directory} && #{command}").should be_true
2
+ expect(system("cd #{@current_directory} && #{command}")).to be
3
3
  end
4
4
 
5
5
  When /^I add "([^\"]*)" to file "([^\"]*)"$/ do |content, short_path|
6
6
  path = File.join(@current_directory, short_path)
7
- File.should exist(path)
7
+ expect(File.exist?(path)).to be
8
8
  File.open(path, 'a') { |f| f.write(content + "\n") }
9
9
  end
10
10
 
@@ -14,53 +14,53 @@ end
14
14
 
15
15
  When /^I replace "([^\"]*)" with "([^\"]*)" in file "([^\"]*)"$/ do |old_content, new_content, short_path|
16
16
  path = File.join(@current_directory, short_path)
17
- File.should exist(path)
17
+ expect(File.exist?(path)).to be
18
18
  content = File.read(path).gsub(old_content, new_content)
19
19
  File.open(path, 'w') { |f| f.write(content) }
20
20
  end
21
21
 
22
22
  When /^I insert "([^\"]*)" into "([^\"]*)" after line (\d+)$/ do |content, short_path, after_line|
23
23
  path = File.join(@current_directory, short_path)
24
- File.should exist(path)
24
+ expect(File.exist?(path)).to be
25
25
  lines = File.read(path).split("\n")
26
26
  lines[after_line.to_i, 0] = content
27
27
  File.open(path, 'w') { |f| f.write(lines.join("\n")) }
28
28
  end
29
29
 
30
30
  Then /^I should see file "([^\"]*)"$/ do |path|
31
- File.should exist(File.join(@current_directory, path))
31
+ expect(File.exist?(File.join(@current_directory, path))).to be
32
32
  end
33
33
 
34
34
  Then /^I should see "(.*)" in file "([^\"]*)"$/ do |content, short_path|
35
35
  path = File.join(@current_directory, short_path)
36
- File.should exist(path)
37
- File.readlines(path).join.should include(content)
36
+ expect(File.exist?(path)).to be
37
+ expect(File.readlines(path).join).to include(content)
38
38
  end
39
39
 
40
40
  Then /^I should not see "(.*)" in file "([^\"]*)"$/ do |content, short_path|
41
41
  path = File.join(@current_directory, short_path)
42
- File.should exist(path)
43
- File.readlines(path).join.should_not include(content)
42
+ expect(File.exist?(path)).to be
43
+ expect(File.readlines(path).join).to_not include(content)
44
44
  end
45
45
 
46
46
  Then /^I should see the following files$/ do |table|
47
47
  table.raw.flatten.each do |path|
48
- File.should exist(File.join(@current_directory, path))
48
+ expect(File.exist?(File.join(@current_directory, path))).to be
49
49
  end
50
50
  end
51
51
 
52
52
  Then /^I should see the following in file "([^\"]*)"$/ do |short_path, table|
53
53
  path = File.join(@current_directory, short_path)
54
- File.should exist(path)
54
+ expect(File.exist?(path)).to be
55
55
  table.raw.flatten.each do |content|
56
- File.readlines(path).join.should include(content)
56
+ expect(File.readlines(path).join).to include(content)
57
57
  end
58
58
  end
59
59
 
60
60
  Then /^I should successfully run "([^\"]*)"$/ do |command|
61
- system("cd #{@current_directory} && #{command}").should be_true
61
+ expect(system("cd #{@current_directory} && #{command}")).to be
62
62
  end
63
63
 
64
64
  Then /^I should see "([^\"]*)" when running "([^\"]*)"$/ do |expected_response, command|
65
- `cd #{@current_directory} && #{command}`.should include(expected_response)
65
+ expect(`cd #{@current_directory} && #{command}`).to include(expected_response)
66
66
  end
File without changes
File without changes
File without changes
@@ -2,44 +2,16 @@ module TextileEditorHelper
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
  source_root File.expand_path('../../../../vendor', __FILE__)
5
-
6
- private
7
-
8
- def self.asset_pipeline_enabled?
9
- (Rails.configuration.respond_to?(:assets) ? (Rails.configuration.assets || {}) : {})[:enabled]
10
- end
11
-
12
- def asset_pipeline_enabled?
13
- self.class.asset_pipeline_enabled?
14
- end
15
-
16
- public
17
-
18
- if asset_pipeline_enabled?
19
- desc 'Creates a TextileEditorHelper initializer and copies assets to app/assets and public/images.'
20
- else
21
- desc 'Creates a TextileEditorHelper initializer and copies assets to public directories.'
22
- end
23
-
5
+ desc 'Creates a TextileEditorHelper initializer and copies assets to app/assets'
24
6
  def copy_assets
25
- if asset_pipeline_enabled?
26
- js_destination = 'app/assets/javascripts'
27
- css_destination = 'app/assets/stylesheets'
28
- else
29
- js_destination = 'public/javascripts'
30
- css_destination = 'public/stylesheets'
31
- end
32
-
7
+ js_destination = 'app/assets/javascripts'
8
+ css_destination = 'app/assets/stylesheets'
33
9
  copy_file 'assets/javascripts/textile-editor.js', "#{js_destination}/textile-editor.js"
34
10
  copy_file 'assets/javascripts/textile-editor-config.js', "#{js_destination}/textile-editor-config.js"
35
11
  copy_file 'assets/stylesheets/textile-editor.css', "#{css_destination}/textile-editor.css"
36
-
37
- directory 'assets/images/textile-editor', 'public/images/textile-editor'
38
-
12
+ directory 'assets/images/textile-editor', 'app/assets/images/textile-editor'
39
13
  readme 'README' if behavior == :invoke
40
-
41
14
  end
42
15
  end
43
16
  end
44
17
  end
45
-
@@ -34,7 +34,8 @@ module ActionView::Helpers
34
34
  # # </textarea>
35
35
  def textile_editor(object_name, method, options = {})
36
36
  output = []
37
- output << InstanceTag.new(object_name, method, self, options.delete(:object)).to_text_area_tag(options.merge(:class=>"textile_editor"))
37
+ name = "#{object_name}[#{method}]"
38
+ output << text_area_tag(name, nil, options.merge(class: "textile_editor"))
38
39
  output.join("\n").html_safe
39
40
  end
40
41
 
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module TextileEditorHelper
2
- VERSION = "0.0.31"
2
+ VERSION = "0.1.0"
3
3
  end
File without changes
@@ -2,12 +2,9 @@ $:.unshift(File.dirname(__FILE__) + '/../lib')
2
2
 
3
3
  require 'yaml'
4
4
  require 'rubygems'
5
-
6
5
  require 'action_controller'
7
- require 'action_view/helpers'
8
- require 'action_view/asset_paths'
9
6
  require 'action_controller/test_case'
10
-
7
+ require 'action_view/helpers'
11
8
  require 'simple_form'
12
9
 
13
10
  # Show backtraces for deprecated behavior for quicker cleanup.
File without changes
File without changes
File without changes
data/test/test_helper.rb CHANGED
File without changes
File without changes
@@ -2,9 +2,9 @@
2
2
  require File.expand_path('../lib/textile_editor_helper/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ['Katherine']
6
- gem.email = ['info@bridgeutopiaweb.com']
7
- gem.description = %q{Textile Editor Helper is a gem for Ruby on Rails 3.2 > to add a Textile toolbar above textareas.}
5
+ gem.authors = ['Katherine Pe']
6
+ gem.email = ['bridgeutopia@gmail.com']
7
+ gem.description = %q{Textile Editor Helper is a gem for Ruby on Rails 4.1.4 > to add a Textile toolbar above textareas.}
8
8
  gem.summary = %q{Textile Editor Helper}
9
9
  gem.homepage = 'https://github.com/bridgeutopia/textile_editor_helper'
10
10
 
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.version = TextileEditorHelper::VERSION
17
17
 
18
18
  #dependencies
19
- gem.add_development_dependency 'rails', '>= 3.2.0'
19
+ gem.add_development_dependency 'rails', '>= 4.1.4'
20
20
  gem.add_development_dependency 'simple_form'
21
21
  gem.add_development_dependency 'formtastic'
22
22
  gem.add_development_dependency 'thor'
data/travis.yml CHANGED
File without changes
data/vendor/README CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -19,4 +19,4 @@ teButtons.push(new TextileEditorButton('ed_justifyc', 'center.png', '=',
19
19
  teButtons.push(new TextileEditorButton('ed_justifyr', 'right.png', '>', '\n', 'r', 'Right Justify'));
20
20
  teButtons.push(new TextileEditorButton('ed_justify', 'justify.png', '<>', '\n', 'j', 'Justify'));
21
21
 
22
- // teButtons.push(new TextileEditorButton('ed_code','code','@','@','c','Code'));
22
+ // teButtons.push(new TextileEditorButton('ed_code','code','@','@','c','Code'));
@@ -126,7 +126,7 @@ TextileEditor.Methods = {
126
126
  theButton.setAttribute('open', button.open);
127
127
 
128
128
  var img = document.createElement('img');
129
- img.src = '/images/textile-editor/' + button.display;
129
+ img.src = '/assets/textile-editor/' + button.display;
130
130
  theButton.appendChild(img);
131
131
  } else {
132
132
  return button;
@@ -1,19 +1,17 @@
1
1
  div.textile-toolbar span.ed_sep {
2
- xposition: relative;
3
- xtop: -4px;
4
- padding: 0;
5
- height: 6px;
6
- width: 2px;
7
- margin: 0 2px;
8
2
  border-left: solid 1px #d5d5d5;
9
3
  border-right: solid 1px #f5f5f5;
4
+ height: 6px;
5
+ margin: 0 2px;
6
+ padding: 0;
7
+ width: 2px;
10
8
  }
11
9
 
12
10
  div.textile-toolbar button {
13
- margin: 0;
14
11
  background-color: #f0f0ee;
15
12
  background-repeat: no-repeat;
16
13
  border: 1px solid #f0f0ee;
14
+ margin: 0;
17
15
  padding: 2px 0;
18
16
  }
19
17
 
@@ -26,7 +24,7 @@ div.textile-toolbar button img {
26
24
  vertical-align: text-bottom;
27
25
  }
28
26
 
29
- div.textile-toolbar button:hover,
27
+ div.textile-toolbar button:hover,
30
28
  div.textile-toolbar button.unselected:hover {
31
29
  border: 1px solid #999;
32
30
  }
@@ -50,4 +48,4 @@ div.textile-toolbar {
50
48
  background-color: #f0f0ee;
51
49
  padding: 3px;
52
50
  margin-bottom: 4px;
53
- }
51
+ }
metadata CHANGED
@@ -1,137 +1,122 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: textile_editor_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.31
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
- - Katherine
7
+ - Katherine Pe
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-16 00:00:00.000000000 Z
11
+ date: 2014-08-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: 3.2.0
19
+ version: 4.1.4
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 3.2.0
26
+ version: 4.1.4
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: simple_form
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: formtastic
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: thor
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: minitest
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: cucumber
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rspec
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
- description: Textile Editor Helper is a gem for Ruby on Rails 3.2 > to add a Textile
111
+ description: Textile Editor Helper is a gem for Ruby on Rails 4.1.4 > to add a Textile
127
112
  toolbar above textareas.
128
113
  email:
129
- - info@bridgeutopiaweb.com
114
+ - bridgeutopia@gmail.com
130
115
  executables: []
131
116
  extensions: []
132
117
  extra_rdoc_files: []
133
118
  files:
134
- - .gitignore
119
+ - ".gitignore"
135
120
  - CHANGELOG.md
136
121
  - Gemfile
137
122
  - README.md
@@ -184,33 +169,26 @@ files:
184
169
  - vendor/assets/stylesheets/textile-editor.css
185
170
  homepage: https://github.com/bridgeutopia/textile_editor_helper
186
171
  licenses: []
172
+ metadata: {}
187
173
  post_install_message:
188
174
  rdoc_options: []
189
175
  require_paths:
190
176
  - lib
191
177
  required_ruby_version: !ruby/object:Gem::Requirement
192
- none: false
193
178
  requirements:
194
- - - ! '>='
179
+ - - ">="
195
180
  - !ruby/object:Gem::Version
196
181
  version: '0'
197
- segments:
198
- - 0
199
- hash: -2675995419143999461
200
182
  required_rubygems_version: !ruby/object:Gem::Requirement
201
- none: false
202
183
  requirements:
203
- - - ! '>='
184
+ - - ">="
204
185
  - !ruby/object:Gem::Version
205
186
  version: '0'
206
- segments:
207
- - 0
208
- hash: -2675995419143999461
209
187
  requirements: []
210
188
  rubyforge_project:
211
- rubygems_version: 1.8.24
189
+ rubygems_version: 2.2.2
212
190
  signing_key:
213
- specification_version: 3
191
+ specification_version: 4
214
192
  summary: Textile Editor Helper
215
193
  test_files:
216
194
  - features/copy_assets.feature