when_exe 0.4.0 → 0.4.1
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/README.md +333 -212
 - data/bin/make_ttl.rb +37 -0
 - data/bin/make_ttl.rb.config +9 -0
 - data/lib/when_exe.rb +923 -925
 - data/lib/when_exe/calendarnote.rb +9 -5
 - data/lib/when_exe/coordinates.rb +2437 -2446
 - data/lib/when_exe/inspect.rb +1480 -1408
 - data/lib/when_exe/linkeddata.rb +574 -0
 - data/lib/when_exe/locales/akt.rb +177 -176
 - data/lib/when_exe/locales/locale.rb +751 -751
 - data/lib/when_exe/mini_application.rb +307 -307
 - data/lib/when_exe/parts/resource.rb +1115 -1103
 - data/lib/when_exe/region/chinese/epochs.rb +6 -5
 - data/lib/when_exe/region/christian.rb +831 -829
 - data/lib/when_exe/region/japanese.rb +93 -93
 - data/lib/when_exe/region/japanese/notes.rb +1510 -1495
 - data/lib/when_exe/region/japanese/residues.rb +13 -13
 - data/lib/when_exe/tmposition.rb +2307 -2273
 - data/lib/when_exe/tmreference.rb +1744 -1734
 - data/lib/when_exe/version.rb +2 -2
 - data/link_to_online_documents +1 -1
 - data/test/scripts/3.ext.rb +6 -6
 - data/test/scripts/3.rb +6 -6
 - data/test/test.rb +76 -75
 - data/test/test/icalendar.rb +883 -879
 - data/test/test/linkeddata.rb +224 -0
 - data/test/test/region/m17n.rb +193 -193
 - data/when_exe.gemspec +3 -2
 - metadata +13 -6
 
    
        data/when_exe.gemspec
    CHANGED
    
    | 
         @@ -9,14 +9,15 @@ Gem::Specification.new do |s| 
     | 
|
| 
       9 
9 
     | 
    
         
             
              s.email       = ["suchowan@box.email.ne.jp"]
         
     | 
| 
       10 
10 
     | 
    
         
             
              s.homepage    = "http://www.asahi-net.or.jp/~dd6t-sg/"
         
     | 
| 
       11 
11 
     | 
    
         
             
              s.summary     = %q{A multicultural and multilingualized calendar library based on ISO 8601, ISO 19108, RFC 5545(iCalendar) and RFC6350}
         
     | 
| 
       12 
     | 
    
         
            -
              s.description = %q{A multicultural and multilingualized calendar library based on ISO 8601, ISO 19108, RFC 5545(iCalendar) and RFC6350. This version is a beta version and in the evaluation stage. So, its APIs may be changed in future. Please refer to http://suchowan.at.webry.info/theme/a543700674.html for the recent history (Sorry only in Japanese).}
         
     | 
| 
      
 12 
     | 
    
         
            +
              s.description = %q{A multicultural and multilingualized calendar library based on ISO 8601, ISO 19108, RFC 5545(iCalendar) and RFC6350. JSON-LD format for TemporalPosition and TemporalReferenceSystem are available. This version is a beta version and in the evaluation stage. So, its APIs may be changed in future. Please refer to http://suchowan.at.webry.info/theme/a543700674.html for the recent history (Sorry only in Japanese).}
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
      
 14 
     | 
    
         
            +
            # s.rubyforge_project = "when_exe"
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
              s.files         = `git ls-files`.split("\n")
         
     | 
| 
       17 
17 
     | 
    
         
             
              s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
         
     | 
| 
       18 
18 
     | 
    
         
             
              s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
         
     | 
| 
       19 
19 
     | 
    
         
             
              s.require_paths = ["lib"]
         
     | 
| 
      
 20 
     | 
    
         
            +
              s.required_ruby_version = '>= 1.8.4'
         
     | 
| 
       20 
21 
     | 
    
         | 
| 
       21 
22 
     | 
    
         
             
              # specify any dependencies here; for example:
         
     | 
| 
       22 
23 
     | 
    
         
             
              # s.add_development_dependency "rspec"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,17 +1,18 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: when_exe
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.4. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.4.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Takashi SUGA
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2015-01-17 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       13 
13 
     | 
    
         
             
            description: A multicultural and multilingualized calendar library based on ISO 8601,
         
     | 
| 
       14 
     | 
    
         
            -
              ISO 19108, RFC 5545(iCalendar) and RFC6350.  
     | 
| 
      
 14 
     | 
    
         
            +
              ISO 19108, RFC 5545(iCalendar) and RFC6350. JSON-LD format for TemporalPosition
         
     | 
| 
      
 15 
     | 
    
         
            +
              and TemporalReferenceSystem are available. This version is a beta version and in
         
     | 
| 
       15 
16 
     | 
    
         
             
              the evaluation stage. So, its APIs may be changed in future. Please refer to http://suchowan.at.webry.info/theme/a543700674.html
         
     | 
| 
       16 
17 
     | 
    
         
             
              for the recent history (Sorry only in Japanese).
         
     | 
| 
       17 
18 
     | 
    
         
             
            email:
         
     | 
| 
         @@ -19,6 +20,8 @@ email: 
     | 
|
| 
       19 
20 
     | 
    
         
             
            executables:
         
     | 
| 
       20 
21 
     | 
    
         
             
            - irb.rc
         
     | 
| 
       21 
22 
     | 
    
         
             
            - locales.rb
         
     | 
| 
      
 23 
     | 
    
         
            +
            - make_ttl.rb
         
     | 
| 
      
 24 
     | 
    
         
            +
            - make_ttl.rb.config
         
     | 
| 
       22 
25 
     | 
    
         
             
            - when.rb
         
     | 
| 
       23 
26 
     | 
    
         
             
            - when.rb.config
         
     | 
| 
       24 
27 
     | 
    
         
             
            extensions: []
         
     | 
| 
         @@ -32,6 +35,8 @@ files: 
     | 
|
| 
       32 
35 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       33 
36 
     | 
    
         
             
            - bin/irb.rc
         
     | 
| 
       34 
37 
     | 
    
         
             
            - bin/locales.rb
         
     | 
| 
      
 38 
     | 
    
         
            +
            - bin/make_ttl.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - bin/make_ttl.rb.config
         
     | 
| 
       35 
40 
     | 
    
         
             
            - bin/when.rb
         
     | 
| 
       36 
41 
     | 
    
         
             
            - bin/when.rb.config
         
     | 
| 
       37 
42 
     | 
    
         
             
            - lib/when_exe.rb
         
     | 
| 
         @@ -52,6 +57,7 @@ files: 
     | 
|
| 
       52 
57 
     | 
    
         
             
            - lib/when_exe/googlecalendar.rb
         
     | 
| 
       53 
58 
     | 
    
         
             
            - lib/when_exe/icalendar.rb
         
     | 
| 
       54 
59 
     | 
    
         
             
            - lib/when_exe/inspect.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - lib/when_exe/linkeddata.rb
         
     | 
| 
       55 
61 
     | 
    
         
             
            - lib/when_exe/locales/af.rb
         
     | 
| 
       56 
62 
     | 
    
         
             
            - lib/when_exe/locales/akt.rb
         
     | 
| 
       57 
63 
     | 
    
         
             
            - lib/when_exe/locales/ar.rb
         
     | 
| 
         @@ -271,6 +277,7 @@ files: 
     | 
|
| 
       271 
277 
     | 
    
         
             
            - test/test/googlecalendar.rb
         
     | 
| 
       272 
278 
     | 
    
         
             
            - test/test/icalendar.rb
         
     | 
| 
       273 
279 
     | 
    
         
             
            - test/test/inspect.rb
         
     | 
| 
      
 280 
     | 
    
         
            +
            - test/test/linkeddata.rb
         
     | 
| 
       274 
281 
     | 
    
         
             
            - test/test/parts.rb
         
     | 
| 
       275 
282 
     | 
    
         
             
            - test/test/region/armenian.rb
         
     | 
| 
       276 
283 
     | 
    
         
             
            - test/test/region/bahai.rb
         
     | 
| 
         @@ -313,15 +320,15 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       313 
320 
     | 
    
         
             
              requirements:
         
     | 
| 
       314 
321 
     | 
    
         
             
              - - ">="
         
     | 
| 
       315 
322 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       316 
     | 
    
         
            -
                  version:  
     | 
| 
      
 323 
     | 
    
         
            +
                  version: 1.8.4
         
     | 
| 
       317 
324 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       318 
325 
     | 
    
         
             
              requirements:
         
     | 
| 
       319 
326 
     | 
    
         
             
              - - ">="
         
     | 
| 
       320 
327 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       321 
328 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       322 
329 
     | 
    
         
             
            requirements: []
         
     | 
| 
       323 
     | 
    
         
            -
            rubyforge_project:  
     | 
| 
       324 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 330 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 331 
     | 
    
         
            +
            rubygems_version: 2.4.4
         
     | 
| 
       325 
332 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       326 
333 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       327 
334 
     | 
    
         
             
            summary: A multicultural and multilingualized calendar library based on ISO 8601,
         
     |