octokit 0.6.5 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/.rspec +1 -2
  2. data/.travis.yml +0 -1
  3. data/CHANGELOG.md +1 -0
  4. data/Gemfile +1 -1
  5. data/README.md +41 -28
  6. data/Rakefile +11 -0
  7. data/lib/faraday/response/raise_octokit_error.rb +4 -2
  8. data/lib/octokit/client.rb +2 -0
  9. data/lib/octokit/client/commits.rb +12 -0
  10. data/lib/octokit/client/events.rb +26 -0
  11. data/lib/octokit/client/issues.rb +35 -7
  12. data/lib/octokit/client/labels.rb +5 -5
  13. data/lib/octokit/client/objects.rb +10 -6
  14. data/lib/octokit/client/organizations.rb +25 -21
  15. data/lib/octokit/client/pub_sub_hubbub/service_hooks.rb +2 -2
  16. data/lib/octokit/client/pulls.rb +4 -4
  17. data/lib/octokit/client/repositories.rb +18 -18
  18. data/lib/octokit/client/users.rb +19 -14
  19. data/lib/octokit/configuration.rb +14 -11
  20. data/lib/octokit/connection.rb +3 -3
  21. data/lib/octokit/request.rb +17 -1
  22. data/lib/octokit/version.rb +1 -1
  23. data/octokit.gemspec +13 -12
  24. data/spec/fixtures/v3/blob.json +7 -0
  25. data/spec/fixtures/v3/commit_comment.json +19 -0
  26. data/spec/fixtures/v3/commit_comments.json +78 -0
  27. data/spec/fixtures/v3/emails.json +4 -0
  28. data/spec/fixtures/v3/followers.json +212 -0
  29. data/spec/fixtures/v3/following.json +209 -0
  30. data/spec/fixtures/v3/issue.json +37 -0
  31. data/spec/fixtures/v3/issue_closed.json +37 -0
  32. data/spec/fixtures/v3/issue_event.json +44 -0
  33. data/spec/fixtures/v3/issue_events.json +72 -0
  34. data/spec/fixtures/v3/list_commit_comments.json +572 -0
  35. data/spec/fixtures/v3/organization-repositories.json +4292 -0
  36. data/spec/fixtures/v3/organization-repository.json +42 -0
  37. data/spec/fixtures/v3/organization.json +18 -0
  38. data/spec/fixtures/v3/organization_members.json +576 -0
  39. data/spec/fixtures/v3/organization_team_members.json +16 -0
  40. data/spec/fixtures/v3/organization_team_repos.json +62 -0
  41. data/spec/fixtures/v3/organizations.json +44 -0
  42. data/spec/fixtures/v3/public_events.json +1110 -0
  43. data/spec/fixtures/v3/pull_created.json +138 -0
  44. data/spec/fixtures/v3/pull_request.json +138 -0
  45. data/spec/fixtures/v3/pull_requests.json +187 -0
  46. data/spec/fixtures/v3/repo_events.json +1668 -0
  47. data/spec/fixtures/v3/repo_issues_events.json +134 -0
  48. data/spec/fixtures/v3/team.json +8 -0
  49. data/spec/fixtures/v3/teams.json +4 -4
  50. data/spec/fixtures/v3/tree.json +112 -0
  51. data/spec/fixtures/v3/watched.json +1022 -0
  52. data/spec/helper.rb +3 -3
  53. data/spec/octokit/client/commits_spec.rb +33 -0
  54. data/spec/octokit/client/events_spec.rb +27 -0
  55. data/spec/octokit/client/issue_events_spec.rb +30 -0
  56. data/spec/octokit/client/issues_spec.rb +31 -20
  57. data/spec/octokit/client/labels_spec.rb +1 -1
  58. data/spec/octokit/client/objects_spec.rb +9 -8
  59. data/spec/octokit/client/organizations_spec.rb +56 -67
  60. data/spec/octokit/client/pulls_spec.rb +19 -18
  61. data/spec/octokit/client/repositories_spec.rb +24 -38
  62. data/spec/octokit/client/users_spec.rb +50 -51
  63. data/spec/octokit/client_spec.rb +16 -0
  64. metadata +111 -81
  65. data/puppeteer.jpg +0 -0
  66. data/spec/fixtures/v2/blob.json +0 -1
  67. data/spec/fixtures/v2/comment.json +0 -1
  68. data/spec/fixtures/v2/comments.json +0 -1
  69. data/spec/fixtures/v2/delete_failure.json +0 -1
  70. data/spec/fixtures/v2/delete_token.json +0 -1
  71. data/spec/fixtures/v2/emails.json +0 -1
  72. data/spec/fixtures/v2/followers.json +0 -1
  73. data/spec/fixtures/v2/following.json +0 -1
  74. data/spec/fixtures/v2/issue.json +0 -1
  75. data/spec/fixtures/v2/labels.json +0 -1
  76. data/spec/fixtures/v2/organization.json +0 -1
  77. data/spec/fixtures/v2/organizations.json +0 -1
  78. data/spec/fixtures/v2/public_keys.json +0 -1
  79. data/spec/fixtures/v2/pull.json +0 -1
  80. data/spec/fixtures/v2/pulls.json +0 -1
  81. data/spec/fixtures/v2/tags.json +0 -1
  82. data/spec/fixtures/v2/team.json +0 -1
  83. data/spec/fixtures/v2/teams.json +0 -1
  84. data/spec/fixtures/v2/tree.json +0 -1
Binary file
@@ -1 +0,0 @@
1
- {"blob":{"name":"README.mkd","data":"RailsAdmin\n==========\nRailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data.\n\nRailsAdmin started as a port of [MerbAdmin](http://github.com/sferik/merb-admin) to Rails 3\nand was implemented as a [Ruby Summer of Code project](http://www.rubysoc.org/projects)\nby [Bogdan Gaza](http://github.com/hurrycane) with mentors [Erik Michaels-Ober](http://github.com/sferik),\n[Yehuda Katz](http://github.com/wycats),\n[Luke van der Hoeven](http://github.com/plukevdh), and [Rein Henrichs](http://github.com/reinh).\n\nIt currently offers the following features:\n\n* Display database tables\n* Create new data\n* Easily update data\n* Safely delete data\n* Automatic form validation\n* Search\n* Authentication (via [Devise](http://github.com/plataformatec/devise))\n* User action history\n\nSupported ORMs:\n\n* ActiveRecord\n\n_[Information](https://github.com/sferik/rails_admin/issues/105) about support for other ORMs._\n\nHelp\n----\nIf you have a question, you can ask the [official RailsAdmin mailing list](http://groups.google.com/group/rails_admin)\nor ping sferik on IRC in [#railsadmin on irc.freenode.net](http://webchat.freenode.net/?channels=railsadmin).\n\nScreenshots\n-----------\n![List view](https://github.com/sferik/rails_admin/raw/master/screenshots/list.png \"List view\")\n![Edit view](https://github.com/sferik/rails_admin/raw/master/screenshots/edit.png \"Edit view\")\n\nInstallation\n------------\nIn your `Gemfile`, add the following dependency:\n gem 'devise' # Devise must be required before RailsAdmin\n gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'\nRun:\n $ bundle install\nAnd then run:\n $ rails generate rails_admin:install_admin\nThis task will install RailsAdmin and [Devise](http://github.com/plataformatec/devise) if you\ndon't already have it installed. [Devise](http://github.com/plataformatec/devise) is strongly\nrecommended to protect your data from anonymous users.\n\nIf you plan to use Devise, but want to use a custom model for authentication\n(default is User) you can provide that as an argument for the installer. For example\nto override the default with a Member model run:\n $ rails generate rails_admin:install_admin member\n\nIf you want to use the CKEditor, you need to [download it](http://ckeditor.com/download) from source\nand unpack the 'ckeditor' folder into your default 'public/javascripts' folder. If you're using any\nnon-Windows system, you can try to use the automatic downloader:\n $ rake admin:ckeditor_download\n\nWhen running RailsAdmin in production the images, stylesheets, and javascript assets may return 404\nnot found error's depending on your servers static assets configuration. To prevent this issue you\ncan copy assets directly into your application by running:\n $ rake admin:copy_assets\n \nUsage\n-----\nStart the server:\n $ rails server\nYou should now be able to administer your site at <http://localhost:3000/admin>\n\nConfiguration\n-------------\nRailsAdmin provides its out of the box administrative interface by inspecting your application's\nmodels and following some Rails conventions. For a more tailored experience, it also provides a\nconfiguration DSL which allows you to customize many aspects of the interface.\n\nThe configuration code should be placed in an initializer file, for example:\n config/initializers/rails_admin.rb\n\n### General\n\nYou can customize authentication by providing a custom block for `RailsAdmin.authenticate_with`.\nTo disable authentication, pass an empty block:\n\n RailsAdmin.authenticate_with {}\n\nYou can exclude models from RailsAdmin by appending those models to `excluded_models`:\n\n RailsAdmin.config do |config|\n config.excluded_models << ClassName\n end\n\n### Navigation ###\n\n* hiding a model\n* setting the model's label\n* configuring the number of visible tabs\n\n**Hiding a model**\n\nYou can hide a model from the top navigation by marking its `visible` option\nas false within the model's navigation configuration section:\n\nBy passing the value as an argument:\n\n RailsAdmin.config do |config|\n config.model Team do\n navigation do\n visible false\n end\n end\n end\n\nOr by passing a block that will be lazy evaluated each time the option is read:\n\n RailsAdmin.config do |config|\n config.model Team do\n navigation do\n visible { false }\n end\n end\n end\n\nThese two examples also work as a generic example of how most of the\nconfiguration options function within RailsAdmin. You can pass a value as an\nargument `option_name value`, or you can pass in a block which will be\nevaluated each time the option is read. Notable is that boolean options' reader\naccessors will be appended with ? whereas the writers will not be. That is, if\nyou want to get the Team model's visibility in navigation, you use\n`RailsAdmin.config(Team).navigation.visible?`.\n\nBack to navigation configuration - there is also an alias method that can be used:\n\n RailsAdmin.config do |config|\n config.model Team do\n hide_from_navigation\n end\n end\n\nAnd also a reverse alias method to make it visible again:\n\n RailsAdmin.config do |config|\n config.model Team do\n show_in_navigation\n end\n end\n\nBoth also accept a block:\n\n RailsAdmin.config do |config|\n config.model Team do\n # Hide Team from navigation on Sundays\n hide_from_navigation do\n Time.now.wday == 0\n end\n end\n end\n\n*NOTE* - The hide_from_navigation method was originally implemented as\n hide_in_navigation but that name is now deprecated - you should\n change your code to use hide_from_navigation.\n\n**Setting the model's label**\n\nIf you need to customize the label of the model within the navigation tab, use:\n\n RailsAdmin.config do |config|\n config.model Team do\n navigation do\n label \"List of teams\"\n end\n end\n end\n\nRemember, you can also pass the value as an argument or as a block as with the\nbefore mentioned visibility options. Besides that, the label also has a\nshorthand syntax:\n\n RailsAdmin.config do |config|\n config.model Team do\n label_for_navigation \"List of teams\"\n end\n end\n\nwhich allows both forms of configuration value passing as well.\n\n**Configuring the number of visible tabs**\n\nYou can configure the number of tabs visible in the top navigation:\n\n RailsAdmin.config do |config|\n config.navigation.max_visible_tabs 3\n end\n\nLinks to the rest of the models will be rendered in a drop down menu next to the\ntabs. Even though this option is not model specific, it shares the same\nsemantics as the earlier ones - you can also pass in a block or pass the value\nas an argument by omitting the equals sign.\n\n### List view\n\n* Number of items per page\n* Number of items per page per model\n* Fields\n * Visibility and ordering\n * Label\n * Output formatting\n * Sortability\n * Column CSS class\n * Column width\n * The object_label method\n\n**Number of items per page**\n\nYou can configure the default number of rows rendered per page:\n\n RailsAdmin.config do |config|\n config.list.default_items_per_page = 50\n end\n\n**Number of items per page per model**\n\nYou can also configure it per model:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n items_per_page 100\n end\n end\n end\n\n**Fields - Visibility and ordering**\n\nBy default all fields are visible, but they are not presented in any particular\norder. If you specifically declare fields, only defined fields will be visible\nand they will be presented in the order defined:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name\n field :created_at\n end\n end\n end\n\nThis would show only \"name\" and \"created at\" columns in the list view.\n\nIf you need to hide fields based on some logic on runtime (for instance\nauthorization to view field) you can pass a block for the `visible` option\n(including its `hide` and `show` accessors):\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name\n field :created_at\n field :revenue do\n visible do\n current_user.roles.include?(:accounting) # metacode\n end\n end\n end\n end\n end\n\nNote that above example's authorization conditional is not runnable code, just\nan imaginary example. You need to provide RailsAdmin with your own\nauthorization scheme for which you can find a guide at the end of this file.\n\n**Fields - Label**\n\nThe header of a list view column can be changed with the familiar label method:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name do\n label \"Title\"\n end\n field :created_at do\n label \"Created on\"\n end\n end\n end\n end\n\nAs in the previous example this would show only columns for fields \"name\" and\n\"created at\" and their headers would have been renamed to \"Title\" and\n\"Created on\".\n\n**Fields - Output formatting**\n\nThe field's output can be modified:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name do\n formatted_value do\n value.to_s.upcase\n end\n end\n field :created_at\n end\n end\n end\n\nThis would render all the teams' names uppercased.\n\nThe field declarations also have access to a bindings hash which contains the\ncurrent record instance in key :object and the view instance in key :view.\nVia :object we can access other columns' values and via :view we can access our\napplication's view helpers:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name do\n formatted_value do\n bindings[:view].tag(:img, { :src => bindings[:object].logo_url }) << value\n end\n end\n field :created_at\n end\n end\n end\n\nThis would output the name column prepended with team's logo using the `tag`\nview helper. This example uses `value` method to access the name field's value,\nbut that could be written more verbosely as `bindings[:object].name`.\n\nFields of different date types (date, datetime, time, timestamp) have two extra\noptions to set the time formatting:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name\n field :created_at do\n date_format :short\n end\n field :updated_at do\n strftime_format \"%Y-%m-%d\"\n end\n end\n end\n end\n\nThis would render all the teams' \"created at\" dates in the short format of your\napplication's locale and \"updated at\" dates in format YYYY-MM-DD. If both\noptions are defined for a single field, `strftime_format` has precedence over\n`date_format` option. For more information about localizing Rails see\n[Rails Internationalization API](http://edgeguides.rubyonrails.org/i18n.html#adding-date-time-formats)\nand [Rails I18n repository](https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale).\n\n**Fields - Sortability**\n\nYou can make a column non-sortable by setting the sortable option to false:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name\n field :created_at do\n sortable false\n end\n end\n end\n end\n\n**Fields - Column CSS class**\n\nBy default each column has a CSS class set according to field's data type. You\ncan customize this by:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name\n field :created_at do\n css_class \"customClass\"\n end\n end\n end\n end\n\nThis would render the \"created at\" field's header and body columns with a CSS class named\n\"customClass\".\n\n**Fields - Column width**\n\nBy default columns' widths are calculated from certain pre-defined,\ndata-type-specific pixel values. If you want to ensure a minimum width for a\ncolumn, you can:\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n field :name do\n column_width 200\n end\n field :created_at\n end\n end\n end\n\n**Fields - The object_label method**\n\nList section has a configuration option `object_label` which configures\nthe title of a single database record.\n\nBy default it queries if the record in question has columns named \"name\" or\n\"title\". If neither is found it returns the model's classname appended with its\ndatabase identifier.\n\nThis value is used in a number of places in RailsAdmin - for instance as the\noutput of belongs to associations in the listing views of related models, as\nthe option labels of the relational fields' input widgets in the edit views of\nrelated models and as part of the audit information stored in the history\nrecords - so keep in mind that this configuration option has widespread\neffects.\n\n RailsAdmin.config do |config|\n config.model Team do\n list do\n object_label do\n \"#{bindings[:object].name} - #{bindings[:object].league.name}\"\n end\n end\n end\n end\n\nThis would output \"Team's name - Team's league's name\" in all the places\nmentioned in paragraph above example.\n\n### Create and update views\n\n* Field groupings\n * Visibility\n * Labels\n * Syntax\n* Fields\n * Rendering\n * Overriding field type\n * Available field types\n * Creating a custom field type\n * Creating a custom field factory\n\n**Field groupings**\n\nBy default RailsAdmin groups fields in the edit views (create and update views)\nby including all database columns and belongs to associations to \"Basic info\"\ngroup which is displayed on top of form. Below that are displayed all the other\nassociations a model has, one group per association.\n\nThe configuration accessors are `edit`, `create` and `update`. First one is a\nbatch accessor which configures both create and update views. For consistency,\nthese examples only include the batch accessor `edit`, but if you need differing\ncreate and update views just replace `edit` with `create` or `update`.\n\n**Field groupings - visibility**\n\nField groups can be hidden:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n group :default do\n hide\n end\n end\n end\n end\n\nThis would hide the \"Basic info\" group which is accessed by the symbol :default.\nAssociations' groups can be accessed by the name of the association, such as\n:fans or :players. The hide method is just a shortcut for the actual `visible`\noption which was mentioned in the beginning of the navigation section.\n\n**Field groupings - labels**\n\nField groups can be renamed:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n group :default do\n label \"Team information\"\n end\n end\n end\n end\n\nThis would render \"Team information\" instead of \"Basic info\" as the groups label.\n\n**Field groupings - syntax**\n\nAs in the list view, the edit views' configuration blocks can directly\ncontain field configurations, but in edit views those configurations can\nalso be nested within group configurations. Below examples result an\nequal configuration:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n group :default do\n label \"Default group\"\n end\n field :name do\n label \"Title\"\n group :default\n end\n end\n end\n end\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n group :default do\n label \"Default group\"\n field :name do\n label \"Title\"\n end\n end\n end\n end\n end\n\nIn fact the first examples `group :default` configuration is unnecessary\nas the default group has already initialized all fields and belongs to\nassociations for itself.\n\n**Fields**\n\nJust like in the list view, all fields are visible by default. If you specifically\ndeclare fields, only defined fields will be visible and they will be presented\nin the order defined. Thus both examples would render a form with\nonly one group (labeled \"Default group\") that would contain only one\nelement (labeled \"Title\").\n\nIn the list view label is the text displayed in the field's column header, but\nin the edit views label literally means the html label element associated with\nfield's input element.\n\nNaturally edit views' fields also have the visible option along with\nhide and show accessors as the list view has.\n\n**Fields - rendering**\n\nThe edit view's fields are rendered using partials. Each field type has its own\npartial per default, but that can be overridden:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n field :name do\n partial \"my_awesome_partial\"\n end\n end\n end\n end\n\nThe partial should be placed in your applications template folder, such as\n`app/views/rails_admin/main/_my_awesome_partial.html.erb`.\n\nOne can also completely override the rendering logic:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n field :name do\n render do\n bindings[:view].render :partial => partial.to_s, :locals => {:field => self}\n end\n end\n end\n end\n end\n\nThat example is just the default rendering method, but it shows you that you\nhave access to the current template's scope with bindings[:view]. There's also\nbindings[:object] available, which is the database record being edited.\nBindings concept was introduced earlier in this document and the\nfunctionality is the same.\n\n**Fields - overriding field type**\n\nIf you'd like to override the type of the field that gets instantiated, the\nfield method provides second parameter which is field type as a symbol. For\ninstance, if we have a column that's a text column in the database, but we'd\nlike to have it as a string type we could accomplish that like this:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n field :description, :string do\n # configuration here\n end\n end\n end\n end\n\nIf no configuration needs to take place the configuration block could have been\nleft out:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n field :description, :string\n end\n end\n end\n\nA word of warning, if you make field declarations for the same field a number\nof times with a type defining second argument in place, the type definition\nwill ditch the old field configuration and load a new field instance in place.\n\n**Fields - Available field types**\n\nRailsAdmin ships with the following field types:\n\n* belongs_to_association\n* boolean\n* date\n* datetime\n* decimal\n* file_upload _does not initialize automatically_\n* paperclip_file _initializes automatically if Paperclip is present_\n* float\n* has_and_belongs_to_many_association\n* has_many_association\n* has_one_association\n* integer\n* password _initializes if string type column's name is password_\n* string\n* text\n* time\n* timestamp\n* virtual _useful for displaying data that is calculated a runtime\n(for example a method call on model instance)_\n\n**Fields - Creating a custom field type**\n\nIf you have a reuseable field you can define a custom class extending\n`RailsAdmin::Config::Fields::Base` and register it for RailsAdmin:\n\n RailsAdmin::Config::Fields::Types::register(:my_awesome_type, MyAwesomeFieldClass)\n\nThen you can use your custom class in a field:\n\n RailsAdmin.config do |config|\n config.model Team do\n edit do\n field :name, :my_awesome_type do\n # configuration here\n end\n end\n end\n end\n\n**Fields - Creating a custom field factory**\n\nType guessing can be overridden by registering a custom field \"factory\", but\nfor now you need to study `lib/rails_admin/config/fields/factories/*` for\nexamples if you want to use that mechanism.\n\n### Mass Assignment Operations ###\n\n* Mass assign for every model configuration\n* Mass assign for every section (create, list, navigation and update)\n* Mass assign by field type\n\n**Mass assign for every model configuration**\n\nMass assignment operations are used to pass in configuration blocks for\nmultiple targets at once. For instance, the code below configures every models'\nlabel displayed uppercased in the list view.\n\n RailsAdmin.config do |config|\n config.models do\n list do\n label do\n label.upcase # in this context label refers to default label method\n end\n end\n end\n end\n\n**Mass assign for every section (create, list, navigation and update)**\n\nIf one would like to assign that same behavior for all the different views in\nRailsAdmin (create, list, navigation and update) one could pass the label\ndefinition one level higher:\n\n RailsAdmin.config do |config|\n config.models do\n label do\n label.upcase\n end\n end\n end\n\nNaturally this also works for a single model configuration:\n\n RailsAdmin.config do |config|\n config.model Team do\n label do\n label.upcase\n end\n end\n end\n\n**Mass assign by field type**\n\nOne can also assign configurations for all fields by type. For instance\nmodifying the date presentation of all datetime fields in all sections can be\naccomplished like this:\n\n RailsAdmin.config do |config|\n config.models do\n fields_of_type :datetime do\n strftime_format \"%Y-%m-%d\"\n end\n end\n end\n\nAuthorization\n-------------\n\nRails Admin has no specific authorization requirements so you can use\nwhichever authz framework best suits your needs.\n\n### Declarative Authorization\n\n[Declarative Authorization](https://github.com/stffn/declarative_authorization)\nworks well with Rails Admin. You need to hook\ndeclarative_authorization's code into Rails Admin's controllers and\nwrite appropriate authorization declarations.\n\nYou can hook declarative_authorization into Rails Admin using code\nlike this in an initializer (e.g., config/initializers/rails_admin.rb):\n\n require \"rails_admin/application_controller\"\n\n module RailsAdmin\n class ApplicationController < ::ApplicationController\n filter_access_to :all\n end\n end\n\nBy default, access to the controllers will be denied to all users, so\nyou need to write some authz rules so that the appropriate users can\nget access. These rules will vary, but here's an example:\n\n authorization do\n role :admin do\n has_permission_on :rails_admin_history, :to => :list\n has_permission_on :rails_admin_main, :to => [:index, :show, :new, :edit, :create, :update, :destroy, :list, :delete, :get_pages, :show_history]\n end\n end\n\nThis will allow the :admin role to do everything, and will prevent all\nother roles from doing anything.\n\nContributing\n------------\nIn the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.\n\nHere are some ways *you* can contribute:\n\n* by using alpha, beta, and prerelease versions\n* by reporting bugs\n* by suggesting new features\n* by [translating to a new language](https://github.com/sferik/rails_admin/tree/master/config/locales)\n* by writing or editing documentation\n* by writing specifications\n* by writing code (**no patch is too small**: fix typos, add comments, clean up inconsistent whitespace)\n* by refactoring code\n* by resolving [issues](http://github.com/sferik/rails_admin/issues)\n* by reviewing patches\n\nSubmitting an Issue\n-------------------\nWe use the [GitHub issue tracker](http://github.com/sferik/rails_admin/issues) to track bugs and\nfeatures. Before submitting a bug report or feature request, check to make sure it hasn't already\nbeen submitted. You can indicate support for an existing issuse by voting it up. When submitting a\nbug report, please include a [Gist](http://gist.github.com/) that includes a stack trace and any\ndetails that may be necessary to reproduce the bug, including your gem version, Ruby version, and\noperating system. Ideally, a bug report should include a pull request with failing specs.\n\nSubmitting a Pull Request\n-------------------------\n1. Fork the project.\n2. Create a topic branch.\n3. Implement your feature or bug fix. *NOTE* - there's a small test app located in the spec/dummy_app directory that you can use to experiment with rails_admin.\n4. Add documentation for your feature or bug fix.\n5. Run `bundle exec rake doc:yard`. If your changes are not 100% documented, go back to step 4.\n6. Add specs for your feature or bug fix.\n7. Run `bundle exec rake spec`. If your changes are not 100% covered, go back to step 6.\n8. Commit and push your changes.\n9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)\n\nContact\n-------\nIf you have questions about contributing to RailsAdmin, please contact [Erik Michaels-Ober](http://github.com/sferik) and [Bogdan Gaza](http://github.com/hurrycane).\n","size":25325,"sha":"94616fa57520ac8147522c7cf9f03d555595c5ea","mode":"100644","mime_type":"text/plain"}}
@@ -1 +0,0 @@
1
- {"comment":{"gravatar_id":"1ccb5123d1af92e24b32cec62abcf9a8","created_at":"2010/10/03 20:12:22 -0700","body":"I don't think I'd like it in a CSV for a variety of reasons, but I do agree that it doesn't have to be AR. I would imagine if there was a patch and work done towards allowing a pluggable History model, it'd be at least considered. I don't have the time at the moment to do this, but I'd imagine you could start with abstracting out the calls to read/write History, ultimately allowing for a drop in of any storage structure. \r\n\r\nIn fact, it might be interesting to leverage wycats moneta towards this end: http://github.com/wycats/moneta","updated_at":"2010/10/03 20:12:22 -0700","id":445680,"user":"jackdempsey"}}
@@ -1 +0,0 @@
1
- {"comments":[{"gravatar_id":"1ccb5123d1af92e24b32cec62abcf9a8","created_at":"2010/10/03 20:12:22 -0700","body":"I don't think I'd like it in a CSV for a variety of reasons, but I do agree that it doesn't have to be AR. I would imagine if there was a patch and work done towards allowing a pluggable History model, it'd be at least considered. I don't have the time at the moment to do this, but I'd imagine you could start with abstracting out the calls to read/write History, ultimately allowing for a drop in of any storage structure. \r\n\r\nIn fact, it might be interesting to leverage wycats moneta towards this end: http://github.com/wycats/moneta","updated_at":"2010/10/03 20:12:22 -0700","id":445680,"user":"jackdempsey"},{"gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","created_at":"2010/10/04 12:06:32 -0700","body":"I'd like to port the code from being AR-specific to using OrmAdapter. It's a new project, but it has promise: http://github.com/ianwhite/orm_adapter/\n\nI have renamed this issue accordingly.","updated_at":"2010/12/16 20:16:03 -0800","id":447039,"user":"sferik"},{"gravatar_id":"9bee19040f2a9c6a901e33426a968135","created_at":"2010/10/04 12:10:29 -0700","body":"Out of curiosity, do people actually use the History. Seems like the kind of feature I could see myself adding into a project because \"it seems cool\" and then never actually using.","updated_at":"2010/10/04 12:10:29 -0700","id":447053,"user":"ryana"},{"gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","created_at":"2010/10/04 12:19:44 -0700","body":"When working in an organization with multiple people, the history feature provides an audit log of who created/edited/updated which records and when. IMHO, that is an important use case. That said, I would accept a patch to allow disabling of history via the configuration DSL.\n\nAm I wrong in believing that using OrmAdapter instead of calling ActiveRecord directly would solve this problem for you?","updated_at":"2010/10/04 12:26:30 -0700","id":447081,"user":"sferik"},{"gravatar_id":"9bee19040f2a9c6a901e33426a968135","created_at":"2010/10/04 12:23:27 -0700","body":"You are not wrong in believing that. I've never used rails_admin, or paid attention to the mailing list. I was innocently just wondering if anybody even used the feature. Does it ever get discussed, do people file bugs on it, do people make feature requests on it? Just wondering.\r\n\r\ntl;dr: You're right. I wasn't trying to be a dick, just being curious :)","updated_at":"2010/10/04 12:23:27 -0700","id":447089,"user":"ryana"},{"gravatar_id":"0f9580295f54106ce7c682eb652f4a1c","created_at":"2010/12/16 20:03:30 -0800","body":"+1 to making rails_admin ORM agnostic. Has any work started on this already?","updated_at":"2010/12/16 20:03:30 -0800","id":617944,"user":"fbjork"},{"gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","created_at":"2010/12/16 20:35:46 -0800","body":"See #157 for my thoughts on supporting multiple ORMs.\r\n\r\nIt's definitely something I'd like to see. I don't think anybody is working on it yet. Would you have any interest in adding support for more ORMs at the [RailsAdmin BugMash](https://github.com/sferik/rails_admin/wiki/bugmash) on Saturday?","updated_at":"2010/12/16 20:35:46 -0800","id":617986,"user":"sferik"},{"gravatar_id":"2d0ae6c4099c9b41df1f206541c5c7eb","created_at":"2010/12/21 19:02:06 -0800","body":"I'll be testing it on my fork and generating a patch that could be added to the trunk, using the orm, like devise did... in terms of the history, perhaps adding an option to --skip-history would be a solution to that issue, I can see situations were it wouldn't be needed if there were only one administrator and if memory were an issue, I'll see if can add that too. \r\nCheers ","updated_at":"2010/12/21 19:02:06 -0800","id":628911,"user":"cognition"},{"gravatar_id":"07fb1f108e968f7b8573307eefddd66f","created_at":"2011/01/10 14:05:09 -0800","body":"Is anybody working on this one ATM? If not, I think I can try. ","updated_at":"2011/01/10 14:05:09 -0800","id":667542,"user":"ml"},{"gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","created_at":"2011/01/10 14:37:16 -0800","body":"Go for it. I justed added your name to the ticket. Please post updates here as you go.","updated_at":"2011/01/10 14:38:21 -0800","id":667634,"user":"sferik"},{"gravatar_id":"233c279c012ebac792aaa805f966cbc7","created_at":"2011/01/11 09:10:30 -0800","body":"I'm going to leave a comment here along with my +1, so that I can get an update if this happens. I don't have time to build it myself, but I'd love to use it...","updated_at":"2011/01/11 09:10:30 -0800","id":669572,"user":"steveklabnik"},{"gravatar_id":"07fb1f108e968f7b8573307eefddd66f","created_at":"2011/01/11 16:50:10 -0800","body":"It turns out, that orm_adapter lacks some important methods like count and equivalent of ActiveRecord::Base#table_exists? I need to tinker with it for a while before continuing. ","updated_at":"2011/01/11 16:50:10 -0800","id":670784,"user":"ml"},{"gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","created_at":"2011/01/11 16:53:16 -0800","body":"You might want to take a look at veneer as an alternative: https://github.com/hassox/veneer\r\n\r\nIt looks like Daniel is now maintaining it again.","updated_at":"2011/01/11 16:53:16 -0800","id":670788,"user":"sferik"},{"gravatar_id":"07fb1f108e968f7b8573307eefddd66f","created_at":"2011/01/12 01:16:03 -0800","body":"Looks promising. ","updated_at":"2011/01/12 01:16:03 -0800","id":671391,"user":"ml"}]}
@@ -1 +0,0 @@
1
- {"error":"sferik/rails_admin_failure Repository not found"}
@@ -1 +0,0 @@
1
- {"delete_token":"uhihwkkkzu"}
@@ -1 +0,0 @@
1
- {"emails":["sferik@gmail.com"]}
@@ -1 +0,0 @@
1
- {"users":["puls","joearasin","webiest","burritovoltron","kevn","ephramzerb","pk","mmcgrana","intelliot","trafnar","hoverbird","collin","ryanemmm","joshbuddy","jaigouk","dianakimball","jamiew","bry4n","bumi","ruanwz","timtrueman","diegorv","gleuch","demet8","deepthawtz","bseanvt","reddavis","jackdempsey","aaronblohowiak","hasimo","heycarsten","smallacts","zacharyscott","railsjedi","hurrycane","cousinwil","minikermit","khreez","monteirobrena","benatkin","pengwynn","youreyeslie","maxogden","chadk","reddyonrails","webmaven","laserlemon","chachasikes","josepjaume","voltahouston","spagalloco","detierno","rednomad","filemon","slawosz","elliottcable","entangledstate","joshcarr","veganstraightedge","kcnickerson","kennethreitz","juno","surflightroy","AnthonyNystrom","shanlalit","fernyb","tembamazingi","itod","stefanfoulis","javierarce","mhaidarhanif","ctshryock","ntulip","foremire","ChaosSteffen","Raimondi","jcinteractive","nickludlam","patrickm","arikfr","lukaszkorecki","jwhitcraft","stevenh512","xen","filipeamoreira","martinciu","krekoten","sowawa","bhertach","Skipants","taylor","grlm","charlenopires","jamtur01","rdamen","jeffcarroll","miamiruby","toddsampson","vikingosegundo","jsmestad","stanislav","taniki","fabianoleite","soulim","devreq","mathieuravaux","mbmccormick","soarelenik","tonisuter","danmelton","CDC","pailoro","tocheskey","yuritomanek","mattb","benhodgson","thiagosouza","maxwell"]}
@@ -1 +0,0 @@
1
- {"users":["rails","puls","wycats","dhh","jm3","joshsusser","nkallen","technoweenie","blaine","al3x","defunkt","schacon","bmizerany","rtomayko","jpr5","lholden","140proof","ephramzerb","carlhuda","carllerche","jnunemaker","josh","hoverbird","jamiew","jeremyevans","brynary","mojodna","mojombo","joshbuddy","igrigorik","perplexes","joearasin","hassox","nickmarden","pengwynn","mmcgrana","reddavis","reinh","mzsanford","aanand","pjhyett","kneath","tekkub","adamstac","timtrueman","aaronblohowiak","josevalim","kaapa","hurrycane","jackdempsey","drogus","cameronpriest","danmelton","marcel","r","atmos","mbleigh","isaacs","maxogden","codeforamerica","chadk","laserlemon","gruber","lsegal","bblimke","wayneeseguin","brixen","dkubb","bhb","bcardarella","elliottcable","fbjork","mlightner","dianakimball"]}
@@ -1 +0,0 @@
1
- {"issue":{"gravatar_id":"9bee19040f2a9c6a901e33426a968135","position":10.0,"number":105,"votes":5,"created_at":"2010/10/03 11:36:43 -0700","comments":14,"body":"Hi,\n\nI just tried to play with this in an app with no ActiveRecord. I was disappointed. It seems the only reason the engine relies on AR is to provide History functionality. I would argue that having the History in a database, and therefore tying the app to AR & SQL, isn't worth it. How about we change it to just dump to a CSV and remove the AR dep?\n\n$0.02","title":"Use OrmAdapter instead of talking directly to ActiveRecord","updated_at":"2011/01/14 11:16:57 -0800","user":"ryana","labels":["@ml","enhancement"],"state":"open"}}
@@ -1 +0,0 @@
1
- {"labels":["bug","enhancement","cleanup","investigate","documentation","@sferik","@kaapa","@hurrycane","@piotrj","@mattsears","@caboteria","@siong1987","@josh-k","@ml"]}
@@ -1 +0,0 @@
1
- {"organization":{"plan":{"name":"bronze","collaborators":null,"space":2516582,"private_repos":10},"gravatar_id":"e435b0226fd3e326e7908a09a097b30a","company":null,"name":"Code For America","created_at":"2010-07-19T12:41:04-07:00","location":null,"disk_usage":18232,"collaborators":0,"public_repo_count":7,"public_gist_count":0,"blog":null,"following_count":0,"billing_email":"dan@codeforamerica.org","id":337792,"owned_private_repo_count":3,"private_gist_count":0,"type":"Organization","permission":null,"total_private_repo_count":3,"followers_count":8,"login":"codeforamerica","email":null}}
@@ -1 +0,0 @@
1
- {"organizations":[{"name":"Hubcap","gravatar_id":"7311a263b8ea2513a001539666837ba9","location":"California","blog":"http://www.kickstarter.com/projects/sferik/hubcap-a-github-client-for-mac-os-x/posts","billing_email":"sferik@gmail.com","type":"Organization","login":"hubcap","email":"sferik@gmail.com"},{"name":"Code For America","gravatar_id":"e435b0226fd3e326e7908a09a097b30a","billing_email":"dan@codeforamerica.org","type":"Organization","login":"codeforamerica"}]}
@@ -1 +0,0 @@
1
- {"public_keys":[{"title":"Moss","id":103205,"key":"ssh-dss AAAAB3NzaC1kc3MAAACBAJz7HanBa18ad1YsdFzHO5Wy1/WgXd4BV+czbKq7q23jungbfjN3eo2a0SVdxux8GG+RZ9ia90VD/X+PE4s3LV60oXZ7PDAuyPO1CTF0TaDoKf9mPaHcPa6agMJVocMsgBgwviWT1Q9VgN1SccDsYVDtxkIAwuw25YeHZlG6myx1AAAAFQCgW+OvXWUdUJPBGkRJ8ML7uf0VHQAAAIAlP5G96tTss0SKYVSCJCyocn9cyGQdNjxah4/aYuYFTbLI1rxk7sr/AkZfJNIoF2UFyO5STbbratykIQGUPdUBg1a2t72bu31x+4ZYJMngNsG/AkZ2oqLiH6dJKHD7PFx2oSPalogwsUV7iSMIZIYaPa03A9763iFsN0qJjaed+gAAAIBxz3Prxdzt/os4XGXSMNoWcS03AFC/05NOkoDMrXxQnTTpp1wrOgyRqEnKz15qC5dWk1ynzK+LJXHDZGA8lXPfCjHpJO3zrlZ/ivvLhgPdDpt13MAhIJFH06hTal0woxbk/fIdY71P3kbgXC0Ppx/0S7BC+VxqRCA4/wcM+BoDbA=="}]}
@@ -1 +0,0 @@
1
- {"pull":{"discussion":[{"type":"Commit","created_at":"2011-01-21T09:02:00-08:00","sha":"11e73d9078eec1cd4035d1a5ac5044920bdd0ab2","author":"AkitaOnRails","subject":"Adding the missing admin:copy_assets rake task","user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"email":"fabioakita@gmail.com"}],"issue_updated_at":"2011-01-21T09:04:25-08:00","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","position":158.0,"number":251,"votes":0,"html_url":"https://github.com/sferik/rails_admin/pull/251","comments":0,"body":"Hi, the README file talks about an admin:copy_assets task. But that task is not in the repo anywhere, so I implemented one. Let me know if it is good enough.","title":"Missing copy_assets","diff_url":"https://github.com/sferik/rails_admin/pull/251.diff","base":{"repository":{"forks":113,"open_issues":44,"language":"Ruby","url":"https://github.com/sferik/rails_admin","has_issues":true,"homepage":"","pushed_at":"2011/01/21 11:31:05 -0800","has_downloads":true,"created_at":"2010/08/01 10:01:00 -0700","fork":false,"size":3336,"private":false,"name":"rails_admin","owner":"sferik","has_wiki":true,"watchers":1334,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data"},"sha":"a865e72344359f766b3ab03d3075c65798719ddd","label":"sferik:master","user":{"name":"Erik Michaels-Ober","company":"Code for America","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","location":"San Francisco","blog":"http://twitter.com/sferik","type":"User","login":"sferik","email":"sferik@gmail.com"},"ref":"master"},"created_at":"2011-01-21T09:04:25-08:00","patch_url":"https://github.com/sferik/rails_admin/pull/251.patch","head":{"repository":{"forks":1,"open_issues":0,"language":"Ruby","url":"https://github.com/akitaonrails/rails_admin","has_issues":false,"homepage":"","pushed_at":"2011/01/21 09:02:56 -0800","has_downloads":true,"created_at":"2010/12/20 05:15:37 -0800","fork":true,"size":4740,"private":false,"name":"rails_admin","owner":"akitaonrails","has_wiki":true,"watchers":13,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data"},"sha":"11e73d9078eec1cd4035d1a5ac5044920bdd0ab2","label":"akitaonrails:master","user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"ref":"master"},"issue_user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"updated_at":"2011-01-21T09:04:25-08:00","user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"issue_created_at":"2011-01-21T09:04:25-08:00","labels":[],"state":"open"}}
@@ -1 +0,0 @@
1
- {"pulls":[{"issue_user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"issue_updated_at":"2011-01-21T09:04:25-08:00","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","position":158.0,"number":251,"votes":0,"comments":0,"body":"Hi, the README file talks about an admin:copy_assets task. But that task is not in the repo anywhere, so I implemented one. Let me know if it is good enough.","title":"Missing copy_assets","base":{"repository":{"language":"Ruby","url":"https://github.com/sferik/rails_admin","open_issues":44,"homepage":"","has_issues":true,"created_at":"2010/08/01 10:01:00 -0700","fork":false,"pushed_at":"2011/01/21 11:31:05 -0800","forks":113,"has_downloads":true,"size":3336,"private":false,"name":"rails_admin","owner":"sferik","watchers":1334,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"a865e72344359f766b3ab03d3075c65798719ddd","label":"sferik:master","user":{"name":"Erik Michaels-Ober","company":"Code for America","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","location":"San Francisco","blog":"http://twitter.com/sferik","type":"User","login":"sferik","email":"sferik@gmail.com"},"ref":"master"},"created_at":"2011-01-21T09:04:25-08:00","html_url":"https://github.com/sferik/rails_admin/pull/251","head":{"repository":{"language":"Ruby","url":"https://github.com/akitaonrails/rails_admin","open_issues":0,"homepage":"","has_issues":false,"created_at":"2010/12/20 05:15:37 -0800","fork":true,"pushed_at":"2011/01/21 09:02:56 -0800","forks":1,"has_downloads":true,"size":4740,"private":false,"name":"rails_admin","owner":"akitaonrails","watchers":13,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"11e73d9078eec1cd4035d1a5ac5044920bdd0ab2","label":"akitaonrails:master","user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"ref":"master"},"diff_url":"https://github.com/sferik/rails_admin/pull/251.diff","updated_at":"2011-01-21T09:04:25-08:00","user":{"name":"Fabio Akita","company":"Prodigus Consulting","gravatar_id":"98c2fb4c31fae25fe0b618f1c994c1f3","location":"Brazil","blog":"http://www.akitaonrails.com","type":"User","login":"akitaonrails","email":"fabioakita@gmail.com"},"patch_url":"https://github.com/sferik/rails_admin/pull/251.patch","issue_created_at":"2011-01-21T09:04:25-08:00","labels":[],"state":"open"},{"issue_user":{"gravatar_id":"cf68a0fe4901556a1665e4e154bfe7c8","type":"User","login":"JayTeeSF"},"issue_updated_at":"2011-01-10T20:10:15-08:00","gravatar_id":"cf68a0fe4901556a1665e4e154bfe7c8","position":144.0,"number":237,"votes":0,"comments":0,"body":"RailsAdmin::AbstractModel has a bug in it's \"all\" method. It searches for \"class <blah>\" inside <rails_root>/app/models/**/*.rb. However, some of those discoveries were inside comments/quotes.\r\n\r\nAs such, I've modified it to use the union of those finds and the result of Module.constants.\r\nI also added a bit of \"connascence\" in that I made the self.lookup method accept a true/false flag for determining when to throw an exception -- which it still does by default.\r\n\r\nCheers,\r\nJonathan\r\n\r\np.s.\r\n(I'm new to open-source, so feel free to give me feedback positive/negative.)\r\n","title":"Bug-Fix w/ discovering ActiveRecord models","base":{"repository":{"language":"Ruby","url":"https://github.com/sferik/rails_admin","open_issues":44,"homepage":"","has_issues":true,"created_at":"2010/08/01 10:01:00 -0700","fork":false,"pushed_at":"2011/01/21 11:31:05 -0800","forks":113,"has_downloads":true,"size":3336,"private":false,"name":"rails_admin","owner":"sferik","watchers":1334,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"4c869d52a13e2c89024a60b186715adf472b62ff","label":"sferik:master","user":{"name":"Erik Michaels-Ober","company":"Code for America","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","location":"San Francisco","blog":"http://twitter.com/sferik","type":"User","login":"sferik","email":"sferik@gmail.com"},"ref":"master"},"created_at":"2011-01-10T20:10:15-08:00","html_url":"https://github.com/sferik/rails_admin/pull/237","head":{"repository":{"language":"Ruby","url":"https://github.com/JayTeeSF/rails_admin","open_issues":0,"homepage":"","has_issues":false,"created_at":"2011/01/08 21:12:35 -0800","fork":true,"pushed_at":"2011/01/10 23:14:08 -0800","forks":0,"has_downloads":true,"size":2248,"private":false,"name":"rails_admin","owner":"JayTeeSF","watchers":1,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"8e7a456d71472b351b6da40b09619456f44125d0","label":"JayTeeSF:master","user":{"gravatar_id":"cf68a0fe4901556a1665e4e154bfe7c8","type":"User","login":"JayTeeSF"},"ref":"master"},"diff_url":"https://github.com/sferik/rails_admin/pull/237.diff","updated_at":"2011-01-10T23:14:10-08:00","user":{"gravatar_id":"cf68a0fe4901556a1665e4e154bfe7c8","type":"User","login":"JayTeeSF"},"patch_url":"https://github.com/sferik/rails_admin/pull/237.patch","issue_created_at":"2011-01-10T20:10:15-08:00","labels":[],"state":"open"},{"issue_user":{"name":"Maciej Lotkowski","company":"","gravatar_id":"07fb1f108e968f7b8573307eefddd66f","location":"Warsaw","type":"User","login":"ml","email":"maciej.lotkowski@gmail.com"},"issue_updated_at":"2011-01-06T07:14:22-08:00","gravatar_id":"07fb1f108e968f7b8573307eefddd66f","position":43.0,"number":220,"votes":1,"comments":3,"body":"Hi\r\n\r\nI added AbstracObject class to replace direct ActiveRecord calls in the controller. I moved the code for creating, updating and destroying from the controller to this class. AbstractObject should be good place for something like https://github.com/ianwhite/orm_adapter. I think that moving everything related to the history from MainController to AbstracObject is also good idea. ","title":"Abstract object","base":{"repository":{"language":"Ruby","url":"https://github.com/sferik/rails_admin","open_issues":44,"homepage":"","has_issues":true,"created_at":"2010/08/01 10:01:00 -0700","fork":false,"pushed_at":"2011/01/21 11:31:05 -0800","forks":113,"has_downloads":true,"size":3336,"private":false,"name":"rails_admin","owner":"sferik","watchers":1334,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"c2d5a83a4fb0d90285bc58fb25ed35f34039a4b0","label":"sferik:master","user":{"name":"Erik Michaels-Ober","company":"Code for America","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","location":"San Francisco","blog":"http://twitter.com/sferik","type":"User","login":"sferik","email":"sferik@gmail.com"},"ref":"master"},"created_at":"2011-01-03T05:56:35-08:00","html_url":"https://github.com/sferik/rails_admin/pull/220","head":{"repository":{"language":"Ruby","url":"https://github.com/ml/rails_admin","open_issues":0,"homepage":"","has_issues":false,"created_at":"2010/12/17 13:01:32 -0800","fork":true,"pushed_at":"2011/01/16 04:45:10 -0800","forks":0,"has_downloads":true,"size":3212,"private":false,"name":"rails_admin","owner":"ml","watchers":1,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"71e02d7a0e1132e906537f3203bbfa88292393ca","label":"ml:abstract_object","user":{"name":"Maciej Lotkowski","company":"","gravatar_id":"07fb1f108e968f7b8573307eefddd66f","location":"Warsaw","type":"User","login":"ml","email":"maciej.lotkowski@gmail.com"},"ref":"abstract_object"},"diff_url":"https://github.com/sferik/rails_admin/pull/220.diff","updated_at":"2011-01-16T04:45:11-08:00","user":{"name":"Maciej Lotkowski","company":"","gravatar_id":"07fb1f108e968f7b8573307eefddd66f","location":"Warsaw","type":"User","login":"ml","email":"maciej.lotkowski@gmail.com"},"patch_url":"https://github.com/sferik/rails_admin/pull/220.patch","issue_created_at":"2011-01-03T05:56:35-08:00","labels":[],"state":"open"},{"issue_user":{"name":"Sławosz","company":"innov8on.com","gravatar_id":"c544188078900e5d5976689949177f11","location":"Warsaw","blog":"slawosz.github.com","type":"User","login":"slawosz","email":"slawosz@gmail.com"},"issue_updated_at":"2011-01-05T13:27:34-08:00","gravatar_id":"c544188078900e5d5976689949177f11","position":40.0,"number":190,"votes":0,"comments":11,"body":"I met binary field in one rails app, so we should support it","title":"Add binary field","base":{"repository":{"language":"Ruby","url":"https://github.com/sferik/rails_admin","open_issues":44,"homepage":"","has_issues":true,"created_at":"2010/08/01 10:01:00 -0700","fork":false,"pushed_at":"2011/01/21 11:31:05 -0800","forks":113,"has_downloads":true,"size":3336,"private":false,"name":"rails_admin","owner":"sferik","watchers":1334,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"86827947a3912e152fa02507a1547fc9c64d5acd","label":"sferik:master","user":{"name":"Erik Michaels-Ober","company":"Code for America","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","location":"San Francisco","blog":"http://twitter.com/sferik","type":"User","login":"sferik","email":"sferik@gmail.com"},"ref":"master"},"merged_at":"2011-01-04T09:32:59-08:00","created_at":"2010-12-21T08:12:00-08:00","html_url":"https://github.com/sferik/rails_admin/pull/190","head":{"repository":{"language":"Ruby","url":"https://github.com/slawosz/rails_admin","open_issues":0,"homepage":"","has_issues":false,"created_at":"2010/11/29 06:58:20 -0800","fork":true,"pushed_at":"2011/01/13 07:54:13 -0800","forks":0,"has_downloads":true,"size":2424,"private":false,"name":"rails_admin","owner":"slawosz","watchers":2,"description":"my fork, original description: RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"109b8d9f1bba82f1f21e4984880364d7fc8e9932","label":"slawosz:add_binary_field","user":{"name":"Sławosz","company":"innov8on.com","gravatar_id":"c544188078900e5d5976689949177f11","location":"Warsaw","blog":"slawosz.github.com","type":"User","login":"slawosz","email":"slawosz@gmail.com"},"ref":"add_binary_field"},"diff_url":"https://github.com/sferik/rails_admin/pull/190.diff","updated_at":"2011-01-04T09:32:59-08:00","user":{"name":"Sławosz","company":"innov8on.com","gravatar_id":"c544188078900e5d5976689949177f11","location":"Warsaw","blog":"slawosz.github.com","type":"User","login":"slawosz","email":"slawosz@gmail.com"},"patch_url":"https://github.com/sferik/rails_admin/pull/190.patch","issue_created_at":"2010-12-21T08:12:00-08:00","labels":[],"state":"open"},{"issue_user":{"name":"Sławosz","company":"innov8on.com","gravatar_id":"c544188078900e5d5976689949177f11","location":"Warsaw","blog":"slawosz.github.com","type":"User","login":"slawosz","email":"slawosz@gmail.com"},"issue_updated_at":"2010-12-27T06:52:19-08:00","gravatar_id":"c544188078900e5d5976689949177f11","position":39.0,"number":188,"votes":0,"comments":3,"body":"I think it is ready.","title":"Add associated record","base":{"repository":{"language":"Ruby","url":"https://github.com/sferik/rails_admin","open_issues":44,"homepage":"","has_issues":true,"created_at":"2010/08/01 10:01:00 -0700","fork":false,"pushed_at":"2011/01/21 11:31:05 -0800","forks":113,"has_downloads":true,"size":3336,"private":false,"name":"rails_admin","owner":"sferik","watchers":1334,"description":"RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"487d0ec845efe95b10d6336f3e9256ab48300230","label":"sferik:master","user":{"name":"Erik Michaels-Ober","company":"Code for America","gravatar_id":"1f74b13f1e5c6c69cb5d7fbaabb1e2cb","location":"San Francisco","blog":"http://twitter.com/sferik","type":"User","login":"sferik","email":"sferik@gmail.com"},"ref":"master"},"created_at":"2010-12-20T07:02:14-08:00","html_url":"https://github.com/sferik/rails_admin/pull/188","head":{"repository":{"language":"Ruby","url":"https://github.com/slawosz/rails_admin","open_issues":0,"homepage":"","has_issues":false,"created_at":"2010/11/29 06:58:20 -0800","fork":true,"pushed_at":"2011/01/13 07:54:13 -0800","forks":0,"has_downloads":true,"size":2424,"private":false,"name":"rails_admin","owner":"slawosz","watchers":2,"description":"my fork, original description: RailsAdmin is a Rails 3 engine that provides an easy-to-use interface for managing your data","has_wiki":true},"sha":"640c3d84efbf7b987eb3a7862e1d4e5057bc319a","label":"slawosz:add_associated_record","user":{"name":"Sławosz","company":"innov8on.com","gravatar_id":"c544188078900e5d5976689949177f11","location":"Warsaw","blog":"slawosz.github.com","type":"User","login":"slawosz","email":"slawosz@gmail.com"},"ref":"add_associated_record"},"diff_url":"https://github.com/sferik/rails_admin/pull/188.diff","updated_at":"2011-01-12T07:51:21-08:00","user":{"name":"Sławosz","company":"innov8on.com","gravatar_id":"c544188078900e5d5976689949177f11","location":"Warsaw","blog":"slawosz.github.com","type":"User","login":"slawosz","email":"slawosz@gmail.com"},"patch_url":"https://github.com/sferik/rails_admin/pull/188.patch","issue_created_at":"2010-12-20T07:02:14-08:00","labels":[],"state":"open"}]}
@@ -1 +0,0 @@
1
- {"tags":{"v0.1.0":"841be65ccaaad2f01db2eeff7171a0bcde3e059e","v0.0.1":"0d7a03f2035ecd74e4d6eb9be58865c2a688ee55","v0.2.0":"41d0ac1e34b8b62a69d6e3edb6981feecce3b2ef","v0.1.1":"b116920ce893e62c5b78dd25e34d11c0f2939fb7","v0.2.1":"3b02fc367fb7db1f9c8a24a7e8a89ad0459e319b","v0.1.2":"469365fa47b660fed2ad94970d527b0390bfc711","v0.2.2":"4c1b9fcbe1f812c49c26f973f4b059df63df8f6c","v0.1.3":"5b129b15611342fa69b135e1bf2753bedcec7fbc","v0.4.1":"b25de5e3d70ae89326738872c51f0ec54163312c","v0.2.3":"1e87f1640f0e7b6d3854cdf9d089092d9118be6c","v0.1.4":"03ee3f302f99162d5c08f256dbdeef3c96fce25e"}}
@@ -1 +0,0 @@
1
- {"team":{"name":"Fellows","id":32598,"permission":"push"}}
@@ -1 +0,0 @@
1
- {"teams":[{"name":"Fellows","id":32598,"permission":"push"},{"name":"Staff","id":32760,"permission":"admin"}]}
@@ -1 +0,0 @@
1
- {"tree":[{"name":".gitignore","size":null,"sha":"5efe0eb47a773fa6ea84a0bf190ee218b6a31ead","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":".rspec","size":null,"sha":"f5a48e7ea5d8c1068efbb2b5b39471447a892dd5","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":".yardopts","size":null,"sha":"80b49ec64346a5575f355af14a2616a83cdbf7e3","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":"Gemfile","size":null,"sha":"676ca26fae4277be5d2da7e1e223a4dd36370479","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":"LICENSE.mkd","size":null,"sha":"0420edbdb00ab6055455d62f2cd2db404d35a147","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":"README.mkd","size":null,"sha":"94616fa57520ac8147522c7cf9f03d555595c5ea","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":"Rakefile","size":null,"sha":"82c041b5a84f9d0221c2695379956cbc8c2a3cbd","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":"app","size":null,"sha":"d1f573e5ab942f6dba18657da75c3fa240a6addd","mode":"040000","mime_type":"text/plain","type":"tree"},{"name":"config","size":null,"sha":"dfc59dbf0fa9c307be4faf7b26737f287cdf942a","mode":"040000","mime_type":"text/plain","type":"tree"},{"name":"lib","size":null,"sha":"6a8973e60a20ada810b50c1000b81520fc0169f0","mode":"040000","mime_type":"text/plain","type":"tree"},{"name":"public","size":null,"sha":"27dd7613678914755666b72458174873504ac102","mode":"040000","mime_type":"text/plain","type":"tree"},{"name":"rails_admin.gemspec","size":null,"sha":"8a9a951fe90455905f4545a89629a4451d36bda6","mode":"100644","mime_type":"text/plain","type":"blob"},{"name":"screenshots","size":null,"sha":"d807eed21b21c9116ac7cf67423edd14355acdd5","mode":"040000","mime_type":"text/plain","type":"tree"},{"name":"spec","size":null,"sha":"e4e79d3099d4cd3b4930800ae644ed614b756e00","mode":"040000","mime_type":"text/plain","type":"tree"}]}