├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── lib ├── opal-activesupport.rb └── opal │ ├── activesupport.rb │ └── activesupport │ └── version.rb ├── opal-activesupport.gemspec ├── opal ├── active_support.rb ├── active_support │ ├── concern.rb │ ├── core_ext.rb │ ├── core_ext │ │ ├── array.rb │ │ ├── array │ │ │ ├── extract_options.rb │ │ │ ├── grouping.rb │ │ │ └── wrap.rb │ │ ├── class.rb │ │ ├── class │ │ │ └── attribute.rb │ │ ├── enumerable.rb │ │ ├── hash.rb │ │ ├── hash │ │ │ └── indifferent_access.rb │ │ ├── integer.rb │ │ ├── integer │ │ │ └── time.rb │ │ ├── kernel.rb │ │ ├── kernel │ │ │ └── singleton_class.rb │ │ ├── module.rb │ │ ├── module │ │ │ ├── delegation.rb │ │ │ ├── introspection.rb │ │ │ └── remove_method.rb │ │ ├── numeric.rb │ │ ├── numeric │ │ │ ├── calculations.rb │ │ │ └── time.rb │ │ ├── object.rb │ │ ├── object │ │ │ ├── blank.rb │ │ │ ├── json.rb │ │ │ └── try.rb │ │ ├── string.rb │ │ └── string │ │ │ ├── filters.rb │ │ │ └── inflections.rb │ ├── hash_with_indifferent_access.rb │ ├── inflections.rb │ ├── inflector.rb │ ├── inflector │ │ ├── inflections.rb │ │ └── methods.rb │ └── time.rb └── opal-activesupport.rb └── test ├── abstract_unit.rb ├── concern_test.rb ├── constantize_test_cases.rb ├── core_ext ├── array_ext_test.rb ├── blank_test.rb ├── class │ └── attribute_test.rb ├── kernel_test.rb ├── module │ └── remove_method_test.rb ├── module_test.rb ├── numeric_ext_test.rb ├── object_and_class_ext_test.rb └── string_ext_test.rb ├── empty_bool.rb ├── inflector_test.rb ├── inflector_test_cases.rb └── minitest └── autorun.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | 3 | rvm: 2.6.2 4 | 5 | sudo: false 6 | 7 | cache: 8 | bundler: true 9 | 10 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/Rakefile -------------------------------------------------------------------------------- /lib/opal-activesupport.rb: -------------------------------------------------------------------------------- 1 | require 'opal/activesupport' 2 | -------------------------------------------------------------------------------- /lib/opal/activesupport.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/lib/opal/activesupport.rb -------------------------------------------------------------------------------- /lib/opal/activesupport/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/lib/opal/activesupport/version.rb -------------------------------------------------------------------------------- /opal-activesupport.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal-activesupport.gemspec -------------------------------------------------------------------------------- /opal/active_support.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext' 2 | -------------------------------------------------------------------------------- /opal/active_support/concern.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/concern.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/array.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/array/extract_options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/array/extract_options.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/array/grouping.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/array/grouping.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/array/wrap.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/array/wrap.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/class.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/class/attribute' 2 | -------------------------------------------------------------------------------- /opal/active_support/core_ext/class/attribute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/class/attribute.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/enumerable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/enumerable.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/hash.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/hash/indifferent_access' 2 | -------------------------------------------------------------------------------- /opal/active_support/core_ext/hash/indifferent_access.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/hash/indifferent_access.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/integer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/integer.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/integer/time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/integer/time.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/kernel.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/kernel/singleton_class' 2 | -------------------------------------------------------------------------------- /opal/active_support/core_ext/kernel/singleton_class.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/kernel/singleton_class.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/module.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/module.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/module/delegation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/module/delegation.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/module/introspection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/module/introspection.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/module/remove_method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/module/remove_method.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/numeric.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/numeric.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/numeric/calculations.rb: -------------------------------------------------------------------------------- 1 | class << Time 2 | alias :current :now 3 | end 4 | -------------------------------------------------------------------------------- /opal/active_support/core_ext/numeric/time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/numeric/time.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/object.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/object/blank.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/object/blank.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/object/json.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/object/json.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/object/try.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/object/try.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/string.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/string.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/string/filters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/string/filters.rb -------------------------------------------------------------------------------- /opal/active_support/core_ext/string/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/core_ext/string/inflections.rb -------------------------------------------------------------------------------- /opal/active_support/hash_with_indifferent_access.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/hash_with_indifferent_access.rb -------------------------------------------------------------------------------- /opal/active_support/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/inflections.rb -------------------------------------------------------------------------------- /opal/active_support/inflector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/inflector.rb -------------------------------------------------------------------------------- /opal/active_support/inflector/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/inflector/inflections.rb -------------------------------------------------------------------------------- /opal/active_support/inflector/methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/inflector/methods.rb -------------------------------------------------------------------------------- /opal/active_support/time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/opal/active_support/time.rb -------------------------------------------------------------------------------- /opal/opal-activesupport.rb: -------------------------------------------------------------------------------- 1 | require 'active_support' 2 | -------------------------------------------------------------------------------- /test/abstract_unit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/abstract_unit.rb -------------------------------------------------------------------------------- /test/concern_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/concern_test.rb -------------------------------------------------------------------------------- /test/constantize_test_cases.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/constantize_test_cases.rb -------------------------------------------------------------------------------- /test/core_ext/array_ext_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/array_ext_test.rb -------------------------------------------------------------------------------- /test/core_ext/blank_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/blank_test.rb -------------------------------------------------------------------------------- /test/core_ext/class/attribute_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/class/attribute_test.rb -------------------------------------------------------------------------------- /test/core_ext/kernel_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/kernel_test.rb -------------------------------------------------------------------------------- /test/core_ext/module/remove_method_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/module/remove_method_test.rb -------------------------------------------------------------------------------- /test/core_ext/module_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/module_test.rb -------------------------------------------------------------------------------- /test/core_ext/numeric_ext_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/numeric_ext_test.rb -------------------------------------------------------------------------------- /test/core_ext/object_and_class_ext_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/object_and_class_ext_test.rb -------------------------------------------------------------------------------- /test/core_ext/string_ext_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/core_ext/string_ext_test.rb -------------------------------------------------------------------------------- /test/empty_bool.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/empty_bool.rb -------------------------------------------------------------------------------- /test/inflector_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/inflector_test.rb -------------------------------------------------------------------------------- /test/inflector_test_cases.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/inflector_test_cases.rb -------------------------------------------------------------------------------- /test/minitest/autorun.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opal/opal-activesupport/HEAD/test/minitest/autorun.rb --------------------------------------------------------------------------------