Skip to content

Commit

Permalink
rename active_admin to activeadmin
Browse files Browse the repository at this point in the history
& clean up all the old references to gregbell/*
  • Loading branch information
seanlinsley committed Aug 20, 2014
1 parent 2936f3a commit 1e938ac
Show file tree
Hide file tree
Showing 11 changed files with 242 additions and 242 deletions.
422 changes: 211 additions & 211 deletions CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ like you that make Active Admin such a great tool.
If you've noticed a bug or have a question that doesn't belong on the
[mailing list](http://groups.google.com/group/activeadmin) or
[Stack Overflow](http://stackoverflow.com/questions/tagged/activeadmin),
the first step is to [do a quick search](https://github.com/gregbell/active_admin/search?q=something&type=Issues)
the first step is to [do a quick search](https://github.com/activeadmin/activeadmin/search?q=something&type=Issues)
to see if someone else in the community has already created a ticket.
If not, then go ahead and [make one](https://github.com/gregbell/active_admin/issues/new)!
If not, then go ahead and [make one](https://github.com/activeadmin/activeadmin/issues/new)!

### 2. Fork & create a branch

Expand Down Expand Up @@ -110,7 +110,7 @@ At this point, you should switch back to your master branch and make sure it's
up to date with Active Admin's master branch:

```sh
git remote add upstream git@github.com:gregbell/active_admin.git
git remote add upstream git@github.com:activeadmin/activeadmin.git
git checkout master
git pull upstream master
```
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require File.expand_path 'spec/support/detect_rails_version', File.dirname(__FIL
rails_version = detect_rails_version
gem 'rails', rails_version

gem 'arbre', github: 'gregbell/arbre' # until gregbell/arbre#16 makes it into an official release
gem 'arbre', github: 'activeadmin/arbre' # until activeadmin/arbre#16 makes it into an official release

# Optional dependencies
gem 'cancan'
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

Active Admin is a Ruby on Rails framework for creating elegant backends for website administration.

[![Version ](http://img.shields.io/gem/v/activeadmin.svg) ](https://rubygems.org/gems/activeadmin)
[![Travis CI ](http://img.shields.io/travis/activeadmin/active_admin/master.svg) ](https://travis-ci.org/activeadmin/active_admin)
[![Quality ](http://img.shields.io/codeclimate/github/activeadmin/active_admin.svg)](https://codeclimate.com/github/activeadmin/active_admin)
[![Coverage ](http://img.shields.io/coveralls/activeadmin/active_admin.svg) ](https://coveralls.io/r/activeadmin/active_admin)
[![Gittip ](http://img.shields.io/gittip/activeadmin.svg) ](https://gittip.com/activeadmin)
[![Inline docs ](http://inch-ci.org/github/activeadmin/active_admin.svg?branch=master) ](http://inch-ci.org/github/activeadmin/active_admin)
[![Version ](http://img.shields.io/gem/v/activeadmin.svg) ](https://rubygems.org/gems/activeadmin)
[![Travis CI](http://img.shields.io/travis/activeadmin/activeadmin/master.svg) ](https://travis-ci.org/activeadmin/activeadmin)
[![Quality ](http://img.shields.io/codeclimate/github/activeadmin/activeadmin.svg)](https://codeclimate.com/github/activeadmin/activeadmin)
[![Coverage ](http://img.shields.io/coveralls/activeadmin/activeadmin.svg) ](https://coveralls.io/r/activeadmin/activeadmin)
[![Gittip ](http://img.shields.io/gittip/activeadmin.svg) ](https://gittip.com/activeadmin)
[![Inch CI ](http://inch-ci.org/github/activeadmin/activeadmin.svg?branch=master) ](http://inch-ci.org/github/activeadmin/activeadmin)

## State of the project

### 1.0.0

We're [currently working on 1.0.0](https://github.com/activeadmin/active_admin/issues?milestone=18),
We're [currently working on 1.0.0](https://github.com/activeadmin/activeadmin/issues?milestone=18),
which as far as dependencies, moves us from meta_search to Ransack and adds Rails 4 support.
You can get Rails 4 and 4.1 support by tracking master:

```ruby
gem 'activeadmin', github: 'activeadmin/active_admin'
gem 'activeadmin', github: 'activeadmin'
```

### 0.6.x
Expand All @@ -28,13 +28,13 @@ still be maintained, and we will backport bug fixes into future 0.6.x releases.
to have to wait for a release, you can track the branch instead:

```ruby
gem 'activeadmin', github: 'activeadmin/active_admin', branch: '0-6-stable'
gem 'activeadmin', github: 'activeadmin', branch: '0-6-stable'
```

## Documentation

Please note that <http://activeadmin.info> is out of date. For the latest docs, check out the
Github [docs folder](https://github.com/activeadmin/active_admin/tree/master/docs) and the [wiki](https://github.com/activeadmin/active_admin/wiki).
Github [docs folder](https://github.com/activeadmin/activeadmin/tree/master/docs) and the [wiki](https://github.com/activeadmin/activeadmin/wiki).

## Links

Expand All @@ -43,7 +43,7 @@ Github [docs folder](https://github.com/activeadmin/active_admin/tree/master/doc
* Documentation
* Guides: <http://activeadmin.info/documentation.html>
* YARD: <http://rubydoc.info/gems/activeadmin/frames>
* Wiki: <https://github.com/activeadmin/active_admin/wiki>
* Wiki: <https://github.com/activeadmin/activeadmin/wiki>

## Goals

Expand All @@ -53,7 +53,7 @@ Github [docs folder](https://github.com/activeadmin/active_admin/tree/master/doc

## Getting started

Check out [the docs](https://github.com/activeadmin/active_admin/blob/master/docs/0-installation.md)!
Check out [the docs](https://github.com/activeadmin/activeadmin/blob/master/docs/0-installation.md)!

## Need help?

Expand All @@ -63,7 +63,7 @@ Ask us in IRC ([#activeadmin](https://webchat.freenode.net/?channels=activeadmin

## Want to contribute?

The [contributing guide](https://github.com/activeadmin/active_admin/blob/master/CONTRIBUTING.md)
The [contributing guide](https://github.com/activeadmin/activeadmin/blob/master/CONTRIBUTING.md)
is a good place to start. If you have questions, feel free to ask
[@seanlinsley](https://twitter.com/seanlinsley).

Expand All @@ -81,7 +81,7 @@ Tool | Description
[Kaminari] | Elegant pagination for any sort of collection
[Ransack] | Provides a simple search API to query your data

[Arbre]: https://github.com/gregbell/arbre
[Arbre]: https://github.com/activeadmin/arbre
[Devise]: https://github.com/plataformatec/devise
[Formtastic]: https://github.com/justinfrench/formtastic
[Iconic Icons]: http://somerandomdude.com/projects/iconic
Expand Down
8 changes: 4 additions & 4 deletions docs/0-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ end

If you're getting the error `wrong number of arguments (6 for 4..5)`, [read #2703].

[CHANGELOG]: https://github.com/gregbell/active_admin/blob/master/CHANGELOG.md
[dashboard.rb]: https://github.com/gregbell/active_admin/blob/master/lib/generators/active_admin/install/templates/dashboard.rb
[active_admin.rb]: https://github.com/gregbell/active_admin/blob/master/lib/generators/active_admin/install/templates/active_admin.rb.erb
[read #2703]: https://github.com/gregbell/active_admin/issues/2703#issuecomment-38140864
[CHANGELOG]: https://github.com/activeadmin/activeadmin/blob/master/CHANGELOG.md
[dashboard.rb]: https://github.com/activeadmin/activeadmin/blob/master/lib/generators/active_admin/install/templates/dashboard.rb
[active_admin.rb]: https://github.com/activeadmin/activeadmin/blob/master/lib/generators/active_admin/install/templates/active_admin.rb.erb
[read #2703]: https://github.com/activeadmin/activeadmin/issues/2703#issuecomment-38140864
4 changes: 2 additions & 2 deletions docs/1-general-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ config.site_title_image = "http://www.google.com/images/logos/google_logo_41.png
## Internationalization (I18n)

To translate Active Admin to a new language or customize an existing translation, you can copy
[config/locales/en.yml](https://github.com/gregbell/active_admin/blob/master/config/locales/en.yml)
[config/locales/en.yml](https://github.com/activeadmin/activeadmin/blob/master/config/locales/en.yml)
to your application's `config/locales` folder and update it. We welcome new/updated translations,
so feel free to [contribute!](https://github.com/gregbell/active_admin/blob/master/CONTRIBUTING.md).
so feel free to [contribute!](https://github.com/activeadmin/activeadmin/blob/master/CONTRIBUTING.md).
To translate third party gems like devise, use for example devise-i18n.

## Namespaces
Expand Down
4 changes: 2 additions & 2 deletions docs/13-authorization-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ config.authorization_adapter = ActiveAdmin::CanCanAdapter

You can also specify a method to be called on unauthorized access. This is necessary
in order to prevent a redirect loop that can happen if a user tries to access a page
they don't have permissions for (see [#2081](https://github.com/gregbell/active_admin/issues/2081)).
they don't have permissions for (see [#2081](https://github.com/activeadmin/activeadmin/issues/2081)).
```ruby
config.on_unauthorized_access = :access_denied
```
Expand Down Expand Up @@ -242,4 +242,4 @@ initializer:
config.authorization_adapter = ActiveAdmin::PunditAdapter
```

You can simply use Pundit the way that you would expect and Active Admin will use it for authorization. Check Pundit's documentation to [set up Pundit in your application](https://github.com/elabs/pundit#installation). If you want to use batch actions just ensure that `destroy_all?` method is defined in your policy class. You can use this [template policy](https://github.com/gregbell/active_admin/blob/master/spec/support/templates/policies/application_policy.rb) in your application instead of default one generated by Pundit's `rails g pundit:install` command.
You can simply use Pundit the way that you would expect and Active Admin will use it for authorization. Check Pundit's documentation to [set up Pundit in your application](https://github.com/elabs/pundit#installation). If you want to use batch actions just ensure that `destroy_all?` method is defined in your policy class. You can use this [template policy](https://github.com/activeadmin/activeadmin/blob/master/spec/support/templates/policies/application_policy.rb) in your application instead of default one generated by Pundit's `rails g pundit:install` command.
2 changes: 1 addition & 1 deletion docs/6-show-pages.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Customize the Show Page

The show block is rendered within the context of the view and uses [Arbre](https://github.com/gregbell/arbre) syntax.
The show block is rendered within the context of the view and uses [Arbre](https://github.com/activeadmin/arbre) syntax.

With the `show` block, you can render anything you want.

Expand Down
2 changes: 1 addition & 1 deletion docs/7-sidebars.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end
This will generate a sidebar on every page for that resource. The first
argument is used as the title, and can be a symbol, string, or lambda.

You can also use [Arbre](https://github.com/gregbell/arbre) to define HTML content.
You can also use [Arbre](https://github.com/activeadmin/arbre) to define HTML content.

```ruby
sidebar :help do
Expand Down
2 changes: 1 addition & 1 deletion lib/generators/active_admin/resource/templates/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<% if Rails::VERSION::MAJOR == 4 || defined?(ActionController::StrongParameters) %>
# See permitted parameters documentation:
# https://github.com/gregbell/active_admin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
#
# permit_params :list, :of, :attributes, :on, :model
#
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/views/components/panel_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let(:arbre_panel) do
render_arbre_component do
panel "My Title", icon: :arrow_down do
header_action link_to("My Link", "https://www.github.com/gregbell/active_admin")
header_action link_to("My Link", "https://www.github.com/activeadmin/activeadmin")
span("Hello World")
end
end
Expand All @@ -19,7 +19,7 @@
it "should add panel actions to the panel header" do
link = panel_html.find('h3 > div.header_action a')
expect(link.text).to eq('My Link')
expect(link[:href]).to eq("https://www.github.com/gregbell/active_admin")
expect(link[:href]).to eq("https://www.github.com/activeadmin/activeadmin")
end

it "should have a contents div" do
Expand Down

0 comments on commit 1e938ac

Please sign in to comment.