Permalink
Browse files

[ARCH] Removed embedded source

  • Loading branch information...
1 parent ac3a57d commit df5eea44784412992c769d1c6fa2ff7203d0d16a @hosh hosh committed Mar 31, 2012
Showing with 0 additions and 15,042 deletions.
  1. +0 −58 remarkable/CHANGELOG
  2. +0 −20 remarkable/LICENSE
  3. +0 −212 remarkable/README
  4. +0 −23 remarkable/Rakefile
  5. +0 −15 remarkable/lib/remarkable/core.rb
  6. +0 −73 remarkable/lib/remarkable/core/base.rb
  7. +0 −19 remarkable/lib/remarkable/core/core_ext/array.rb
  8. +0 −54 remarkable/lib/remarkable/core/dsl.rb
  9. +0 −413 remarkable/lib/remarkable/core/dsl/assertions.rb
  10. +0 −72 remarkable/lib/remarkable/core/dsl/callbacks.rb
  11. +0 −243 remarkable/lib/remarkable/core/dsl/optionals.rb
  12. +0 −76 remarkable/lib/remarkable/core/i18n.rb
  13. +0 −58 remarkable/lib/remarkable/core/macros.rb
  14. +0 −39 remarkable/lib/remarkable/core/matchers.rb
  15. +0 −103 remarkable/lib/remarkable/core/messages.rb
  16. +0 −24 remarkable/lib/remarkable/core/negative.rb
  17. +0 −31 remarkable/lib/remarkable/core/rspec.rb
  18. +0 −3 remarkable/lib/remarkable/core/version.rb
  19. +0 −14 remarkable/locale/en.yml
  20. +0 −46 remarkable/spec/core/base_spec.rb
  21. +0 −54 remarkable/spec/core/dsl/assertions_spec.rb
  22. +0 −237 remarkable/spec/core/dsl/optionals_spec.rb
  23. +0 −41 remarkable/spec/core/i18n_spec.rb
  24. +0 −26 remarkable/spec/core/macros_spec.rb
  25. +0 −66 remarkable/spec/core/matchers_spec.rb
  26. +0 −66 remarkable/spec/core/messages_spec.rb
  27. +0 −33 remarkable/spec/core/pending_spec.rb
  28. +0 −19 remarkable/spec/spec_helper.rb
  29. +0 −25 remarkable/spec/support/locale/en.yml
  30. +0 −21 remarkable/spec/support/locale/pt-BR.yml
  31. +0 −29 remarkable/spec/support/matchers/be_a_person_matcher.rb
  32. +0 −32 remarkable/spec/support/matchers/collection_contain_matcher.rb
  33. +0 −31 remarkable/spec/support/matchers/contain_matcher.rb
  34. +0 −51 remarkable/spec/support/matchers/single_contain_matcher.rb
  35. +0 −147 remarkable_activemodel/CHANGELOG
  36. +0 −20 remarkable_activemodel/LICENSE
  37. +0 −87 remarkable_activemodel/README
  38. +0 −25 remarkable_activemodel/Rakefile
  39. +0 −14 remarkable_activemodel/lib/remarkable/active_model.rb
  40. +0 −252 remarkable_activemodel/lib/remarkable/active_model/base.rb
  41. +0 −88 remarkable_activemodel/lib/remarkable/active_model/matchers/allow_values_for_matcher.rb
  42. +0 −50 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_acceptance_of_matcher.rb
  43. +0 −44 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_confirmation_of_matcher.rb
  44. +0 −57 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_exclusion_of_matcher.rb
  45. +0 −57 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_inclusion_of_matcher.rb
  46. +0 −150 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_length_of_matcher.rb
  47. +0 −188 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_numericality_of_matcher.rb
  48. +0 −91 remarkable_activemodel/lib/remarkable/active_model/matchers/validate_presence_of_matcher.rb
  49. +0 −116 remarkable_activemodel/locale/en.yml
  50. +0 −80 remarkable_activemodel/spec/matchers/allow_values_for_matcher_spec.rb
  51. +0 −68 remarkable_activemodel/spec/matchers/validate_acceptance_of_matcher_spec.rb
  52. +0 −58 remarkable_activemodel/spec/matchers/validate_confirmation_of_matcher_spec.rb
  53. +0 −87 remarkable_activemodel/spec/matchers/validate_exclusion_of_matcher_spec.rb
  54. +0 −87 remarkable_activemodel/spec/matchers/validate_inclusion_of_matcher_spec.rb
  55. +0 −190 remarkable_activemodel/spec/matchers/validate_length_of_matcher_spec.rb
  56. +0 −186 remarkable_activemodel/spec/matchers/validate_numericality_of_matcher_spec.rb
  57. +0 −52 remarkable_activemodel/spec/matchers/validate_presence_of_matcher_spec.rb
  58. +0 −2 remarkable_activemodel/spec/rcov.opts
  59. +0 −14 remarkable_activemodel/spec/spec_helper.rb
  60. +0 −80 remarkable_activemodel/spec/support/model_builder.rb
  61. +0 −147 remarkable_activerecord/CHANGELOG
  62. +0 −20 remarkable_activerecord/LICENSE
  63. +0 −103 remarkable_activerecord/README
  64. +0 −26 remarkable_activerecord/Rakefile
  65. +0 −14 remarkable_activerecord/lib/remarkable/active_record.rb
  66. +0 −6 remarkable_activerecord/lib/remarkable/active_record/base.rb
  67. +0 −138 ...rkable_activerecord/lib/remarkable/active_record/matchers/accept_nested_attributes_for_matcher.rb
  68. +0 −74 remarkable_activerecord/lib/remarkable/active_record/matchers/allow_mass_assignment_of_matcher.rb
  69. +0 −283 remarkable_activerecord/lib/remarkable/active_record/matchers/association_matcher.rb
  70. +0 −68 remarkable_activerecord/lib/remarkable/active_record/matchers/have_column_matcher.rb
  71. +0 −73 remarkable_activerecord/lib/remarkable/active_record/matchers/have_index_matcher.rb
  72. +0 −30 remarkable_activerecord/lib/remarkable/active_record/matchers/have_readonly_attributes_matcher.rb
  73. +0 −101 remarkable_activerecord/lib/remarkable/active_record/matchers/have_scope_matcher.rb
  74. +0 −100 remarkable_activerecord/lib/remarkable/active_record/matchers/validate_associated_matcher.rb
  75. +0 −233 remarkable_activerecord/lib/remarkable/active_record/matchers/validate_uniqueness_of_matcher.rb
  76. +0 −264 remarkable_activerecord/locale/en.yml
  77. +0 −128 remarkable_activerecord/spec/associations/accept_nested_attributes_for_matcher_spec.rb
  78. +0 −188 remarkable_activerecord/spec/associations/belongs_to_matcher_spec.rb
  79. +0 −158 remarkable_activerecord/spec/associations/have_and_belongs_to_many_matcher_spec.rb
  80. +0 −170 remarkable_activerecord/spec/associations/have_many_matcher_spec.rb
  81. +0 −169 remarkable_activerecord/spec/associations/have_one_matcher_spec.rb
  82. +0 −6 remarkable_activerecord/spec/attributes/allow_mass_assignment_of_matcher_spec.rb
  83. +0 −78 remarkable_activerecord/spec/attributes/have_column_matcher_spec.rb
  84. +0 −87 remarkable_activerecord/spec/attributes/have_index_matcher_spec.rb
  85. +0 −47 remarkable_activerecord/spec/attributes/have_readonly_attributes_matcher_spec.rb
  86. +0 −2 remarkable_activerecord/spec/rcov.opts
  87. +0 −89 remarkable_activerecord/spec/scopes/have_scope_matcher_spec.rb
  88. +0 −32 remarkable_activerecord/spec/spec_helper.rb
  89. +0 −102 remarkable_activerecord/spec/support/model_builder.rb
  90. +0 −80 remarkable_activerecord/spec/validations/allow_values_for_matcher_spec.rb
  91. +0 −68 remarkable_activerecord/spec/validations/validate_acceptance_of_matcher_spec.rb
  92. +0 −126 remarkable_activerecord/spec/validations/validate_associated_matcher_spec.rb
  93. +0 −58 remarkable_activerecord/spec/validations/validate_confirmation_of_matcher_spec.rb
  94. +0 −87 remarkable_activerecord/spec/validations/validate_exclusion_of_matcher_spec.rb
  95. +0 −87 remarkable_activerecord/spec/validations/validate_inclusion_of_matcher_spec.rb
  96. +0 −213 remarkable_activerecord/spec/validations/validate_length_of_matcher_spec.rb
  97. +0 −186 remarkable_activerecord/spec/validations/validate_numericality_of_matcher_spec.rb
  98. +0 −84 remarkable_activerecord/spec/validations/validate_presence_of_matcher_spec.rb
  99. +0 −182 remarkable_activerecord/spec/validations/validate_uniqueness_of_matcher_spec.rb
  100. +0 −4 remarkable_datamapper/CHANGELOG
  101. +0 −20 remarkable_datamapper/LICENSE
  102. +0 −3 remarkable_datamapper/README
  103. +0 −25 remarkable_datamapper/Rakefile
  104. +0 −30 remarkable_datamapper/lib/remarkable_datamapper.rb
  105. +0 −245 remarkable_datamapper/lib/remarkable_datamapper/base.rb
  106. +0 −199 remarkable_datamapper/lib/remarkable_datamapper/describe.rb
  107. +0 −37 remarkable_datamapper/lib/remarkable_datamapper/human_names.rb
  108. +0 −197 remarkable_datamapper/lib/remarkable_datamapper/matchers/validate_is_unique_matcher.rb
  109. +0 −263 remarkable_datamapper/locale/en.yml
  110. +0 −105 remarkable_datamapper/spec/model_builder.rb
  111. +0 −2 remarkable_datamapper/spec/rcov.opts
  112. +0 −4 remarkable_datamapper/spec/spec.opts
  113. +0 −58 remarkable_datamapper/spec/spec_helper.rb
  114. +0 −155 remarkable_datamapper/spec/validate_is_unique_matcher_spec.rb
  115. +0 −18 remarkable_i18n/README
  116. +0 −647 remarkable_i18n/en.yml
  117. +0 −385 remarkable_i18n/pt-BR.yml
  118. +0 −105 remarkable_rails/CHANGELOG
  119. +0 −20 remarkable_rails/LICENSE
  120. +0 −116 remarkable_rails/README
  121. +0 −32 remarkable_rails/Rakefile
  122. +0 −1 remarkable_rails/init.rb
  123. +0 −64 remarkable_rails/lib/remarkable_rails.rb
  124. +0 −22 remarkable_rails/lib/remarkable_rails/action_controller.rb
  125. +0 −31 remarkable_rails/lib/remarkable_rails/action_controller/base.rb
  126. +0 −577 remarkable_rails/lib/remarkable_rails/action_controller/macro_stubs.rb
  127. +0 −94 remarkable_rails/lib/remarkable_rails/action_controller/matchers/assign_to_matcher.rb
  128. +0 −41 remarkable_rails/lib/remarkable_rails/action_controller/matchers/filter_params_matcher.rb
  129. +0 −119 remarkable_rails/lib/remarkable_rails/action_controller/matchers/redirect_to_matcher.rb
  130. +0 −149 remarkable_rails/lib/remarkable_rails/action_controller/matchers/render_template_matcher.rb
  131. +0 −136 remarkable_rails/lib/remarkable_rails/action_controller/matchers/respond_with_matcher.rb
  132. +0 −135 remarkable_rails/lib/remarkable_rails/action_controller/matchers/route_matcher.rb
  133. +0 −85 remarkable_rails/lib/remarkable_rails/action_controller/matchers/set_cookies_matcher.rb
  134. +0 −108 remarkable_rails/lib/remarkable_rails/action_controller/matchers/set_session_matcher.rb
  135. +0 −56 remarkable_rails/lib/remarkable_rails/action_controller/matchers/set_the_flash_matcher.rb
  136. +0 −18 remarkable_rails/lib/remarkable_rails/action_view.rb
  137. +0 −7 remarkable_rails/lib/remarkable_rails/action_view/base.rb
  138. +0 −19 remarkable_rails/lib/remarkable_rails/active_orm.rb
  139. +0 −110 remarkable_rails/locale/en.yml
  140. +0 −148 remarkable_rails/spec/action_controller/assign_to_matcher_spec.rb
  141. +0 −64 remarkable_rails/spec/action_controller/filter_params_matcher_spec.rb
  142. +0 −322 remarkable_rails/spec/action_controller/macro_stubs_spec.rb
  143. +0 −102 remarkable_rails/spec/action_controller/redirect_to_matcher_spec.rb
  144. +0 −251 remarkable_rails/spec/action_controller/render_template_matcher_spec.rb
  145. +0 −230 remarkable_rails/spec/action_controller/respond_with_matcher_spec.rb
  146. +0 −100 remarkable_rails/spec/action_controller/route_matcher_spec.rb
  147. +0 −171 remarkable_rails/spec/action_controller/set_cookies_matcher_spec.rb
  148. +0 −157 remarkable_rails/spec/action_controller/set_session_matcher_spec.rb
  149. +0 −117 remarkable_rails/spec/action_controller/set_the_flash_matcher_spec.rb
  150. +0 −15 remarkable_rails/spec/application/application.rb
  151. 0 remarkable_rails/spec/application/examples/_example.html.erb
  152. 0 remarkable_rails/spec/application/examples/example.html.erb
  153. 0 remarkable_rails/spec/application/examples/example.xml.builder
  154. 0 remarkable_rails/spec/application/examples/new.html.erb
  155. 0 remarkable_rails/spec/application/layouts/examples.html.erb
  156. 0 remarkable_rails/spec/application/projects/new.html.erb
  157. +0 −39 remarkable_rails/spec/application/tasks_controller.rb
  158. +0 −2 remarkable_rails/spec/application/vendor/gems/my_plugin/remarkable/my_plugin_locale.yml
  159. +0 −4 remarkable_rails/spec/application/vendor/gems/my_plugin/remarkable/my_plugin_matchers.rb
  160. +0 −92 remarkable_rails/spec/functional_builder.rb
  161. +0 −2 remarkable_rails/spec/rcov.opts
  162. +0 −11 remarkable_rails/spec/remarkable_rails_spec.rb
  163. +0 −4 remarkable_rails/spec/spec.opts
  164. +0 −45 remarkable_rails/spec/spec_helper.rb
View
@@ -1,58 +0,0 @@
-# v3.1
-
-* Remarkable.include_matchers! require just one argument [#80]
-
-* Pending groups show proper backtrace and run by default in execute mode [#49]
-
-* Added support to blocks configuration. All Remarkable matcher and macros can
- now be configured using a block:
-
- should_accept_nested_attributes_for :tasks do |m|
- m.allow_destroy
- m.accept(:name => 'cool')
- m.reject(:name => '')
- end
-
-* Added support to {{sentence}} as interpolation option in optionals.
- Previously we had:
-
- validate_uniqueness_of :id, :scope => [:project_id, :company_id]
- # Description: "should require unique attributes for id scoped to [:project_id, :company_id]"
-
- Now with the new sentence option, we can have:
-
- validate_uniqueness_of :id, :scope => [:project_id, :company_id]
- # Description: "should require unique attributes for id scoped to project_id and company_id"
-
-* Added support to splat and block to optionals
-
-* Added namespace lookup to optionals and expectations. For example, in ActiveRecord
- several matchers have :allow_nil and :allow_blank as options. So you can store
- the translation at:
-
- remarkable:
- activerecord:
- optionals:
- allow_nil:
- # ...
- allow_blank:
- # ...
-
-* Added a repository to hold I18n files
-
-# v3.0
-
-* Added Remarkable::Matchers. Now you can include your Remarkable matchers and
- macros in test unit as well.
-
- class Test::Unit::TestCase
- include Spec::Matchers
- include Remarkable::Matchers
- extend Remarkable::Macros
- end
-
-* Added pending and disabled macros
-* Added I18n
-* Added DSL core structure
-* Added macros core structure
-* Added matchers core structure
View
@@ -1,20 +0,0 @@
-Copyright (c) 2009 Carlos Brando
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,212 +0,0 @@
-= Remarkable
-
-This is the core package of Remarkable. It provides a DSL for creating matchers
-with I18n support, decouples messages from matchers logic, add rspec extra features,
-create macros automatically and allow those macros to be configurable wth blocks.
-
-== Installation
-
- sudo gem install remarkable --pre
-
-Add this to your Gemfile:
-
- group :test do
- gem 'remarkable', '>=4.0.0.alpha2'
- end
-
-Drop this into your spec/spec_helper.rb or spec/support/remarkable.rb file:
-
- require 'remarkable/core'
-
-To include custom matchers:
-
- Remarkable.include_matchers!(MyApp::MyCustomMatchers)
-
-If you use Shoulda-style syntax, you will need to target RSpec::Core::ExampleGroup
-
- Remarkable.include_matchers!(MyApp::MyCustomMatchers, RSpec::Core::ExampleGroup)
-
-== Macros
-
-Each matcher in Remarkable is also available as a macro. So this matcher:
-
- it { should validate_numericality_of(:age, :greater_than => 18, :only_integer => true) }
- it { should validate_numericality_of(:age).greater_than(18).only_integer }
-
-Can also be written as:
-
- should_validate_numericality_of :age, :greater_than => 18, :only_integer => true
-
-Which can be also written as:
-
- should_validate_numericality_of :age do |m|
- m.only_integer
- m.greater_than 18
- # Or: m.greater_than = 18
- end
-
-Choose your style!
-
-== Disabled Macros
-
-Remarkable adds the possibility to disable macros. So as you could do:
-
- xit { should validate_presence_of(:name) }
-
-You can also do:
-
- xshould_validate_presence_of :name
-
-And it will show in your specs output:
-
- "Example disabled: require name to be set"
-
-== I18n
-
-All matchers come with I18n support. You can find an example locale file under
-the locale folder of each project.
-
-To change the locale, you have first to add your locale file in spec/support/remarkable.rb:
-
- Remarkable.add_locale 'path/to/my_locale.yml'
-
-And then:
-
- Remarkable.locale = :my_locale
-
-Internationalization is powered by the I18n gem. If you are using it with Rails,
-it will use the gem, otherwise you will have to install the gem by hand:
-
- gem install i18n
-
-== Creating you own matcher
-
-Create a new matcher is easy. Let's create validate_inclusion_of matcher for
-ActiveRecord as an example. A first matcher version would be:
-
-module Remarkable
- module ActiveModel
- module Matchers
- class ValidateInclusionOfMatcher < Remarkable::ActiveModel::Base
- arguments :attribute
- assertion :is_valid?
-
- optional :in
- optional :allow_blank, :allow_nil, :default => true
-
- protected
-
- def is_valid?
- @options[:in].each do |value|
- @subject.send(:"#{@attribute}=", value)
- return false, :value => value unless @subject.valid?
- end
- true
- end
- end
-
- def validate_inclusion_of(*args)
- ValidateInclusionOfMatcher.new(*args).spec(self)
- end
- end
- end
-end
-
-This creates a matcher which requires one attribute and has :in, :allow_blank
-and :allow_nil as options. So you can call the matcher in the following way:
-
- should_validate_inclusion_of :size, :in => %w(S M L XL)
- should_validate_inclusion_of :size, :in => %w(S M L XL), :allow_blank => true
-
- it { should validate_inclusion_of(:size, :in => %w(S M L XL)).allow_nil(true) }
- it { should validate_inclusion_of(:size, :in => %w(S M L XL)).allow_nil }
-
- it { should validate_inclusion_of(:size, :in => %w(S M L XL)) }
- it { should validate_inclusion_of(:size, :in => %w(S M L XL), :allow_nil => true) }
-
-The assertions methods (in this case, :is_valid?) makes the matcher pass when
-it returns true and fail when returns false.
-
-As you noticed, the matcher doesn't have any message on it. You add them on I18n
-file. A file for this example would be:
-
- remarkable:
- active_model:
- validate_inclusion_of:
- description: "validate inclusion of {{attribute}}"
- expectations:
- is_valid: "to be valid when {{attribute}} is {{value}}"
- optionals:
- in:
- positive: "in {{inspect}}"
- allow_nil:
- positive: "allowing nil values"
- negative: "not allowing nil values"
- allow_blank:
- positive: "allowing blank values"
- negative: "allowing blank values"
-
-The optionals are just added to the description message when they are supplied.
-Look some description messages examples:
-
- should_validate_inclusion_of :size, :in => %w(S M L XL)
- #=> should validate inclusion of size in ["S", "M", "L", "XL"]
-
- should_validate_inclusion_of :size, :in => %w(S M L XL), :allow_nil => true
- #=> should validate inclusion of size in ["S", "M", "L", "XL"] and allowing nil values
-
- should_validate_inclusion_of :size, :in => %w(S M L XL), :allow_nil => false
- #=> should validate inclusion of size in ["S", "M", "L", "XL"] and not allowing nil values
-
-Please notice that the arguments are available as interpolation option, as well
-as the optionals.
-
-The expectations message are set whenever one of the assertions returns false.
-In this case, whenever the assertion fails, we are also returning a hash, with
-the value that failed:
-
- return false, :value => value
-
-This will tell remarkable to make value as interpolation option too.
-
-Whenever you create all your matchers, you tell remarkable to add them to the
-desired rspec example group:
-
- Remarkable.include_matchers!(Remarkable::ActiveRecord, Spec::Example::ExampleGroup)
-
-== Working with collections
-
-Finally, Remarkable also makes easy to deal with collections. The same matcher
-could be easily extended to accept a collection of attributes instead of just one:
-
- should_validate_inclusion_of :first_size, :second_size, :in => %w(S M L XL)
-
-For this we have just those two lines:
-
- arguments :attribute
- assertion :is_valid?
-
-For:
-
- arguments :collection => :attributes, :as => :attribute
- collection_assertion :is_valid?
-
-This means that the collection will be kept in the @attributes instance variable
-and for each value in the collection, it will run the :is_valid? assertion.
-
-Whenever running the assertion, it will also set the @attribute (in singular)
-variable. In your I18n files, you just need to change your description:
-
- validate_inclusion_of:
- description: "validate inclusion of {{attributes}}"
-
-And this will output:
-
- should_validate_inclusion_of :first_size, :second_size, :in => %w(S M L XL)
- #=> should validate inclusion of first size and second size in ["S", "M", "L", "XL"]
-
-== More
-
-This is just an overview of the API. You can add extra options to interpolation
-by overwriting the interpolation_options methods, you can add callbacks after
-initialize your matcher or before asserting and much more!
View
@@ -1,23 +0,0 @@
-# encoding: utf-8
-PROJECT_SUMMARY = "Remarkable: a framework for rspec matchers and macros, with support for I18n."
-PROJECT_DESCRIPTION = PROJECT_SUMMARY
-
-GEM_NAME = "remarkable"
-GEM_AUTHOR = [ "Ho-Sheng Hsiao", "Carlos Brando", "José Valim" ]
-GEM_EMAIL = [ "hosh@sparkfly.com", "eduardobrando@gmail.com", "jose.valim@gmail.com" ]
-
-EXTRA_RDOC_FILES = ["README", "LICENSE", "CHANGELOG"]
-
-require File.join(File.dirname(__FILE__), "..", "rake_helpers.rb")
-
-########### Package && release
-
-configure_gemspec!
-
-########### Specs
-
-desc "Run the specs under spec"
-task :pre_commit do
- puts "\n=> #{GEM_NAME}: rake spec"
- Rake::Task[:spec].execute
-end
@@ -1,15 +0,0 @@
-# Load core files
-require 'remarkable/core/version'
-require 'remarkable/core/matchers'
-require 'remarkable/core/macros'
-require 'remarkable/core/i18n'
-require 'remarkable/core/dsl'
-require 'remarkable/core/messages'
-require 'remarkable/core/base'
-require 'remarkable/core/negative'
-require 'remarkable/core/core_ext/array'
-require 'remarkable/core/rspec'
-
-# Add default locale
-dir = File.dirname(__FILE__)
-Dir["#{dir}/../../locale/*yml"].each {|f| Remarkable.add_locale(f) }
Oops, something went wrong.

0 comments on commit df5eea4

Please sign in to comment.