aloha-rails-improved 0.1.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/.travis.yml +11 -0
- data/CHANGELOG.md +18 -1
- data/README.md +25 -4
- data/aloha-rails-improved.gemspec +3 -1
- data/gemfiles/Gemfile.rails3-0 +6 -0
- data/gemfiles/Gemfile.rails3-1 +6 -0
- data/gemfiles/Gemfile.rails3-2 +6 -0
- data/gemfiles/Gemfile.rails4-0 +6 -0
- data/lib/aloha/rails/cdn.rb +2 -0
- data/lib/aloha/rails/local.rb +2 -0
- data/lib/aloha/rails/version.rb +2 -2
- data/spec/aloha/rails/helpers/helpers_spec.rb +1 -1
- metadata +10 -4
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
See full commit history here: <https://github.com/kuraga/aloha-rails-improved/commits/master>.
|
4
4
|
|
5
|
-
## 0.
|
5
|
+
## 0.2.2 (Aloha Editor 0.23.12) (2013-08-01)
|
6
|
+
|
7
|
+
* bugfix: Test: `aloha_require(...)` shouldn't return `type` attribute of `<script>` tag.
|
8
|
+
* bugfix: Require ActiveSupport files manually.
|
9
|
+
* bugfix: Add License information to gemspec.
|
10
|
+
* change: Remove Ruby 1.9.2 compatibility.
|
11
|
+
* change: Add Ruby 2.0.0 compatibility.
|
12
|
+
* change: Add Rails 4.0 compatibility.
|
13
|
+
* change: Add Travis CI configuration.
|
14
|
+
* docs: Readme: some bugfixes ('Installation' paragraph).
|
15
|
+
* docs: Readme: Add 'Inspired by' paragraph.
|
16
|
+
* docs: Readme: Add TravisCI Build Status Badge.
|
17
|
+
* docs: Readme: Add Gem Version Badge.
|
18
|
+
* docs: Readme: Add Dependency Status Badge.
|
19
|
+
* docs: Readme: Add Code Climate Badge.
|
20
|
+
* change: bump Aloha Editor to 0.23.12
|
21
|
+
|
22
|
+
## 0.1.0 (Aloha Editor 0.22.7) (2013-02-01)
|
6
23
|
|
7
24
|
_(initial release)_
|
data/README.md
CHANGED
@@ -1,18 +1,34 @@
|
|
1
1
|
# Aloha::Rails::Improved
|
2
2
|
|
3
|
-
Power your Rails
|
3
|
+
Power your Rails app with the [Aloha Editor](http://aloha-editor.org/)!
|
4
|
+
|
5
|
+
[![TravisCI Build Status](https://secure.travis-ci.org/kuraga/aloha-rails-improved.png?branch=master)](http://travis-ci.org/kuraga/aloha-rails-improved)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/aloha-rails-improved.png)](http://badge.fury.io/rb/aloha-rails-improved)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/kuraga/aloha-rails-improved.png)](https://codeclimate.com/github/kuraga/aloha-rails-improved)
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
7
|
-
Ruby
|
11
|
+
Required Ruby version:
|
12
|
+
|
13
|
+
* 1.9.3,
|
14
|
+
* 2.0.0,
|
15
|
+
* rbx-19mode,
|
16
|
+
* jruby-19mode.
|
17
|
+
|
18
|
+
Required gems:
|
19
|
+
|
20
|
+
* [ActionPack](http://rubygems.org/gems/actionpack) 3.0, 3.1, 3.2 or 4.0.
|
21
|
+
* [ActiveSupport](http://rubygems.org/gems/activesupport) 3.0, 3.1, 3.2 or 4.0,
|
22
|
+
|
23
|
+
(you can use [Rails](http://rubygems.org/gems/rails) 3.0, 3.1, 3.2 or 4.0 to require this).
|
8
24
|
|
9
25
|
Add this line to your application's `Gemfile`:
|
10
26
|
|
11
|
-
gem 'aloha-rails'
|
27
|
+
gem 'aloha-rails-improved', require: 'aloha/rails'
|
12
28
|
|
13
29
|
Or, if you want to be on the edge:
|
14
30
|
|
15
|
-
gem 'aloha-rails', git: 'https://github.com/kuraga/aloha-rails-improved.git', branch: 'develop'
|
31
|
+
gem 'aloha-rails-improved', require: 'aloha/rails', git: 'https://github.com/kuraga/aloha-rails-improved.git', branch: 'develop'
|
16
32
|
|
17
33
|
## Basic Usage
|
18
34
|
|
@@ -70,6 +86,11 @@ See code (and tests) for aditional information.
|
|
70
86
|
|
71
87
|
Run `rake spec` to test. See tests in `spec/` directory. You should use Rake 10+ and RSpec 2.12 to test.
|
72
88
|
|
89
|
+
## Inspired by
|
90
|
+
|
91
|
+
* <https://github.com/Skalar/aloha-rails>
|
92
|
+
* <https://github.com/locomotivecms/aloha-rails>
|
93
|
+
|
73
94
|
## See Also
|
74
95
|
|
75
96
|
* [Aloha Editor website](http://aloha-editor.org/)
|
@@ -5,9 +5,11 @@ Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ['Kurakin Alexander']
|
6
6
|
gem.email = 'kuraga333@mail.ru'
|
7
7
|
gem.description = 'Aloha Editor in Rails'
|
8
|
-
gem.summary = 'Provides the Aloha Editor for your Rails
|
8
|
+
gem.summary = 'Provides the Aloha Editor for your Rails app'
|
9
9
|
gem.homepage = 'https://github.com/kuraga/aloha-rails-improved'
|
10
|
+
gem.license = 'MIT'
|
10
11
|
|
12
|
+
gem.required_ruby_version = '>= 1.9.3'
|
11
13
|
gem.files = `git ls-files`.split("\n")
|
12
14
|
gem.test_files = gem.files.grep(%r{^spec/})
|
13
15
|
gem.name = 'aloha-rails-improved'
|
data/lib/aloha/rails/cdn.rb
CHANGED
data/lib/aloha/rails/local.rb
CHANGED
data/lib/aloha/rails/version.rb
CHANGED
@@ -72,7 +72,7 @@ describe Aloha::Rails::Helpers do
|
|
72
72
|
|
73
73
|
context 'with valid (String) url and no options' do
|
74
74
|
it 'returns a javascript tag' do
|
75
|
-
expect(aloha_require('some-url')).to match(%r{<script
|
75
|
+
expect(aloha_require('some-url')).to match(%r{<script.*>})
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aloha-rails-improved
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -98,12 +98,17 @@ extensions: []
|
|
98
98
|
extra_rdoc_files: []
|
99
99
|
files:
|
100
100
|
- .gitignore
|
101
|
+
- .travis.yml
|
101
102
|
- CHANGELOG.md
|
102
103
|
- Gemfile
|
103
104
|
- LICENSE
|
104
105
|
- README.md
|
105
106
|
- Rakefile
|
106
107
|
- aloha-rails-improved.gemspec
|
108
|
+
- gemfiles/Gemfile.rails3-0
|
109
|
+
- gemfiles/Gemfile.rails3-1
|
110
|
+
- gemfiles/Gemfile.rails3-2
|
111
|
+
- gemfiles/Gemfile.rails4-0
|
107
112
|
- lib/aloha-rails-improved.rb
|
108
113
|
- lib/aloha/rails.rb
|
109
114
|
- lib/aloha/rails/cdn.rb
|
@@ -122,7 +127,8 @@ files:
|
|
122
127
|
- spec/aloha/rails_spec.rb
|
123
128
|
- spec/spec_helper.rb
|
124
129
|
homepage: https://github.com/kuraga/aloha-rails-improved
|
125
|
-
licenses:
|
130
|
+
licenses:
|
131
|
+
- MIT
|
126
132
|
post_install_message:
|
127
133
|
rdoc_options: []
|
128
134
|
require_paths:
|
@@ -132,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
138
|
requirements:
|
133
139
|
- - ! '>='
|
134
140
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
141
|
+
version: 1.9.3
|
136
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
143
|
none: false
|
138
144
|
requirements:
|
@@ -144,7 +150,7 @@ rubyforge_project:
|
|
144
150
|
rubygems_version: 1.8.25
|
145
151
|
signing_key:
|
146
152
|
specification_version: 3
|
147
|
-
summary: Provides the Aloha Editor for your Rails
|
153
|
+
summary: Provides the Aloha Editor for your Rails app
|
148
154
|
test_files:
|
149
155
|
- spec/aloha/rails/cdn/aloha_cdn_spec.rb
|
150
156
|
- spec/aloha/rails/helpers/helpers_spec.rb
|