elrte 0.0.1 → 0.0.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.
data/README.rdoc CHANGED
@@ -7,12 +7,12 @@
7
7
 
8
8
  == Installation
9
9
 
10
- 1. Add "gem 'eltre'" to Gemfile
11
- 2. call "bundle install" in your terminal to install gem
12
- 3. call "rails g eltre:install" to generate needed files
13
- 4. add "//= require elrte" in needed javascript file (application.js or may be active_admin.js)
14
- 5. add "@import 'elrte';" in needed stylesheet file (application.css.scss or may be active_admin.css.scss)
15
- 5. add class 'editor' to needed field and check eltre editor instead of it with elfinder support
10
+ 1 Add "gem 'eltre'" to Gemfile
11
+ 2 call "bundle install" in your terminal to install gem
12
+ 3 call "rails g eltre:install" to generate needed files
13
+ 4 add "//= require elrte" in needed javascript file (application.js or may be active_admin.js)
14
+ 5 add "@import 'elrte';" in needed stylesheet file (application.css.scss or may be active_admin.css.scss)
15
+ 6 add class 'editor' to needed field and check eltre editor instead of it with elfinder support
16
16
 
17
17
  == Help
18
18
 
@@ -20,14 +20,14 @@ Need your feasible help. Feel free to add issue about found bugs, send me pull r
20
20
 
21
21
  == Related projects
22
22
 
23
- {elRTE on Github}[https://github.com/Studio-42/elRTE]
24
- [https://github.com/phallstrom/el_finder] by {phallstrom}[https://github.com/phallstrom]
23
+ * {elRTE on Github}[https://github.com/Studio-42/elRTE]
24
+ * {https://github.com/phallstrom/el_finder}[https://github.com/phallstrom/el_finder] by {phallstrom}[https://github.com/phallstrom]
25
25
 
26
26
  == Contributing
27
27
 
28
- * Fork it.
29
- * Create a branch (git checkout -b critical_bug)
30
- * Commit your changes (git commit -am "Fixed critical bug")
31
- * Push to the branch (git push origin critical_bug)
32
- * Create an Issue with a link to your branch
33
- * Wait
28
+ 1 Fork it.
29
+ 2 Create a branch (git checkout -b critical_bug)
30
+ 3 Commit your changes (git commit -am "Fixed critical bug")
31
+ 4 Push to the branch (git push origin critical_bug)
32
+ 5 Create an Issue with a link to your branch
33
+ 6 Wait
data/lib/elrte/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Elrte
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3,20 +3,24 @@ module Elrte
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
  desc "Installs Elrte and generates necessary migrations"
5
5
 
6
+ def self.source_root
7
+ File.expand_path("../templates", __FILE__)
8
+ end
9
+
6
10
  #def copy_initializer
7
11
  # template 'elrte.rb.erb', 'config/initializers/elrte.rb'
8
12
  #end
9
13
 
10
- def setup_routes
11
- route "Elrte.routes(self)"
12
- end
13
-
14
- def create_assets
15
- generate "elrte:assets"
16
- end
14
+ #def setup_routes
15
+ # route "Elrte.routes(self)"
16
+ #end
17
+ #
18
+ #def create_assets
19
+ # generate "elrte:assets"
20
+ #end
17
21
 
18
22
  def create_public_folder
19
- directory "#{File.expand_path("../templates", __FILE__)}/empty_folder/system/elfinder", 'public/system/elfinder'
23
+ directory 'empty_folder/system/elfinder', 'public/system/elfinder'
20
24
  end
21
25
 
22
26
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: elrte
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Anton Zaytsev
@@ -117,6 +117,7 @@ files:
117
117
  - lib/generators/elrte/assets/templates/3.1/elrte.js
118
118
  - lib/generators/elrte/assets/templates/dashboards.rb
119
119
  - lib/generators/elrte/install/install_generator.rb
120
+ - lib/generators/elrte/install/templates/empty_folder/system/elfinder/.gitkeep
120
121
  - vendor/assets/images/elfinder/icons-big.png
121
122
  - vendor/assets/images/elfinder/icons-small.png
122
123
  - vendor/assets/images/elfinder/ql.png