Skip to content

Commit

Permalink
Migrate to the scenic-views org
Browse files Browse the repository at this point in the history
  • Loading branch information
derekprior committed Dec 2, 2018
1 parent 8071d5e commit 24136d9
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 42 deletions.
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and
expression, level of experience, education, socio-economic status, nationality,
personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at derekprior@gmail.com. All complaints
will be reviewed and investigated and will result in a response that is deemed
necessary and appropriate to the circumstances. The project team is obligated to
maintain confidentiality with regard to the reporter of an incident. Further
details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
10 changes: 3 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# Contributing

We love contributions from everyone. By participating in this project, you
agree to abide by the thoughtbot [code of conduct].
agree to abide by our [code of conduct].

[code of conduct]: https://thoughtbot.com/open-source-code-of-conduct

We expect everyone to follow the code of conduct anywhere in thoughtbot's
project codebases, issue trackers, chatrooms, and mailing lists.
[code of conduct]: CODE_OF_CONDUCT.md

## Contributing Code

Expand All @@ -15,10 +12,9 @@ project codebases, issue trackers, chatrooms, and mailing lists.
application database.
3. Run `bin/appraisal rake` to verify that the tests pass against all
supported versions of Rails.
4. Make your change with new passing tests, following the [style guide].
4. Make your change with new passing tests, following existing style.
5. Write a [good commit message], push your fork, and submit a pull request.

[style guide]: https://github.com/thoughtbot/guides/tree/master/style
[good commit message]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

Others will give constructive feedback. This is a time for discussion and
Expand Down
26 changes: 13 additions & 13 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The noteworthy changes for each Scenic version are included here. For a complete
changelog, see the [CHANGELOG] for each version via the version links.

[CHANGELOG]: https://github.com/thoughtbot/scenic/commits/master
[CHANGELOG]: https://github.com/scenic-views/scenic/commits/master

## [1.4.1] - December 15, 2017

Expand All @@ -12,7 +12,7 @@ changelog, see the [CHANGELOG] for each version via the version links.
- View migrations created under Rails 5 and newer will use the current migration
version in the generated migration class rather than always using `5.0`.

[1.4.1]: https://github.com/thoughtbot/scenic/compare/v1.4.0...v1.4.1
[1.4.1]: https://github.com/scenic-views/scenic/compare/v1.4.0...v1.4.1

## [1.4.0] - May 11, 2017

Expand All @@ -32,7 +32,7 @@ changelog, see the [CHANGELOG] for each version via the version links.
and newer apps.
- Using the `scenic:model` generator will no longer create a fixture or factory.

[1.4.0]: https://github.com/thoughtbot/scenic/compare/v1.3.0...v1.4.0
[1.4.0]: https://github.com/scenic-views/scenic/compare/v1.3.0...v1.4.0

## [1.3.0] - May 27, 2016

Expand All @@ -48,7 +48,7 @@ changelog, see the [CHANGELOG] for each version via the version links.
attempt to insert model code into the pluralized model file.
* Convert shell-based smoke tests to RSpec syntax.

[1.3.0]: https://github.com/thoughtbot/scenic/compare/v1.2.0...v1.3.0
[1.3.0]: https://github.com/scenic-views/scenic/compare/v1.2.0...v1.3.0

## [1.2.0] - February 5, 2016

Expand All @@ -68,7 +68,7 @@ changelog, see the [CHANGELOG] for each version via the version links.
`db/schema.rb` file under Rails 5 beta 1 and beta 2. This is fixed on Rails
master.

[1.2.0]: https://github.com/thoughtbot/scenic/compare/v1.1.1...v1.2.0
[1.2.0]: https://github.com/scenic-views/scenic/compare/v1.1.1...v1.2.0

## [1.1.1] - January 29, 2016

Expand All @@ -77,7 +77,7 @@ master.
closed` error. This has been fixed by ensuring we grab a fresh connection for
all operations.

[1.1.1]: https://github.com/thoughtbot/scenic/compare/v1.1.0...v1.1.1
[1.1.1]: https://github.com/scenic-views/scenic/compare/v1.1.0...v1.1.1

## [1.1.0] - January 8, 2016

Expand All @@ -97,7 +97,7 @@ master.
- Fixed inability to dump materialized views in Rails 5.0.0.beta1.

[supported versions of Postgres]: http://www.postgresql.org/support/versioning/
[1.1.0]: https://github.com/thoughtbot/scenic/compare/v1.0.0...v1.1.0
[1.1.0]: https://github.com/scenic-views/scenic/compare/v1.0.0...v1.1.0

## [1.0.0] - November 23, 2015

Expand All @@ -112,8 +112,8 @@ master.
- Eliminated `alias_method_chain` deprecation when running with Rails master
(5.0).

[materialized views]:https://github.com/thoughtbot/scenic/blob/v1.0.0/README.md
[1.0.0]: https://github.com/thoughtbot/scenic/compare/v0.3.0...v1.0.0
[materialized views]:https://github.com/scenic-views/scenic/blob/v1.0.0/README.md
[1.0.0]: https://github.com/scenic-views/scenic/compare/v0.3.0...v1.0.0

## [0.3.0] - January 23, 2015

Expand All @@ -125,14 +125,14 @@ master.
- We avoid dumping views that belong to Postgres extensions.
- `db/schema.rb` is prettier thanks to a blank line after each view definition.

[0.3.0]: https://github.com/thoughtbot/scenic/compare/v0.2.1...v0.3.0
[0.3.0]: https://github.com/scenic-views/scenic/compare/v0.2.1...v0.3.0

## [0.2.1] - January 5, 2015

### Fixed
- View generator will now create `db/views` directory if necessary.

[0.2.1]: https://github.com/thoughtbot/scenic/compare/v0.2.0...v0.2.1
[0.2.1]: https://github.com/scenic-views/scenic/compare/v0.2.0...v0.2.1

## [0.2.0] - August 11, 2014

Expand All @@ -142,7 +142,7 @@ master.
### Fixed
- Raise an error if view definition is empty.

[0.2.0]: https://github.com/thoughtbot/scenic/compare/v0.1.0...v0.2.0
[0.2.0]: https://github.com/scenic-views/scenic/compare/v0.1.0...v0.2.0

## [0.1.0] - August 4, 2014

Expand All @@ -155,4 +155,4 @@ definition files.

In short, go add a view to your app.

[0.1.0]: https://github.com/thoughtbot/scenic/compare/8599daa132880cd6c07efb0395c0fb023b171f47...v0.1.0
[0.1.0]: https://github.com/scenic-views/scenic/compare/8599daa132880cd6c07efb0395c0fb023b171f47...v0.1.0
20 changes: 5 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Scenic

![Scenic Landscape](https://images.thoughtbot.com/announcing-scenic--versioned-database-views-for-rails/MRUcPsxrTGCeWKyE59Zg_landscape.png)
![Scenic Landscape](https://user-images.githubusercontent.com/152152/49344534-a8817480-f646-11e8-8431-3d95d349c070.png)

[![Build Status](https://travis-ci.org/thoughtbot/scenic.svg)](https://travis-ci.org/thoughtbot/scenic)
[![Code Climate](https://codeclimate.com/repos/53c9736269568066a3000c35/badges/85aa9b19f3037252c55d/gpa.svg)](https://codeclimate.com/repos/53c9736269568066a3000c35/feed)
[![Documentation Quality](http://inch-ci.org/github/thoughtbot/scenic.svg?branch=master)](http://inch-ci.org/github/thoughtbot/scenic)
[![Build Status](https://travis-ci.org/scenic-views/scenic.svg)](https://travis-ci.org/scenic-views/scenic)
[![Documentation Quality](http://inch-ci.org/github/scenic-views/scenic.svg?branch=master)](http://inch-ci.org/github/scenic-views/scenic)

Scenic adds methods to `ActiveRecord::Migration` to create and manage database
views in Rails.
Expand Down Expand Up @@ -252,17 +251,8 @@ meet your needs:

## About

Scenic is maintained by [Derek Prior] and [Caleb Thompson], funded by
thoughtbot, inc. The names and logos for thoughtbot are trademarks of
thoughtbot, inc.
Scenic is maintained by [Derek Prior], [Caleb Thompson], and you, our
contributors.

[Derek Prior]: http://prioritized.net
[Caleb Thompson]: http://calebthompson.io

![thoughtbot](http://presskit.thoughtbot.com/images/thoughtbot-logo-for-readmes.svg)

We love open source software! See [our other projects][community] or [hire
us][hire] to help build your product.

[community]: https://thoughtbot.com/community?utm_source=github
[hire]: https://thoughtbot.com/hire-us?utm_source=github
2 changes: 1 addition & 1 deletion gemfiles/rails42.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ source "https://rubygems.org"
gem "activerecord", "~> 4.2.0"
gem "railties", "~> 4.2.0"

gemspec :path => "../"
gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails50.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ source "https://rubygems.org"
gem "activerecord", "~> 5.0.0"
gem "railties", "~> 5.0.0"

gemspec :path => "../"
gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails51.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ source "https://rubygems.org"
gem "activerecord", "~> 5.1.0"
gem "railties", "~> 5.1.0"

gemspec :path => "../"
gemspec path: "../"
6 changes: 3 additions & 3 deletions gemfiles/rails_edge.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "rails", :git => "https://github.com/rails/rails"
gem "arel", :git => "https://github.com/rails/arel"
gem "rails", git: "https://github.com/rails/rails"
gem "arel", git: "https://github.com/rails/arel"

gemspec :path => "../"
gemspec path: "../"
2 changes: 1 addition & 1 deletion scenic.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
Adds methods to ActiveRecord::Migration to create and manage database views
in Rails
DESCRIPTION
spec.homepage = 'https://github.com/thoughtbot/scenic'
spec.homepage = 'https://github.com/scenic-views/scenic'
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0")
Expand Down

0 comments on commit 24136d9

Please sign in to comment.