Skip to content

Commit

Permalink
renames the gem from "ice_kickstarter" to "infopark_kickstarter"
Browse files Browse the repository at this point in the history
+ fixes #16
  • Loading branch information
Falk Köppe committed Mar 8, 2013
1 parent 327c448 commit facd967
Show file tree
Hide file tree
Showing 69 changed files with 225 additions and 224 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# v1.0.0
* Renamed gem from `ice_kickstarter` to `infopark_kickstarter`.
* Bugfix: Newrelic generator did not insert the correct website name in the deploy files. It also
does not depend on the kickstart generator anymore.
* Bugfix: The dashboard does no longer depend on the flash messages of the
Expand Down Expand Up @@ -81,7 +82,7 @@
* Included [BetterErrors](https://github.com/charliesome/better_errors) and
[BindingOfCaller](https://github.com/banister/binding_of_caller) as core development gems. Also
added an developer initializer file that is ignored by default.
* The ICE Kickstarter now depends on Ruby 1.9.3. Please make sure to upgrade your Ruby version and
* The Infopark Kickstarter now depends on Ruby 1.9.3. Please make sure to upgrade your Ruby version and
use the latest Infopark gems. We recommend to use the new hash syntax throughout the project.
* Added authorization support to simply protect access to a page via a before filter. Use
```before_filter Filters::Authorization``` in your controller to protect the entire page.
Expand All @@ -92,7 +93,7 @@
Have a look at ```app/models/user.rb``` for how it is implemented exactly.
* Added optional contact_page component that is connected to the WebCRM and prefills email, when
user is logged in. Call ```rails generate cms:component:contact_page```.
* Added ICE Developer Dashboard mounted under ```/cms/dashboard```. The dashboard
* Added Infopark Developer Dashboard mounted under ```/cms/dashboard```. The dashboard
is only available for local requests and completely separated from your Ruby on Rails
application.
* Bugfix: Workspace Toggle no longer displays an empty list, when there is only one workspace.
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ice_kickstarter (0.0.5)
infopark_kickstarter (0.0.5)
bundler (>= 1.3.1)
haml
infopark_cloud_connector (>= 6.8.2.7.128454143)
Expand Down Expand Up @@ -169,8 +169,8 @@ PLATFORMS
DEPENDENCIES
generator_spec
haml
ice_kickstarter!
infopark_cloud_connector (>= 6.8.2.7.128454143)
infopark_kickstarter!
infopark_rails_connector (>= 6.8.2.7.128454143)
pry
redcarpet
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ICE Kickstarter
# Infopark Kickstarter

The Kickstarter provides generators and rake tasks to quickly setup or enhance an [Infopark
Cloud Express](http://infopark.de/infopark-cloud-express) Ruby on Rails project. All generated code
Expand All @@ -19,9 +19,9 @@ Please visit our Knowledge Base to get the

## Testing

There are two types of tests. First there are standard rspec tests of the ICE Kickstarter engine.
Those include tests for the dashboard and for all generators. You can run these tests by simply
calling:
There are two types of tests. First there are standard rspec tests of the Infopark Kickstarter
engine. Those include tests for the dashboard and for all generators. You can run these tests by
simply calling:

$ rake spec

Expand All @@ -30,15 +30,15 @@ There are also integration tests, that can be run by:
$ rake test:integration

In order to run them successfully, you need to create a ```config/local.yml``` file and put in your
test tenant data. See [local.yml.template](https://github.com/infopark/ice_kickstarter/blob/master/config/local.yml.template)
test tenant data. See [local.yml.template](https://github.com/infopark/infopark_kickstarter/blob/master/config/local.yml.template)
for what is needed exactly. The integration tests create an entire new application execute
```rails generate cms:kickstart``` and run a few other generators and then execute the tests of the
newly created application.


## Changelog

See [Changelog](https://github.com/infopark/ice_kickstarter/blob/master/CHANGELOG.md) for more
See [Changelog](https://github.com/infopark/infopark_kickstarter/blob/master/CHANGELOG.md) for more
details.


Expand All @@ -52,8 +52,8 @@ do so any time by following the steps below.
and CRM tenant in the Infopark console.
2. Fork and clone the Infopark Kickstarter Github repository.

git clone [email protected]:_username_/ice_kickstarter.git
cd ice_kickstarter
git clone [email protected]:_username_/infopark_kickstarter.git
cd infopark_kickstarter

3. We suggest using [rbenv](https://github.com/sstephenson/rbenv/). Anyway, compare your local Ruby
version with the version given in `.ruby-version` and install it if necessary.
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ YARD::Rake::YardocTask.new
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

require 'ice_kickstarter/rake/integration_task'
IceKickstarter::Rake::IntegrationTask.new
require 'infopark_kickstarter/rake/integration_task'
InfoparkKickstarter::Rake::IntegrationTask.new

task default: :spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module IceKickstarter
module InfoparkKickstarter
class DashboardsController < ApplicationController
layout 'ice_kickstarter/dashboard'
layout 'infopark_kickstarter/dashboard'

before_filter :require_local!

Expand Down
17 changes: 0 additions & 17 deletions app/views/ice_kickstarter/dashboards/content.html.haml

This file was deleted.

38 changes: 0 additions & 38 deletions app/views/ice_kickstarter/dashboards/help/_links.html.haml

This file was deleted.

10 changes: 0 additions & 10 deletions app/views/ice_kickstarter/dashboards/people.html.haml

This file was deleted.

17 changes: 17 additions & 0 deletions app/views/infopark_kickstarter/dashboards/content.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.row-fluid
%h1
CMS &amp; CRM Content

%p
Gives you an overview of what currently is going on in the CMS and CRM.

.row-fluid
.span6.well.well-small
= render('infopark_kickstarter/dashboards/content/cms_stats', stats: @cms_stats)

.span6.well.well-small
= render('infopark_kickstarter/dashboards/content/crm_stats', stats: @crm_stats)

.row-fluid
.span12
= render('infopark_kickstarter/dashboards/content/recently_published', recently_published: @cms_stats.recently_published)
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
below. Don't forget the feedback button, if you miss anything.

.row-fluid
= render('ice_kickstarter/dashboards/help/links')
= render('infopark_kickstarter/dashboards/help/links')

.row-fluid
= render('ice_kickstarter/dashboards/help/updates', gems: @gems)
= render('infopark_kickstarter/dashboards/help/updates', gems: @gems)
38 changes: 38 additions & 0 deletions app/views/infopark_kickstarter/dashboards/help/_links.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
%h2
Helpful Links

%ul
%li
= link_to(Rails.configuration.infopark_kickstarter.cms_url, target: :_blank) do
Infopark CMS GUI

%li
= link_to(Rails.configuration.infopark_kickstarter.crm_url, target: :_blank) do
Infopark CRM GUI

%li
= link_to(Rails.configuration.infopark_kickstarter.konsole_url, target: :_blank) do
Infopark Console and Project Management

%hr

%ul
%li
= link_to(Rails.configuration.infopark_kickstarter.knowledge_base_url, target: :_blank) do
Infopark Knowledge Base

%li
= link_to(Rails.configuration.infopark_kickstarter.support_url, target: :_blank) do
Infopark Support

%li
= link_to(Rails.configuration.infopark_kickstarter.status_url, target: :_blank) do
Infopark SaaS Status Page

%li
= link_to(Rails.configuration.infopark_kickstarter.github_repository_url, target: :_blank) do
Github Repository

%li
= link_to(Rails.configuration.infopark_kickstarter.github_repository_issues_url, target: :_blank) do
Github Repository Issues
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
that newer versions of core gems are available. To update, add the new version to your Gemfile
and run <strong>bundle update &quot;name of the gem&quot;</strong>. When Infopark Software like
the Rails- or CrmConnector is updated, you can check the
<a href="#{Rails.configuration.ice_kickstarter.cms_blog_url}" target="_blank">CMS Blog</a> and the
<a href="#{Rails.configuration.ice_kickstarter.crm_blog_url}" target="_blank">CRM Blog</a> to see what has changed.
<a href="#{Rails.configuration.infopark_kickstarter.cms_blog_url}" target="_blank">CMS Blog</a> and the
<a href="#{Rails.configuration.infopark_kickstarter.crm_blog_url}" target="_blank">CRM Blog</a> to see what has changed.

%table.table
%thead
Expand All @@ -22,4 +22,4 @@
Status

%tbody
= render(partial: 'ice_kickstarter/dashboards/help/gem', collection: gems)
= render(partial: 'infopark_kickstarter/dashboards/help/gem', collection: gems)
10 changes: 10 additions & 0 deletions app/views/infopark_kickstarter/dashboards/people.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.row-fluid
%h1
Editors &amp; Developers

.row-fluid
.span6
= render('infopark_kickstarter/dashboards/people/editors', editors: @editors)

.span6
= render('infopark_kickstarter/dashboards/people/developers', developers: @developers)
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- editors.each do |editor|
%tr
%td
= link_to(Rails.configuration.ice_kickstarter.contact_url(editor.id), target: :_blank) do
= link_to(Rails.configuration.infopark_kickstarter.contact_url(editor.id), target: :_blank) do
= [editor.last_name, editor.first_name].compact.join(', ')

%td
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<strong>rails generate cms:attribute</strong>.

.row-fluid
= render('layouts/ice_kickstarter/dashboard/workspace_toggle')
= render('layouts/infopark_kickstarter/dashboard/workspace_toggle')

= render('ice_kickstarter/dashboards/show/obj_class_details', stats: @meta_stats)
= render('infopark_kickstarter/dashboards/show/obj_class_details', stats: @meta_stats)

= render('ice_kickstarter/dashboards/show/attribute_details', stats: @meta_stats)
= render('infopark_kickstarter/dashboards/show/attribute_details', stats: @meta_stats)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- next unless item

.span6.well.well-small
= render('ice_kickstarter/dashboards/show/attribute', attribute: item)
= render('infopark_kickstarter/dashboards/show/attribute', attribute: item)

- stats.grouped_attributes.each do |type, list|
.progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
= obj_class.type

- if obj_class.attributes?
= render('ice_kickstarter/dashboards/show/attributes', attributes: obj_class.attributes)
= render('infopark_kickstarter/dashboards/show/attributes', attributes: obj_class.attributes)

- if obj_class.mandatory_attributes?
= render('ice_kickstarter/dashboards/show/mandatory_attributes', attributes: obj_class.mandatory_attributes)
= render('infopark_kickstarter/dashboards/show/mandatory_attributes', attributes: obj_class.mandatory_attributes)

- if obj_class.preset_attributes?
= render('ice_kickstarter/dashboards/show/preset_attributes', attributes: obj_class.preset_attributes)
= render('infopark_kickstarter/dashboards/show/preset_attributes', attributes: obj_class.preset_attributes)
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
- next unless item

.span6.well.well-small
= render('ice_kickstarter/dashboards/show/obj_class', obj_class: item)
= render('infopark_kickstarter/dashboards/show/obj_class', obj_class: item)
46 changes: 0 additions & 46 deletions app/views/layouts/ice_kickstarter/dashboard.html.haml

This file was deleted.

Loading

0 comments on commit facd967

Please sign in to comment.