├── .gitignore ├── .rspec ├── .travis.yml ├── Gemfile ├── README.md ├── Rakefile ├── active_nothing.gemspec ├── bin ├── console └── setup ├── lib ├── active_nothing.rb └── active_nothing │ ├── false.rb │ ├── nil.rb │ ├── object.rb │ └── version.rb └── spec ├── active_nothing_spec.rb ├── false_spec.rb ├── nil_spec.rb ├── object_spec.rb ├── spec_helper.rb └── support └── shared_examples_false_yielder.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.1 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/Gemfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require 'bundler/gem_tasks' 2 | 3 | -------------------------------------------------------------------------------- /active_nothing.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/active_nothing.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euo pipefail 4 | IFS=$'\n\t' 5 | 6 | bundle 7 | -------------------------------------------------------------------------------- /lib/active_nothing.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/lib/active_nothing.rb -------------------------------------------------------------------------------- /lib/active_nothing/false.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/lib/active_nothing/false.rb -------------------------------------------------------------------------------- /lib/active_nothing/nil.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/lib/active_nothing/nil.rb -------------------------------------------------------------------------------- /lib/active_nothing/object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/lib/active_nothing/object.rb -------------------------------------------------------------------------------- /lib/active_nothing/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveNothing 2 | VERSION = '0.1.0' 3 | end 4 | -------------------------------------------------------------------------------- /spec/active_nothing_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/spec/active_nothing_spec.rb -------------------------------------------------------------------------------- /spec/false_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/spec/false_spec.rb -------------------------------------------------------------------------------- /spec/nil_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/spec/nil_spec.rb -------------------------------------------------------------------------------- /spec/object_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/spec/object_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/shared_examples_false_yielder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KamilLelonek/active_nothing/HEAD/spec/support/shared_examples_false_yielder.rb --------------------------------------------------------------------------------