insight_rails 0.1.1 → 0.1.2

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.md CHANGED
@@ -4,21 +4,21 @@ Rails engine to access support requests and knowledge base articles stored in Fa
4
4
 
5
5
  ## Installation
6
6
 
7
- Add insight to your applications dependencies.
8
-
9
- For Rails 2
10
-
11
- gem.config "insight_rails", :lib => "insight"
7
+ Add insight to your applications dependencies. Currently the generators only support Rails 2.
12
8
 
13
9
  For those using bundler
14
10
 
15
11
  gem "insight_rails", :require => "insight"
12
+
13
+ Other wise add to your environment.rb
14
+
15
+ gem.config "insight_rails", :lib => "insight"
16
16
 
17
- Make sure your development database exists and run the generator:
17
+ Make sure your development database exists and that you have user and account models, then run the generator:
18
18
 
19
19
  script/generate insight
20
20
 
21
- Firstly, run the migration to add the crm_id field to your users table.
21
+ Now run the migration to add the crm_id field to your users table.
22
22
 
23
23
  Then update the insight initializer with details of your api_key, fatfree's url and your recaptcha keys.
24
24
 
@@ -37,6 +37,10 @@ Discussions can be viewed at:
37
37
  /help/browse
38
38
 
39
39
  This will pull through the issue_categories you setup in Fat Free.
40
+
41
+ ## Style
42
+
43
+ The app had a default stylesheet included. This is formatted using Sass so ensure your app has Sass installed.
40
44
 
41
45
  ## Copyright
42
46
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
  <ul>
6
6
  <% Issue.find(:all, :from => :latest).each do |issue| %>
7
7
  <li>
8
- <span><%= issue.created_at.strftime("%d %b %H:%H") %></span> <%= link_to(issue.title, help_issue_path(issue)) %>
8
+ <span><%= issue.created_at.strftime("%d %b %H:%H") %></span> <%= link_to(issue.subject, help_issue_path(issue)) %>
9
9
  </li>
10
10
  <% end %>
11
11
  </ul>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insight_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kieran Johnson