turbot 0.0.23 → 0.0.25
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.
- data/lib/turbot/command/bots.rb +3 -2
- data/lib/turbot/version.rb +1 -1
- metadata +39 -22
- checksums.yaml +0 -15
    
        data/lib/turbot/command/bots.rb
    CHANGED
    
    | @@ -112,7 +112,8 @@ class Turbot::Command::Bots < Turbot::Command::Base | |
| 112 112 | 
             
                manifest = manifest.sub("{{scraper_name}}", scraper_name)
         | 
| 113 113 |  | 
| 114 114 | 
             
                # Language-specific stuff
         | 
| 115 | 
            -
                FileUtils. | 
| 115 | 
            +
                FileUtils.mkdir(bot)
         | 
| 116 | 
            +
                FileUtils.cp_r(Dir["#{scraper_template}/*"], bot)
         | 
| 116 117 |  | 
| 117 118 | 
             
                # Same for all languages
         | 
| 118 119 | 
             
                FileUtils.cp(license_template, "#{bot}/LICENSE.txt")
         | 
| @@ -288,6 +289,7 @@ class Turbot::Command::Bots < Turbot::Command::Base | |
| 288 289 | 
             
                      result = api.create_draft_data(bot, config, batch.to_json)
         | 
| 289 290 | 
             
                      batch = []
         | 
| 290 291 | 
             
                    end
         | 
| 292 | 
            +
                    count += 1
         | 
| 291 293 | 
             
                  else
         | 
| 292 294 | 
             
                    puts "The following record was not sent to turbot because it didn't validate against the schema:"
         | 
| 293 295 | 
             
                    puts line
         | 
| @@ -295,7 +297,6 @@ class Turbot::Command::Bots < Turbot::Command::Base | |
| 295 297 | 
             
                    puts errors
         | 
| 296 298 | 
             
                  end
         | 
| 297 299 |  | 
| 298 | 
            -
                  count += 1
         | 
| 299 300 | 
             
                end
         | 
| 300 301 | 
             
                if !batch.empty?
         | 
| 301 302 | 
             
                  result = api.create_draft_data(bot, config, batch.to_json)
         | 
    
        data/lib/turbot/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,18 +1,20 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: turbot
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0. | 
| 4 | 
            +
              version: 0.0.25
         | 
| 5 | 
            +
              prerelease: 
         | 
| 5 6 | 
             
            platform: ruby
         | 
| 6 7 | 
             
            authors:
         | 
| 7 8 | 
             
            - Turbot
         | 
| 8 9 | 
             
            autorequire: 
         | 
| 9 10 | 
             
            bindir: bin
         | 
| 10 11 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2014-06- | 
| 12 | 
            +
            date: 2014-06-16 00:00:00.000000000 Z
         | 
| 12 13 | 
             
            dependencies:
         | 
| 13 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 15 | 
             
              name: netrc
         | 
| 15 16 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 17 | 
            +
                none: false
         | 
| 16 18 | 
             
                requirements:
         | 
| 17 19 | 
             
                - - ~>
         | 
| 18 20 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -20,6 +22,7 @@ dependencies: | |
| 20 22 | 
             
              type: :runtime
         | 
| 21 23 | 
             
              prerelease: false
         | 
| 22 24 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 25 | 
            +
                none: false
         | 
| 23 26 | 
             
                requirements:
         | 
| 24 27 | 
             
                - - ~>
         | 
| 25 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -27,6 +30,7 @@ dependencies: | |
| 27 30 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 31 | 
             
              name: rest-client
         | 
| 29 32 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 33 | 
            +
                none: false
         | 
| 30 34 | 
             
                requirements:
         | 
| 31 35 | 
             
                - - ~>
         | 
| 32 36 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -34,6 +38,7 @@ dependencies: | |
| 34 38 | 
             
              type: :runtime
         | 
| 35 39 | 
             
              prerelease: false
         | 
| 36 40 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 41 | 
            +
                none: false
         | 
| 37 42 | 
             
                requirements:
         | 
| 38 43 | 
             
                - - ~>
         | 
| 39 44 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -41,6 +46,7 @@ dependencies: | |
| 41 46 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 47 | 
             
              name: launchy
         | 
| 43 48 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 49 | 
            +
                none: false
         | 
| 44 50 | 
             
                requirements:
         | 
| 45 51 | 
             
                - - ! '>='
         | 
| 46 52 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -48,6 +54,7 @@ dependencies: | |
| 48 54 | 
             
              type: :runtime
         | 
| 49 55 | 
             
              prerelease: false
         | 
| 50 56 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 57 | 
            +
                none: false
         | 
| 51 58 | 
             
                requirements:
         | 
| 52 59 | 
             
                - - ! '>='
         | 
| 53 60 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -55,6 +62,7 @@ dependencies: | |
| 55 62 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 63 | 
             
              name: rubyzip
         | 
| 57 64 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 65 | 
            +
                none: false
         | 
| 58 66 | 
             
                requirements:
         | 
| 59 67 | 
             
                - - ! '>='
         | 
| 60 68 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -62,6 +70,7 @@ dependencies: | |
| 62 70 | 
             
              type: :runtime
         | 
| 63 71 | 
             
              prerelease: false
         | 
| 64 72 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 73 | 
            +
                none: false
         | 
| 65 74 | 
             
                requirements:
         | 
| 66 75 | 
             
                - - ! '>='
         | 
| 67 76 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -69,6 +78,7 @@ dependencies: | |
| 69 78 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 70 79 | 
             
              name: json-schema
         | 
| 71 80 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 81 | 
            +
                none: false
         | 
| 72 82 | 
             
                requirements:
         | 
| 73 83 | 
             
                - - ! '>='
         | 
| 74 84 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -76,6 +86,7 @@ dependencies: | |
| 76 86 | 
             
              type: :runtime
         | 
| 77 87 | 
             
              prerelease: false
         | 
| 78 88 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 89 | 
            +
                none: false
         | 
| 79 90 | 
             
                requirements:
         | 
| 80 91 | 
             
                - - ! '>='
         | 
| 81 92 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -83,6 +94,7 @@ dependencies: | |
| 83 94 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 84 95 | 
             
              name: activesupport
         | 
| 85 96 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 97 | 
            +
                none: false
         | 
| 86 98 | 
             
                requirements:
         | 
| 87 99 | 
             
                - - '='
         | 
| 88 100 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -90,6 +102,7 @@ dependencies: | |
| 90 102 | 
             
              type: :runtime
         | 
| 91 103 | 
             
              prerelease: false
         | 
| 92 104 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 105 | 
            +
                none: false
         | 
| 93 106 | 
             
                requirements:
         | 
| 94 107 | 
             
                - - '='
         | 
| 95 108 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -97,6 +110,7 @@ dependencies: | |
| 97 110 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 98 111 | 
             
              name: turbot-api
         | 
| 99 112 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 113 | 
            +
                none: false
         | 
| 100 114 | 
             
                requirements:
         | 
| 101 115 | 
             
                - - '='
         | 
| 102 116 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -104,6 +118,7 @@ dependencies: | |
| 104 118 | 
             
              type: :runtime
         | 
| 105 119 | 
             
              prerelease: false
         | 
| 106 120 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 121 | 
            +
                none: false
         | 
| 107 122 | 
             
                requirements:
         | 
| 108 123 | 
             
                - - '='
         | 
| 109 124 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -111,6 +126,7 @@ dependencies: | |
| 111 126 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 112 127 | 
             
              name: excon
         | 
| 113 128 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 129 | 
            +
                none: false
         | 
| 114 130 | 
             
                requirements:
         | 
| 115 131 | 
             
                - - ! '>='
         | 
| 116 132 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -118,6 +134,7 @@ dependencies: | |
| 118 134 | 
             
              type: :runtime
         | 
| 119 135 | 
             
              prerelease: false
         | 
| 120 136 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 137 | 
            +
                none: false
         | 
| 121 138 | 
             
                requirements:
         | 
| 122 139 | 
             
                - - ! '>='
         | 
| 123 140 | 
             
                  - !ruby/object:Gem::Version
         | 
| @@ -161,22 +178,6 @@ files: | |
| 161 178 | 
             
            - lib/turbot/updater.rb
         | 
| 162 179 | 
             
            - lib/turbot/version.rb
         | 
| 163 180 | 
             
            - lib/vendor/turbot/okjson.rb
         | 
| 164 | 
            -
            - schema/schemas/company-schema.json
         | 
| 165 | 
            -
            - schema/schemas/includes/address.json
         | 
| 166 | 
            -
            - schema/schemas/includes/base-statement.json
         | 
| 167 | 
            -
            - schema/schemas/includes/company.json
         | 
| 168 | 
            -
            - schema/schemas/includes/filing.json
         | 
| 169 | 
            -
            - schema/schemas/includes/license-data.json
         | 
| 170 | 
            -
            - schema/schemas/includes/officer.json
         | 
| 171 | 
            -
            - schema/schemas/includes/previous_name.json
         | 
| 172 | 
            -
            - schema/schemas/includes/share-parcel-data.json
         | 
| 173 | 
            -
            - schema/schemas/includes/share-parcel.json
         | 
| 174 | 
            -
            - schema/schemas/includes/subsidiary-relationship-data.json
         | 
| 175 | 
            -
            - schema/schemas/includes/total-shares.json
         | 
| 176 | 
            -
            - schema/schemas/licence-schema.json
         | 
| 177 | 
            -
            - schema/schemas/primary-data-schema.json
         | 
| 178 | 
            -
            - schema/schemas/share-parcel-schema.json
         | 
| 179 | 
            -
            - schema/schemas/subsidiary-relationship-schema.json
         | 
| 180 181 | 
             
            - spec/helper/legacy_help.rb
         | 
| 181 182 | 
             
            - spec/helper/pg_dump_restore_spec.rb
         | 
| 182 183 | 
             
            - spec/schemas/dummy_schema.json
         | 
| @@ -210,29 +211,45 @@ files: | |
| 210 211 | 
             
            - templates/manifest.json
         | 
| 211 212 | 
             
            - templates/python/scraper.py
         | 
| 212 213 | 
             
            - templates/ruby/scraper.rb
         | 
| 214 | 
            +
            - schema/schemas/company-schema.json
         | 
| 215 | 
            +
            - schema/schemas/includes/address.json
         | 
| 216 | 
            +
            - schema/schemas/includes/base-statement.json
         | 
| 217 | 
            +
            - schema/schemas/includes/company.json
         | 
| 218 | 
            +
            - schema/schemas/includes/filing.json
         | 
| 219 | 
            +
            - schema/schemas/includes/license-data.json
         | 
| 220 | 
            +
            - schema/schemas/includes/officer.json
         | 
| 221 | 
            +
            - schema/schemas/includes/previous_name.json
         | 
| 222 | 
            +
            - schema/schemas/includes/share-parcel-data.json
         | 
| 223 | 
            +
            - schema/schemas/includes/share-parcel.json
         | 
| 224 | 
            +
            - schema/schemas/includes/subsidiary-relationship-data.json
         | 
| 225 | 
            +
            - schema/schemas/includes/total-shares.json
         | 
| 226 | 
            +
            - schema/schemas/licence-schema.json
         | 
| 227 | 
            +
            - schema/schemas/primary-data-schema.json
         | 
| 228 | 
            +
            - schema/schemas/share-parcel-schema.json
         | 
| 229 | 
            +
            - schema/schemas/subsidiary-relationship-schema.json
         | 
| 213 230 | 
             
            homepage: http://turbot.com/
         | 
| 214 231 | 
             
            licenses:
         | 
| 215 232 | 
             
            - MIT
         | 
| 216 | 
            -
            metadata: {}
         | 
| 217 233 | 
             
            post_install_message: 
         | 
| 218 234 | 
             
            rdoc_options: []
         | 
| 219 235 | 
             
            require_paths:
         | 
| 220 236 | 
             
            - lib
         | 
| 221 237 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 238 | 
            +
              none: false
         | 
| 222 239 | 
             
              requirements:
         | 
| 223 240 | 
             
              - - ! '>='
         | 
| 224 241 | 
             
                - !ruby/object:Gem::Version
         | 
| 225 242 | 
             
                  version: 1.9.2
         | 
| 226 243 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 244 | 
            +
              none: false
         | 
| 227 245 | 
             
              requirements:
         | 
| 228 246 | 
             
              - - ! '>='
         | 
| 229 247 | 
             
                - !ruby/object:Gem::Version
         | 
| 230 248 | 
             
                  version: '0'
         | 
| 231 249 | 
             
            requirements: []
         | 
| 232 250 | 
             
            rubyforge_project: 
         | 
| 233 | 
            -
            rubygems_version:  | 
| 251 | 
            +
            rubygems_version: 1.8.23.2
         | 
| 234 252 | 
             
            signing_key: 
         | 
| 235 | 
            -
            specification_version:  | 
| 253 | 
            +
            specification_version: 3
         | 
| 236 254 | 
             
            summary: Client library and CLI to deploy apps on Turbot.
         | 
| 237 255 | 
             
            test_files: []
         | 
| 238 | 
            -
            has_rdoc: 
         | 
    
        checksums.yaml
    DELETED
    
    | @@ -1,15 +0,0 @@ | |
| 1 | 
            -
            ---
         | 
| 2 | 
            -
            !binary "U0hBMQ==":
         | 
| 3 | 
            -
              metadata.gz: !binary |-
         | 
| 4 | 
            -
                OTFkYjQ5ODY3ZGNiNjY1OWZiZjUxNDI0ODIzZjY5ZDVkNjQ3MTY4Yg==
         | 
| 5 | 
            -
              data.tar.gz: !binary |-
         | 
| 6 | 
            -
                MGZlYWVkODdhNmE2ZmRmMTI5ODI4Y2E3ZWY4NmNjZjQwNjgzYzJkZA==
         | 
| 7 | 
            -
            SHA512:
         | 
| 8 | 
            -
              metadata.gz: !binary |-
         | 
| 9 | 
            -
                NTkzODA2NjM4OWE3ZTkwNGE2NWQ1NTE5NDJkY2JmYTY0MjJlNzY1MWFkODM2
         | 
| 10 | 
            -
                ZDQzZTA0YmM2MTc4ODhkZGI0ZDQ5ZjE0ODllOTAwYmM0ZWU1NzdlNzVmOTQ4
         | 
| 11 | 
            -
                MGY1OTVlZDM4OWNhNjA3ZWFiYjY0MTIwNTc1ZjczOWQ1NzE1Mjk=
         | 
| 12 | 
            -
              data.tar.gz: !binary |-
         | 
| 13 | 
            -
                YzgyNmMzZGI2OTg2MzRhMWMzZTdmNjA3MjU5MjYwYWM2ZDVjOGM3NTk0YmYy
         | 
| 14 | 
            -
                NGRmMGNkY2JkMDFiYzE0MDg4MGY3YmFmY2FiN2EzYjM5NDMwNjJkNzZkNzYx
         | 
| 15 | 
            -
                YTIxNDc5Y2M0OTg4N2M4NTgwYjBhMjkxZmU2OWNmZTRiMmI4MDM=
         |