├── .github └── workflows │ └── build.yml ├── .gitignore ├── .rspec ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── gemfiles ├── Gemfile.activesupport-7.1.x ├── Gemfile.activesupport-7.2.x ├── Gemfile.activesupport-8.0.x ├── Gemfile.activesupport-8.1.x └── Gemfile.activesupport-edge ├── lib ├── working_hours.rb └── working_hours │ ├── computation.rb │ ├── config.rb │ ├── core_ext │ ├── date_and_time.rb │ └── integer.rb │ ├── duration.rb │ ├── duration_proxy.rb │ ├── module.rb │ └── version.rb ├── spec ├── spec_helper.rb ├── working_hours │ ├── computation_spec.rb │ ├── config_spec.rb │ ├── core_ext │ │ ├── date_and_time_spec.rb │ │ └── integer_spec.rb │ ├── duration_proxy_spec.rb │ └── duration_spec.rb └── working_hours_spec.rb └── working_hours.gemspec /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format progress 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/Rakefile -------------------------------------------------------------------------------- /gemfiles/Gemfile.activesupport-7.1.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/gemfiles/Gemfile.activesupport-7.1.x -------------------------------------------------------------------------------- /gemfiles/Gemfile.activesupport-7.2.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/gemfiles/Gemfile.activesupport-7.2.x -------------------------------------------------------------------------------- /gemfiles/Gemfile.activesupport-8.0.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/gemfiles/Gemfile.activesupport-8.0.x -------------------------------------------------------------------------------- /gemfiles/Gemfile.activesupport-8.1.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/gemfiles/Gemfile.activesupport-8.1.x -------------------------------------------------------------------------------- /gemfiles/Gemfile.activesupport-edge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/gemfiles/Gemfile.activesupport-edge -------------------------------------------------------------------------------- /lib/working_hours.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours.rb -------------------------------------------------------------------------------- /lib/working_hours/computation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/computation.rb -------------------------------------------------------------------------------- /lib/working_hours/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/config.rb -------------------------------------------------------------------------------- /lib/working_hours/core_ext/date_and_time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/core_ext/date_and_time.rb -------------------------------------------------------------------------------- /lib/working_hours/core_ext/integer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/core_ext/integer.rb -------------------------------------------------------------------------------- /lib/working_hours/duration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/duration.rb -------------------------------------------------------------------------------- /lib/working_hours/duration_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/duration_proxy.rb -------------------------------------------------------------------------------- /lib/working_hours/module.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/lib/working_hours/module.rb -------------------------------------------------------------------------------- /lib/working_hours/version.rb: -------------------------------------------------------------------------------- 1 | module WorkingHours 2 | VERSION = "1.5.0" 3 | end 4 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/working_hours/computation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours/computation_spec.rb -------------------------------------------------------------------------------- /spec/working_hours/config_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours/config_spec.rb -------------------------------------------------------------------------------- /spec/working_hours/core_ext/date_and_time_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours/core_ext/date_and_time_spec.rb -------------------------------------------------------------------------------- /spec/working_hours/core_ext/integer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours/core_ext/integer_spec.rb -------------------------------------------------------------------------------- /spec/working_hours/duration_proxy_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours/duration_proxy_spec.rb -------------------------------------------------------------------------------- /spec/working_hours/duration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours/duration_spec.rb -------------------------------------------------------------------------------- /spec/working_hours_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/spec/working_hours_spec.rb -------------------------------------------------------------------------------- /working_hours.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intrepidd/working_hours/HEAD/working_hours.gemspec --------------------------------------------------------------------------------