jasmine 3.7.0 → 3.8.0
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 +4 -4
- data/.circleci/config.yml +84 -0
- data/Gemfile +1 -2
- data/README.markdown +2 -1
- data/jasmine.gemspec +2 -1
- data/lib/jasmine/runners/phantom_js.rb +1 -0
- data/lib/jasmine/version.rb +1 -1
- data/release_notes/3.8.0.md +38 -0
- metadata +20 -5
- data/.travis.yml +0 -35
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 3675b4ae8a2d791c1fb24007ba5c1fa28cb38188289e6c2c97dcd5301af45ba8
         | 
| 4 | 
            +
              data.tar.gz: b9899c89395e9248409eb99aa0858fbedbbdf01ed44d2766ab7f22ab8ec87ee4
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: b1dd04e5d13478f134e16cf7b1762c180ca6f7ed927d65966f8498e54b72e5f9888911d33243e60f7239f1b43d114d27baa0b27286e0f061ba9e7f6869636429
         | 
| 7 | 
            +
              data.tar.gz: e2de6296d752fcbbf7a4e2c7505192aa59810a01e5f470f4e95b58b0dd2458257a3b3861755c129124a5173b3dc59b2f16f07d8d74b906d4981fa0d6b8380815
         | 
| @@ -0,0 +1,84 @@ | |
| 1 | 
            +
            version: 2.1
         | 
| 2 | 
            +
            orbs:
         | 
| 3 | 
            +
              ruby: circleci/ruby@1.1.2 
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            executors:
         | 
| 6 | 
            +
              ruby_3_0:
         | 
| 7 | 
            +
                docker:
         | 
| 8 | 
            +
                  - image: circleci/ruby:3.0-browsers-legacy
         | 
| 9 | 
            +
              ruby_2_7:
         | 
| 10 | 
            +
                docker:
         | 
| 11 | 
            +
                  - image: circleci/ruby:2.7-browsers-legacy
         | 
| 12 | 
            +
              ruby_2_6:
         | 
| 13 | 
            +
                docker:
         | 
| 14 | 
            +
                  - image: circleci/ruby:2.6-browsers-legacy
         | 
| 15 | 
            +
              ruby_2_5:
         | 
| 16 | 
            +
                docker:
         | 
| 17 | 
            +
                  - image: circleci/ruby:2.5-browsers-legacy
         | 
| 18 | 
            +
              ruby_2_3:
         | 
| 19 | 
            +
                docker:
         | 
| 20 | 
            +
                  - image: circleci/ruby:2.3-browsers-legacy
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            jobs:
         | 
| 23 | 
            +
              test:
         | 
| 24 | 
            +
                parameters:
         | 
| 25 | 
            +
                  rails_version:
         | 
| 26 | 
            +
                    type: string
         | 
| 27 | 
            +
                  executor:
         | 
| 28 | 
            +
                    type: executor
         | 
| 29 | 
            +
                executor: << parameters.executor >>
         | 
| 30 | 
            +
                environment:
         | 
| 31 | 
            +
                  RAILS_VERSION=<< parameters.rails_version >>
         | 
| 32 | 
            +
                steps:
         | 
| 33 | 
            +
                  - checkout:
         | 
| 34 | 
            +
                     path: jasmine-gem
         | 
| 35 | 
            +
                  - run:
         | 
| 36 | 
            +
                      name: Install Node
         | 
| 37 | 
            +
                      command: sudo apt-get install nodejs
         | 
| 38 | 
            +
                  - run:
         | 
| 39 | 
            +
                      name: Install bundler
         | 
| 40 | 
            +
                      command: "if [ $RAILS_VERSION = rails4 ];then gem install bundler -v '< 2.0' ; else gem install bundler; fi"
         | 
| 41 | 
            +
                  - run:
         | 
| 42 | 
            +
                      name: Report versions
         | 
| 43 | 
            +
                      command: "echo 'Ruby version:' && ruby -v && echo 'Bundler version:' && bundle -v && echo 'RAILS_VERSION:' $RAILS_VERSION"
         | 
| 44 | 
            +
                  - run:
         | 
| 45 | 
            +
                      name: Install gems
         | 
| 46 | 
            +
                      command: "cd jasmine-gem && bundle install"
         | 
| 47 | 
            +
                  - run:
         | 
| 48 | 
            +
                      name: Run tests
         | 
| 49 | 
            +
                      command: "cd jasmine-gem && bundle exec rake --trace"
         | 
| 50 | 
            +
             | 
| 51 | 
            +
            workflows:
         | 
| 52 | 
            +
              version: 2
         | 
| 53 | 
            +
              push: &push_workflow
         | 
| 54 | 
            +
                jobs:
         | 
| 55 | 
            +
                  - test:
         | 
| 56 | 
            +
                      matrix:
         | 
| 57 | 
            +
                        parameters:
         | 
| 58 | 
            +
                          rails_version: ["pojs", "rails6", "rails5", "rails4"]
         | 
| 59 | 
            +
                          executor: ["ruby_3_0", "ruby_2_7", "ruby_2_6", "ruby_2_5", "ruby_2_3"]
         | 
| 60 | 
            +
                        exclude:
         | 
| 61 | 
            +
                          # Don't run Rails 4 on newer Rubies that lack an old enough
         | 
| 62 | 
            +
                          # bundler.
         | 
| 63 | 
            +
                          - rails_version: "rails4"
         | 
| 64 | 
            +
                            executor: "ruby_3_0"
         | 
| 65 | 
            +
                          - rails_version: "rails4"
         | 
| 66 | 
            +
                            executor: "ruby_2_7"
         | 
| 67 | 
            +
                          # Rails 6 requires at least Ruby 2.5.
         | 
| 68 | 
            +
                          - rails_version: "rails6"
         | 
| 69 | 
            +
                            executor: "ruby_2_3"
         | 
| 70 | 
            +
                          # Rails 5 requires Ruby < 2.7
         | 
| 71 | 
            +
                          - rails_version: "rails5"
         | 
| 72 | 
            +
                            executor: "ruby_3_0"
         | 
| 73 | 
            +
                          - rails_version: "rails5"
         | 
| 74 | 
            +
                            executor: "ruby_2_7"
         | 
| 75 | 
            +
              cron:
         | 
| 76 | 
            +
                <<: *push_workflow
         | 
| 77 | 
            +
                triggers:
         | 
| 78 | 
            +
                  - schedule:
         | 
| 79 | 
            +
                      # Times are UTC.
         | 
| 80 | 
            +
                      cron: "0 10 * * *"
         | 
| 81 | 
            +
                      filters:
         | 
| 82 | 
            +
                        branches:
         | 
| 83 | 
            +
                           only:
         | 
| 84 | 
            +
                             - main
         | 
    
        data/Gemfile
    CHANGED
    
    | @@ -2,10 +2,9 @@ source 'https://rubygems.org' | |
| 2 2 |  | 
| 3 3 | 
             
            gemspec
         | 
| 4 4 |  | 
| 5 | 
            -
            gem 'anchorman', :platform => :mri
         | 
| 6 5 |  | 
| 7 6 | 
             
            # during development, do not release
         | 
| 8 | 
            -
            if ENV[' | 
| 7 | 
            +
            if ENV['CIRCLECI']
         | 
| 9 8 | 
             
              gem 'jasmine-core', :git => 'http://github.com/jasmine/jasmine.git', ref: 'main'
         | 
| 10 9 | 
             
            else
         | 
| 11 10 | 
             
              gem 'jasmine-core', :path => '../jasmine'
         | 
    
        data/README.markdown
    CHANGED
    
    | @@ -1,4 +1,5 @@ | |
| 1 | 
            -
            # The Jasmine Gem | 
| 1 | 
            +
            # The Jasmine Gem
         | 
| 2 | 
            +
            [](https://circleci.com/gh/jasmine/jasmine-gem)
         | 
| 2 3 | 
             
            [](https://app.fossa.io/projects/git%2Bgithub.com%2Fjasmine%2Fjasmine-gem?ref=badge_shield)
         | 
| 3 4 | 
             
            [](https://badge.fury.io/rb/jasmine)
         | 
| 4 5 |  | 
    
        data/jasmine.gemspec
    CHANGED
    
    | @@ -37,8 +37,9 @@ Gem::Specification.new do |s| | |
| 37 37 | 
             
              s.add_development_dependency 'rspec', '>= 2.5.0'
         | 
| 38 38 | 
             
              s.add_development_dependency 'nokogiri'
         | 
| 39 39 |  | 
| 40 | 
            -
              s.add_dependency 'jasmine-core', '~> 3. | 
| 40 | 
            +
              s.add_dependency 'jasmine-core', '~> 3.8.0'
         | 
| 41 41 | 
             
              s.add_dependency 'rack', '>= 1.2.1'
         | 
| 42 | 
            +
              s.add_dependency 'webrick'
         | 
| 42 43 | 
             
              s.add_dependency 'rake'
         | 
| 43 44 | 
             
              s.add_dependency 'phantomjs'
         | 
| 44 45 | 
             
            end
         | 
    
        data/lib/jasmine/version.rb
    CHANGED
    
    
| @@ -0,0 +1,38 @@ | |
| 1 | 
            +
            # Jasmine Gem 3.8 Release Notes
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            ## Summary
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            This release updates the jasmine-core dependency to 3.8.0. See the
         | 
| 6 | 
            +
            [jasmine-core release notes](https://github.com/pivotal/jasmine/blob/main/release_notes/3.8.0.md)
         | 
| 7 | 
            +
            for more information.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ## Changes
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            * Ruby 3.0 compatibility
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            # Internal notes
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            * Added Ruby 2.7 and Ruby 3.0 to CI matrix
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * Migrated from Travis to Circle CI
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            ## Supported Environments
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            The Jasmine gem has been tested in the following environments:
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            | Rails version   | Ruby versions |
         | 
| 24 | 
            +
            |-----------------|---------------|
         | 
| 25 | 
            +
            | 6               | 2.5-3.0       |
         | 
| 26 | 
            +
            | 5               | 2.3-2.7       |
         | 
| 27 | 
            +
            | 4               | 2.3-2.6       |
         | 
| 28 | 
            +
            | Non-Rails usage | 2.3-3.0       |
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            See the 
         | 
| 31 | 
            +
            [jasmine-core release notes](https://github.com/jasmine/jasmine/blob/main/release_notes/3.8.0.md)
         | 
| 32 | 
            +
            for supported browsers.
         | 
| 33 | 
            +
             | 
| 34 | 
            +
             | 
| 35 | 
            +
             | 
| 36 | 
            +
            ------
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            _Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: jasmine
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3. | 
| 4 | 
            +
              version: 3.8.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Gregg Van Hove
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021- | 
| 11 | 
            +
            date: 2021-07-02 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rails
         | 
| @@ -92,14 +92,14 @@ dependencies: | |
| 92 92 | 
             
                requirements:
         | 
| 93 93 | 
             
                - - "~>"
         | 
| 94 94 | 
             
                  - !ruby/object:Gem::Version
         | 
| 95 | 
            -
                    version: 3. | 
| 95 | 
            +
                    version: 3.8.0
         | 
| 96 96 | 
             
              type: :runtime
         | 
| 97 97 | 
             
              prerelease: false
         | 
| 98 98 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 99 99 | 
             
                requirements:
         | 
| 100 100 | 
             
                - - "~>"
         | 
| 101 101 | 
             
                  - !ruby/object:Gem::Version
         | 
| 102 | 
            -
                    version: 3. | 
| 102 | 
            +
                    version: 3.8.0
         | 
| 103 103 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 104 104 | 
             
              name: rack
         | 
| 105 105 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -114,6 +114,20 @@ dependencies: | |
| 114 114 | 
             
                - - ">="
         | 
| 115 115 | 
             
                  - !ruby/object:Gem::Version
         | 
| 116 116 | 
             
                    version: 1.2.1
         | 
| 117 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 118 | 
            +
              name: webrick
         | 
| 119 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 120 | 
            +
                requirements:
         | 
| 121 | 
            +
                - - ">="
         | 
| 122 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 123 | 
            +
                    version: '0'
         | 
| 124 | 
            +
              type: :runtime
         | 
| 125 | 
            +
              prerelease: false
         | 
| 126 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 127 | 
            +
                requirements:
         | 
| 128 | 
            +
                - - ">="
         | 
| 129 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 130 | 
            +
                    version: '0'
         | 
| 117 131 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 118 132 | 
             
              name: rake
         | 
| 119 133 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -150,10 +164,10 @@ executables: | |
| 150 164 | 
             
            extensions: []
         | 
| 151 165 | 
             
            extra_rdoc_files: []
         | 
| 152 166 | 
             
            files:
         | 
| 167 | 
            +
            - ".circleci/config.yml"
         | 
| 153 168 | 
             
            - ".editorconfig"
         | 
| 154 169 | 
             
            - ".gitignore"
         | 
| 155 170 | 
             
            - ".rspec"
         | 
| 156 | 
            -
            - ".travis.yml"
         | 
| 157 171 | 
             
            - Gemfile
         | 
| 158 172 | 
             
            - HOW_TO_TEST.markdown
         | 
| 159 173 | 
             
            - MIT.LICENSE
         | 
| @@ -217,6 +231,7 @@ files: | |
| 217 231 | 
             
            - release_notes/3.5.1.md
         | 
| 218 232 | 
             
            - release_notes/3.6.0.md
         | 
| 219 233 | 
             
            - release_notes/3.7.0.md
         | 
| 234 | 
            +
            - release_notes/3.8.0.md
         | 
| 220 235 | 
             
            - release_notes/v1.2.1.md
         | 
| 221 236 | 
             
            - release_notes/v1.3.2.md
         | 
| 222 237 | 
             
            - release_notes/v2.0.0.md
         | 
    
        data/.travis.yml
    DELETED
    
    | @@ -1,35 +0,0 @@ | |
| 1 | 
            -
            language: ruby
         | 
| 2 | 
            -
            sudo: false
         | 
| 3 | 
            -
            cache: bundler
         | 
| 4 | 
            -
             | 
| 5 | 
            -
            addons:
         | 
| 6 | 
            -
              chrome: stable
         | 
| 7 | 
            -
             | 
| 8 | 
            -
            rvm:
         | 
| 9 | 
            -
              - "2.3"
         | 
| 10 | 
            -
              - "2.5"
         | 
| 11 | 
            -
              - "2.6"
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            env:
         | 
| 14 | 
            -
              - "RAILS_VERSION=rails6"
         | 
| 15 | 
            -
              - "RAILS_VERSION=rails5"
         | 
| 16 | 
            -
              - "RAILS_VERSION=rails4"
         | 
| 17 | 
            -
              - "RAILS_VERSION=pojs"
         | 
| 18 | 
            -
             | 
| 19 | 
            -
            script: "if [ $PERFORMANCE_SPECS ];then bundle exec rake performance_specs --trace; else bundle exec rake --trace; fi"
         | 
| 20 | 
            -
             | 
| 21 | 
            -
            jobs:
         | 
| 22 | 
            -
              fast_finish: true
         | 
| 23 | 
            -
              include:
         | 
| 24 | 
            -
                - env:
         | 
| 25 | 
            -
                    - "PERFORMANCE_SPECS=true"
         | 
| 26 | 
            -
                    - "RAILS_VERSION=rails5"
         | 
| 27 | 
            -
              exclude:
         | 
| 28 | 
            -
                - rvm: "2.3"
         | 
| 29 | 
            -
                  env: "RAILS_VERSION=rails6"
         | 
| 30 | 
            -
             | 
| 31 | 
            -
            before_install:
         | 
| 32 | 
            -
              - "if [$RAILS_VERSION != rails4 ];then gem update --system; fi"
         | 
| 33 | 
            -
              - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
         | 
| 34 | 
            -
              - "if [ $RAILS_VERSION = rails4 ];then gem install bundler -v '< 2.0' ; else gem install bundler; fi"
         | 
| 35 | 
            -
              - bundle --version
         |