Skip to content

Commit

Permalink
update gemspec, license and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoran committed Jul 28, 2016
1 parent 28dc561 commit f88434f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Zoran
Copyright (c) 2016 ZURB, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,19 @@ A cross-browser @mention engine written in native JS, no dependencies. Tested in

## Installation

Add this line to your application's Gemfile:
Add this line to your application's Gemfile, then bundle:

```ruby
gem 'tribute'
```

And then execute:

$ bundle

Then, in your `app/assets/javascripts/application.js`:
Add the following to your `app/assets/javascripts/application.js`:

```js
*= require tribute
```

Finally, add the following to your `app/assets/stylesheets/application.css`:
Then, in your `app/assets/stylesheets/application.css`:

```css
//= require tribute
Expand Down Expand Up @@ -65,6 +61,8 @@ Once initialized, Tribute can be attached to an `input`, `textarea`, or an eleme
</script>
```

For more usage information, see the official [Tribute.js README](https://github.com/zurb/tribute#tribute).

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion tribute.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.authors = ["Zoran"]
spec.email = ["zoran@zurb.com"]

spec.summary = %q{Native JS @mentions.}
spec.summary = %q{Tribute.js @mentions for Rails.}
spec.homepage = "https://github.com/zurb/tribute"
spec.license = "MIT"

Expand Down

0 comments on commit f88434f

Please sign in to comment.