├── .coveralls.yml ├── .gitignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── lib ├── numeric.rb ├── to_duration.rb └── to_duration │ ├── duration.rb │ └── version.rb ├── test ├── test_data │ └── locales │ │ └── en.yml ├── test_helper.rb └── to_duration_test.rb └── to_duration.gemspec /.coveralls.yml: -------------------------------------------------------------------------------- 1 | service_name: travis-ci 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/bin/setup -------------------------------------------------------------------------------- /lib/numeric.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/lib/numeric.rb -------------------------------------------------------------------------------- /lib/to_duration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/lib/to_duration.rb -------------------------------------------------------------------------------- /lib/to_duration/duration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/lib/to_duration/duration.rb -------------------------------------------------------------------------------- /lib/to_duration/version.rb: -------------------------------------------------------------------------------- 1 | module ToDuration 2 | VERSION = '1.2.2'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /test/test_data/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/test/test_data/locales/en.yml -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/to_duration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/test/to_duration_test.rb -------------------------------------------------------------------------------- /to_duration.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digaev/to_duration/HEAD/to_duration.gemspec --------------------------------------------------------------------------------