bddfire 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/bddfire/app.rb +5 -1
- data/lib/bddfire/version.rb +2 -2
- data/scaffold/.relish +2 -2
- data/scaffold/README.md +26 -0
- data/scaffold/browser.json +14 -0
- data/scaffold/ci_script +15 -0
- data/scaffold/package.json +12 -0
- data/scaffold/rake_tasks/cucumber.rb +3 -1
- data/scaffold/rake_tasks/rubocop.rb +4 -4
- metadata +5 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,15 +1,15 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            !binary "U0hBMQ==":
         | 
| 3 3 | 
             
              metadata.gz: !binary |-
         | 
| 4 | 
            -
                 | 
| 4 | 
            +
                ZmRlMjA1Mzc2Y2IwODU5MGIxZmRmZTc3MmRhZWI0MzI4YmJkNDM1Ng==
         | 
| 5 5 | 
             
              data.tar.gz: !binary |-
         | 
| 6 | 
            -
                 | 
| 6 | 
            +
                ZDkzNTQ1OWVhY2QzZGI4ODUwM2YwMWY1MmU2OWRiNjIwMjA3NTA5Yg==
         | 
| 7 7 | 
             
            SHA512:
         | 
| 8 8 | 
             
              metadata.gz: !binary |-
         | 
| 9 | 
            -
                 | 
| 10 | 
            -
                 | 
| 11 | 
            -
                 | 
| 9 | 
            +
                OGZlOWQzOTMyOTM0YjRlNDU4OTYwNjI1ZTQ5YWM0NDkwNzgwZTI2NDM5OWQy
         | 
| 10 | 
            +
                NjRmNGZmZjRjNWM5NjEyMDU4NTc3ZTlmOWEzMTdkZGY4ODk2Y2MxNzc2MGVm
         | 
| 11 | 
            +
                YTRmMjIzMmJiOGZmYzhiMjEzNTZjYzZiOGExZGQxMGRmYmI2OWE=
         | 
| 12 12 | 
             
              data.tar.gz: !binary |-
         | 
| 13 | 
            -
                 | 
| 14 | 
            -
                 | 
| 15 | 
            -
                 | 
| 13 | 
            +
                YzlkZDI1NWYxNTUzYTYxMTUxMWM0YWQ2ZmQ0NWEwZDY0MzM1Yzc5ZDk4ZTk0
         | 
| 14 | 
            +
                YWVlMGIwOTllNjU1YjlhODcyMzQ1MGRlZTA5M2FjMzU4OTE5ZGM2ODEzNmVj
         | 
| 15 | 
            +
                YmNkMWQ4MjJkYThhOWUyZTM2ODlmYmExZjdkODMwYzU2MWQwYmU=
         | 
    
        data/lib/bddfire/app.rb
    CHANGED
    
    | @@ -43,6 +43,9 @@ module BDDfire | |
| 43 43 | 
             
                  copy_file ".relish"
         | 
| 44 44 | 
             
                  copy_file ".yard.yml"
         | 
| 45 45 | 
             
                  copy_file "browser.json"
         | 
| 46 | 
            +
                  copy_file "package.json"
         | 
| 47 | 
            +
                  copy_file "README.md"
         | 
| 48 | 
            +
                  copy_file "ci_script"
         | 
| 46 49 | 
             
                  copy_file "features/support/env.rb"
         | 
| 47 50 | 
             
                  copy_file "features/support/hooks.rb"
         | 
| 48 51 | 
             
                  copy_file "features/support/responsive.rb"
         | 
| @@ -88,6 +91,7 @@ module BDDfire | |
| 88 91 | 
             
                    append_file "Gemfile" do
         | 
| 89 92 | 
             
                      "source 'http://rubygems.org'\n\n" +
         | 
| 90 93 | 
             
                      "gem 'rake'\n"
         | 
| 94 | 
            +
                      "gem 'rubocop-checkstyle_formatter', require: false \n\n"
         | 
| 91 95 | 
             
                    end
         | 
| 92 96 | 
             
                  end
         | 
| 93 97 | 
             
                end
         | 
| @@ -125,4 +129,4 @@ module BDDfire | |
| 125 129 | 
             
                  gsub_file(filename, /([^\n])\z/, "\\1\n")
         | 
| 126 130 | 
             
                end
         | 
| 127 131 | 
             
              end
         | 
| 128 | 
            -
            end
         | 
| 132 | 
            +
            end
         | 
    
        data/lib/bddfire/version.rb
    CHANGED
    
    | @@ -1,3 +1,3 @@ | |
| 1 1 | 
             
            module BDDfire
         | 
| 2 | 
            -
              VERSION = "1.1. | 
| 3 | 
            -
            end
         | 
| 2 | 
            +
              VERSION = "1.1.3"
         | 
| 3 | 
            +
            end
         | 
    
        data/scaffold/.relish
    CHANGED
    
    | @@ -1,2 +1,2 @@ | |
| 1 | 
            -
             | 
| 2 | 
            -
             | 
| 1 | 
            +
            --- 
         | 
| 2 | 
            +
            api_token: your_token
         | 
    
        data/scaffold/README.md
    ADDED
    
    | @@ -0,0 +1,26 @@ | |
| 1 | 
            +
            BDD Scenarios 
         | 
| 2 | 
            +
            ========================
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            ## Install
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            Your description to install project
         | 
| 7 | 
            +
             | 
| 8 | 
            +
                        $ bundle install 
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            ## Usage
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            ### Run cucumber bundle tasks
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                         $ bundle exec cucumber -p selenium
         | 
| 15 | 
            +
                         
         | 
| 16 | 
            +
            ### Run Rake tasks
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                         $ bundle exec rake [task name]
         | 
| 19 | 
            +
             | 
| 20 | 
            +
             | 
| 21 | 
            +
            ## Running on CI
         | 
| 22 | 
            +
             | 
| 23 | 
            +
             | 
| 24 | 
            +
            Your steps to run the things on CI goes here 
         | 
| 25 | 
            +
                        
         | 
| 26 | 
            +
                        
         | 
    
        data/scaffold/browser.json
    CHANGED
    
    
    
        data/scaffold/ci_script
    ADDED
    
    | @@ -0,0 +1,15 @@ | |
| 1 | 
            +
            #!/bin/bash
         | 
| 2 | 
            +
            RAKETASK=$1
         | 
| 3 | 
            +
            rm -rf ${WORKSPACE}/target/
         | 
| 4 | 
            +
            rm -rf ${WORKSPACE}/.yarddoc/
         | 
| 5 | 
            +
            rm -rf ${WORKSPACE}/doc/
         | 
| 6 | 
            +
            mkdir -p ${WORKSPACE}/target/
         | 
| 7 | 
            +
            bundle install --path vendor/bundle --binstubs
         | 
| 8 | 
            +
            bundle exec yard config load_plugins true
         | 
| 9 | 
            +
            bundle exec yardoc 'example/**/*.rb' 'example/**/*.feature'
         | 
| 10 | 
            +
            bundle exec rake yard
         | 
| 11 | 
            +
            cd ${WORKSPACE}/features
         | 
| 12 | 
            +
            bundle exec cuke_sniffer --out html ${WORKSPACE}/target/cuke_sniffer.html
         | 
| 13 | 
            +
            bundle exec rubocop ${WORKSPACE}/features/ --require rubocop/formatter/checkstyle_formatter --format Rubocop::Formatter::CheckstyleFormatter --no-color --silent --rails --out ${WORKSPACE}/target/checkstyle.xml
         | 
| 14 | 
            +
            cd ${WORKSPACE}
         | 
| 15 | 
            +
            bundle exec rake "${RAKETASK}"
         | 
| @@ -2,5 +2,7 @@ require 'cucumber/rake/task' | |
| 2 2 | 
             
            Cucumber::Rake::Task.new(:features) do |features|
         | 
| 3 3 | 
             
              features.cucumber_opts = "features -p selenium --format progress"
         | 
| 4 4 | 
             
            end
         | 
| 5 | 
            -
             | 
| 5 | 
            +
            Cucumber::Rake::Task.new(:features_ci) do |task|
         | 
| 6 | 
            +
              task.cucumber_opts = ["-p poltergeist -f pretty -f junit --out target/ -f html --out target/report.html"]
         | 
| 7 | 
            +
            end
         | 
| 6 8 |  | 
| @@ -1,10 +1,10 @@ | |
| 1 1 | 
             
            require 'rubocop/rake_task'
         | 
| 2 2 |  | 
| 3 | 
            -
            desc "Run Rubocop"
         | 
| 3 | 
            +
            #desc "Run Rubocop"
         | 
| 4 4 |  | 
| 5 | 
            -
            Rubocop::RakeTask.new(:rubocop_rake) do |task|
         | 
| 6 | 
            -
            	task.patterns = ['features/**/*.rb']
         | 
| 7 | 
            -
            end
         | 
| 5 | 
            +
            #Rubocop::RakeTask.new(:rubocop_rake) do |task|
         | 
| 6 | 
            +
            #	task.patterns = ['features/**/*.rb']
         | 
| 7 | 
            +
            #end
         | 
| 8 8 |  | 
| 9 9 | 
             
            task :rubocop do 
         | 
| 10 10 | 
             
              sh 'bundle exec rubocop'
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: bddfire
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.1. | 
| 4 | 
            +
              version: 1.1.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Shashikant Jagtap
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014-07- | 
| 11 | 
            +
            date: 2014-07-14 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: thor
         | 
| @@ -195,7 +195,9 @@ files: | |
| 195 195 | 
             
            - scaffold/.ruby-version
         | 
| 196 196 | 
             
            - scaffold/.travis.yml
         | 
| 197 197 | 
             
            - scaffold/.yard.yml
         | 
| 198 | 
            +
            - scaffold/README.md
         | 
| 198 199 | 
             
            - scaffold/browser.json
         | 
| 200 | 
            +
            - scaffold/ci_script
         | 
| 199 201 | 
             
            - scaffold/config_files/.relish
         | 
| 200 202 | 
             
            - scaffold/config_files/.rubocop.yml
         | 
| 201 203 | 
             
            - scaffold/config_files/.ruby-version
         | 
| @@ -212,6 +214,7 @@ files: | |
| 212 214 | 
             
            - scaffold/features/support/responsive.rb
         | 
| 213 215 | 
             
            - scaffold/lib/project.erb
         | 
| 214 216 | 
             
            - scaffold/lib/project/version.erb
         | 
| 217 | 
            +
            - scaffold/package.json
         | 
| 215 218 | 
             
            - scaffold/rake_tasks/cucumber.rb
         | 
| 216 219 | 
             
            - scaffold/rake_tasks/cuke_sniffer.rb
         | 
| 217 220 | 
             
            - scaffold/rake_tasks/rspec.rb
         |