nodes 0.2.7 → 0.2.8

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: 78c17cc7d5ea22cd14da0a69ae3080c2066267be
4
- data.tar.gz: 11d75b908ba28a7d95b84e6e07d45718cca0f148
3
+ metadata.gz: 1e9cea32869539d2a4efbbb897fd46528b436984
4
+ data.tar.gz: 746e87d2c879578978809865454487d4210a1ddd
5
5
  SHA512:
6
- metadata.gz: f86a5be7d626172ccfaee3874bf8b4bde984e7c0d438520a4ce4820e8195369b37eb4e6d76f43a86e5dbb20cf1818dd09811bb77bd3498cd216a0cf9de093a77
7
- data.tar.gz: 327f3f773adc17bb905c7b37a63ab425d22f3129a5c0aaab79a6bb87dfd21fb0ff2521469584f33b2b61902bbe69bd693fc7f74342d8dcf4c3fbe35eb4e8d8e4
6
+ metadata.gz: a9dc0616536e16cdacb103b6343ab59fe451a4b3a4c220dfea35069fec5ca746830e3f68ddfd0eb8ba1bbe41861d186427e5b9aa9d8a8ad29e8316a22dfdfac3
7
+ data.tar.gz: 74fc96345542990c740b4e236496e0890c3311407a013f552592aecaf47ab4afca90501e34d05160cae3143ddea20c0c6c0f37979f4e72486a1ed708a55ce599
data/README.md CHANGED
@@ -21,6 +21,11 @@ And then execute:
21
21
  $ bundle
22
22
  $ rails nodes:install:migrations
23
23
  ```
24
+ Add to you config/routes
25
+ ```ruby
26
+ mount Nodes::Engine => '/nodes'
27
+ ```
28
+
24
29
 
25
30
  Or install it yourself as:
26
31
  ```bash
@@ -1,6 +1,5 @@
1
1
  Nodes::Engine.routes.draw do
2
2
  resources :nodes
3
- # root to: 'nodes#index'
4
- # mount Nodes::Engine => '/'
3
+ root :to => 'nodes#index'
5
4
  get '/node/sort/:field' => 'nodes#sort'
6
5
  end
@@ -1,11 +1,6 @@
1
1
  module Nodes
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Nodes
4
- routes.draw do
5
- resources :nodes
6
- # root to: 'nodes#index'
7
- # mount Common::Engine => '/'
8
- end
9
4
  config.generators do |g|
10
5
  g.test_framework :rspec, :fixture => false
11
6
  g.fixture_replacement :factory_girl, :dir => 'spec/factories'
@@ -1,3 +1,3 @@
1
1
  module Nodes
2
- VERSION = '0.2.7'
2
+ VERSION = '0.2.8'
3
3
  end
@@ -11028,3 +11028,18 @@ Processing by Nodes::NodesController#edit as HTML
11028
11028
  Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.1ms)
11029
11029
 
11030
11030
 
11031
+ Started GET "/" for 127.0.0.1 at 2017-07-17 11:49:26 +0200
11032
+ Processing by Rails::WelcomeController#index as HTML
11033
+ Rendering /home/eugene/.rvm/gems/ruby-2.3.3/gems/railties-5.1.2/lib/rails/templates/rails/welcome/index.html.erb
11034
+ Rendered /home/eugene/.rvm/gems/ruby-2.3.3/gems/railties-5.1.2/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
11035
+ Completed 200 OK in 4ms (Views: 3.1ms)
11036
+
11037
+
11038
+ Started GET "/nodes" for 127.0.0.1 at 2017-07-17 11:49:32 +0200
11039
+ Processing by Nodes::NodesController#index as HTML
11040
+ Rendering /home/nodes/app/views/nodes/nodes/index.haml within layouts/nodes/application
11041
+ Nodes::Node Load (0.1ms) SELECT "nodes_nodes".* FROM "nodes_nodes"
11042
+ Rendered /home/nodes/app/views/nodes/nodes/index.haml within layouts/nodes/application (12.3ms)
11043
+ Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 1.2ms)
11044
+
11045
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nodes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Markine