cinebase 1.1.0 → 2.0.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/lib/cinebase/{screening.rb → performance.rb} +5 -5
 - data/lib/cinebase/version.rb +1 -1
 - data/lib/cinebase.rb +1 -1
 - metadata +4 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 7d4b5e5301dce130a6119bba0efa7476fa48d6d4
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: e8770392eb59535a9e5418423145ab6b062f999a
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: d919d3e0fc4c5d6ad464cce47c317038d741383a62a635524113b246daf843ede8417c097c590a060b26db7df6870b22a61c0c1c1afa3ef55ba4ff5d8463c607
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: f9bbfa099589964c49d4b8ae8a65484be0517aecb310298981fab467391fd874f6038ef8bd75645cf61a6976e64591eeda254ba7c991fe39e8bcd5520bb7a1b9
         
     | 
| 
         @@ -1,12 +1,12 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            module Cinebase
         
     | 
| 
       2 
     | 
    
         
            -
              #  
     | 
| 
       3 
     | 
    
         
            -
              class  
     | 
| 
      
 2 
     | 
    
         
            +
              # Performance base class
         
     | 
| 
      
 3 
     | 
    
         
            +
              class Performance
         
     | 
| 
       4 
4 
     | 
    
         
             
                attr_reader :booking_url
         
     | 
| 
       5 
5 
     | 
    
         
             
                attr_reader :dimension
         
     | 
| 
       6 
6 
     | 
    
         
             
                attr_reader :cinema_id
         
     | 
| 
       7 
7 
     | 
    
         
             
                attr_reader :cinema_name
         
     | 
| 
       8 
8 
     | 
    
         
             
                attr_reader :film_name
         
     | 
| 
       9 
     | 
    
         
            -
                attr_reader : 
     | 
| 
      
 9 
     | 
    
         
            +
                attr_reader :starting_at
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
                def initialize(options)
         
     | 
| 
       12 
12 
     | 
    
         
             
                  @booking_url = options.fetch(:booking_url, nil)
         
     | 
| 
         @@ -14,7 +14,7 @@ module Cinebase 
     | 
|
| 
       14 
14 
     | 
    
         
             
                  @cinema_id   = options.fetch(:cinema_id)
         
     | 
| 
       15 
15 
     | 
    
         
             
                  @dimension   = options.fetch(:dimension, '2d')
         
     | 
| 
       16 
16 
     | 
    
         
             
                  @film_name   = options.fetch(:film_name)
         
     | 
| 
       17 
     | 
    
         
            -
                  @ 
     | 
| 
      
 17 
     | 
    
         
            +
                  @starting_at = options.fetch(:starting_at)
         
     | 
| 
       18 
18 
     | 
    
         
             
                  @variant     = options.fetch(:variant, [])
         
     | 
| 
       19 
19 
     | 
    
         
             
                end
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
         @@ -24,7 +24,7 @@ module Cinebase 
     | 
|
| 
       24 
24 
     | 
    
         
             
                end
         
     | 
| 
       25 
25 
     | 
    
         | 
| 
       26 
26 
     | 
    
         
             
                def showing_on
         
     | 
| 
       27 
     | 
    
         
            -
                   
     | 
| 
      
 27 
     | 
    
         
            +
                  starting_at.to_date
         
     | 
| 
       28 
28 
     | 
    
         
             
                end
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
                def variant
         
     | 
    
        data/lib/cinebase/version.rb
    CHANGED
    
    
    
        data/lib/cinebase.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: cinebase
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version:  
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.0.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Andy Croll
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2016- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-02-03 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     | 
| 
         @@ -87,7 +87,7 @@ files: 
     | 
|
| 
       87 
87 
     | 
    
         
             
            - cinebase.gemspec
         
     | 
| 
       88 
88 
     | 
    
         
             
            - lib/cinebase.rb
         
     | 
| 
       89 
89 
     | 
    
         
             
            - lib/cinebase/cinema.rb
         
     | 
| 
       90 
     | 
    
         
            -
            - lib/cinebase/ 
     | 
| 
      
 90 
     | 
    
         
            +
            - lib/cinebase/performance.rb
         
     | 
| 
       91 
91 
     | 
    
         
             
            - lib/cinebase/title_sanitizer.rb
         
     | 
| 
       92 
92 
     | 
    
         
             
            - lib/cinebase/version.rb
         
     | 
| 
       93 
93 
     | 
    
         
             
            homepage: http://github.com/andycroll/cinebase
         
     | 
| 
         @@ -115,3 +115,4 @@ signing_key: 
     | 
|
| 
       115 
115 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       116 
116 
     | 
    
         
             
            summary: A base for cinema parsers to maintain a regular interface.
         
     | 
| 
       117 
117 
     | 
    
         
             
            test_files: []
         
     | 
| 
      
 118 
     | 
    
         
            +
            has_rdoc: 
         
     |