homeland 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +5 -5
  3. data/config/routes.rb +1 -1
  4. metadata +28 -35
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ee1cbaf79c96192953cee020f02882c7db60ca99
4
+ data.tar.gz: 504fbad6b5965c853edc83f9f0a5a08be942c128
5
+ SHA512:
6
+ metadata.gz: 59291ed000f9e5703bbbdd28fe9c167a0ad1297993842b0f44d2670e4177928c635d99a76998e2a1e2d66d39baa117d84767812cb1b4683e58b6a0828a7cb807
7
+ data.tar.gz: d6a400c76554c31edc159c449ae7cadf1e54198ee58c19a41f652ec64ee3451d697a9d1e1a4376624fae2a3470d0ba97c2d8d45e657268e88c847ae9ade93599
data/README.md CHANGED
@@ -8,19 +8,19 @@ A new style forum for tiny community as Rails Engine. You can mount this in you
8
8
 
9
9
  ## Install
10
10
 
11
- 1. in you Gemfile:
11
+ 1. In your Gemfile:
12
12
 
13
13
  ```ruby
14
14
  gem "homeland"
15
15
  ```
16
16
 
17
- 2. Install thought this commands:
17
+ 2. Install through this command:
18
18
 
19
19
  ```bash
20
20
  rails g homeland:install
21
21
  ```
22
22
 
23
- 3. change you application.html.erb
23
+ 3. Change your application.html.erb
24
24
 
25
25
  before:
26
26
 
@@ -37,7 +37,7 @@ A new style forum for tiny community as Rails Engine. You can mount this in you
37
37
  ```
38
38
 
39
39
 
40
- 4. Change you routes.rb to add this:
40
+ 4. Add this to your routes.rb:
41
41
 
42
42
  ```ruby
43
43
  mount Homeland::Engine, :at => "/bbs"
@@ -67,4 +67,4 @@ INFO WEBrick::HTTPServer#start: pid=9720 port=3000
67
67
  ----
68
68
 
69
69
  Thanks [V2EX](http://www.v2ex.com/?r=huacnlee) forum idea.
70
- A new style forum for tiny community as Rails Engine. You can mount this in you apps.
70
+ A new style forum for tiny community as Rails Engine. You can mount this in you apps.
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Homeland::Engine.routes.draw do
2
2
  root :to => "topics#index"
3
- match "topics/node_:id", :to => "topics#node", :as => :node_topics
3
+ get "topics/node_:id", :to => "topics#node", :as => :node_topics
4
4
  resources :topics do
5
5
  member do
6
6
  post :reply
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeland
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jason Lee
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-07-02 00:00:00.000000000 Z
11
+ date: 2015-08-26 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
19
  version: 3.1.0
22
20
  type: :runtime
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
26
  version: 3.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: jquery-atwho-rails
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.1.5
38
34
  type: :runtime
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.1.5
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rails_autolink
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: 1.0.0
54
48
  type: :runtime
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: 1.0.0
62
55
  description: A new style forum for small communitys.
@@ -66,18 +59,8 @@ executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - lib/generators/homeland/install/templates/images/jquery.chosen.png
70
- - lib/generators/homeland/install/templates/initializer.rb
71
- - lib/generators/homeland/install/templates/javascripts/jquery.chosen.js
72
- - lib/generators/homeland/install/templates/javascripts/jquery.hotkeys.js
73
- - lib/generators/homeland/install/templates/javascripts/jquery.timeago.js
74
- - lib/generators/homeland/install/templates/locales/homeland.zh-CN.yml
75
- - lib/generators/homeland/install/templates/stylesheets/jquery.chosen.scss
76
- - lib/generators/homeland/install_generator.rb
77
- - lib/generators/homeland/views_generator.rb
78
- - lib/homeland/engine.rb
79
- - lib/homeland/setting.rb
80
- - lib/homeland.rb
62
+ - Changelogs.md
63
+ - README.md
81
64
  - app/assets/images/reply.png
82
65
  - app/assets/javascripts/homeland.coffee
83
66
  - app/assets/stylesheets/homeland.scss
@@ -102,30 +85,40 @@ files:
102
85
  - app/views/homeland/topics/new.html.erb
103
86
  - app/views/homeland/topics/show.html.erb
104
87
  - config/routes.rb
105
- - README.md
106
- - Changelogs.md
88
+ - lib/generators/homeland/install/templates/images/jquery.chosen.png
89
+ - lib/generators/homeland/install/templates/initializer.rb
90
+ - lib/generators/homeland/install/templates/javascripts/jquery.chosen.js
91
+ - lib/generators/homeland/install/templates/javascripts/jquery.hotkeys.js
92
+ - lib/generators/homeland/install/templates/javascripts/jquery.timeago.js
93
+ - lib/generators/homeland/install/templates/locales/homeland.zh-CN.yml
94
+ - lib/generators/homeland/install/templates/stylesheets/jquery.chosen.scss
95
+ - lib/generators/homeland/install_generator.rb
96
+ - lib/generators/homeland/views_generator.rb
97
+ - lib/homeland.rb
98
+ - lib/homeland/engine.rb
99
+ - lib/homeland/setting.rb
107
100
  homepage: http://github.com/huacnlee/homeland
108
101
  licenses: []
102
+ metadata: {}
109
103
  post_install_message:
110
104
  rdoc_options: []
111
105
  require_paths:
112
106
  - lib
113
107
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
108
  requirements:
116
- - - ! '>='
109
+ - - ">="
117
110
  - !ruby/object:Gem::Version
118
111
  version: '0'
119
112
  required_rubygems_version: !ruby/object:Gem::Requirement
120
- none: false
121
113
  requirements:
122
- - - ! '>='
114
+ - - ">="
123
115
  - !ruby/object:Gem::Version
124
116
  version: 1.3.6
125
117
  requirements: []
126
118
  rubyforge_project:
127
- rubygems_version: 1.8.24
119
+ rubygems_version: 2.4.7
128
120
  signing_key:
129
- specification_version: 3
121
+ specification_version: 4
130
122
  summary: A new style forum for small communitys.
131
123
  test_files: []
124
+ has_rdoc: