ecm_news2 2.0.1 → 2.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7cc0f6385d6651d7ce359cba06eec6ee51a3ff5
|
4
|
+
data.tar.gz: 2a3bdd07b374cf67cc609041e5c39e9627d5bd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58e79379765a07a5f70c00e6a5b16d4a965566f987d73976cea13dbefb9dfeabf48fd4bc8d178141dd3f2816852f54229b60749364457b2c1cb55b751f013241
|
7
|
+
data.tar.gz: 6f449499d70437d2aa6459b1d7f1383a7328b65ddcd537f77e1e233ea03bcead840170c52a81777fd21273d53de53957ee60335daf72fa98aabc9bd574fcd84d
|
data/lib/ecm/news/version.rb
CHANGED
@@ -6,9 +6,15 @@ module Ecm
|
|
6
6
|
|
7
7
|
source_root File.expand_path('../templates', __FILE__)
|
8
8
|
|
9
|
-
def
|
9
|
+
def generate_initializer
|
10
10
|
copy_file 'initializer.rb', 'config/initializers/ecm_news.rb'
|
11
11
|
end
|
12
|
+
|
13
|
+
def generate_routes
|
14
|
+
inject_into_file 'config/routes.rb', before: "\nend" do
|
15
|
+
File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
|
16
|
+
end
|
17
|
+
end
|
12
18
|
end
|
13
19
|
end
|
14
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_news2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -395,6 +395,7 @@ files:
|
|
395
395
|
- lib/ecm_news2.rb
|
396
396
|
- lib/generators/ecm/news/install/install_generator.rb
|
397
397
|
- lib/generators/ecm/news/install/templates/initializer.rb
|
398
|
+
- lib/generators/ecm/news/install/templates/routes.source
|
398
399
|
- lib/generators/ecm/news/locales/locales_generator.rb
|
399
400
|
- lib/tasks/ecm_news_tasks.rake
|
400
401
|
homepage: https://github.com/robotex82/ecm_news2
|