rails/activesupport
Ryunosuke Sato abbf00e583 Define Pathname#as_json
When the Pathname object is converted as JSON,
it should be a string that means itself.

Expected:
```
>> Pathname.new('/path/to/somewhere.txt').as_json
"/path/to/somewhere.txt"
```

Actual:
```
>> Pathname.new('/path/to/somewhere.txt').as_json
{"path"=>"/path/to/somewhere.txt"}
```
2016-06-25 21:50:16 +09:00
..
bin deletes commented code introduced in f238d495 2015-12-15 23:16:02 -08:00
lib Define Pathname#as_json 2016-06-25 21:50:16 +09:00
test Define Pathname#as_json 2016-06-25 21:50:16 +09:00
activesupport.gemspec Fix template resolver cache concurrency: "can't add a new key into hash during iteration" 2016-05-02 15:05:03 -07:00
CHANGELOG.md Merge pull request #23011 from arnvald/bugfix/correctly_parse_date 2016-06-25 12:02:07 +08:00
MIT-LICENSE Update copyright notices to 2016 [ci skip] 2015-12-31 18:27:19 +02:00
Rakefile Remove package:clean task 2016-05-24 13:11:28 -04:00
README.rdoc [ci skip] Add a dollar sign to each command in the READMEs 2015-12-06 19:18:52 +01:00

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with RubyGems:

  $ gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/master/activesupport


== License

Active Support is released under the MIT license:

* http://www.opensource.org/licenses/MIT


== Support

API documentation is at:

* http://api.rubyonrails.org

Bug reports can be filed for the Ruby on Rails project here:

* https://github.com/rails/rails/issues

Feature requests should be discussed on the rails-core mailing list here:

* https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-core