motion-reveal 0.0.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 +15 -0
 - data/lib/motion-reveal.rb +34 -0
 - metadata +43 -0
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,15 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            !binary "U0hBMQ==":
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: !binary |-
         
     | 
| 
      
 4 
     | 
    
         
            +
                NWQyOTg0ZGE4YzhkZGFiYTczNDZmNzA3ZjBkN2I0MGVmYTY4ZDBiNw==
         
     | 
| 
      
 5 
     | 
    
         
            +
              data.tar.gz: !binary |-
         
     | 
| 
      
 6 
     | 
    
         
            +
                NWUzYTA0YTY3OTcyNmZmNDM2MTliMDUyMDU1YWM0MzhhYWJmMWY5Mg==
         
     | 
| 
      
 7 
     | 
    
         
            +
            !binary "U0hBNTEy":
         
     | 
| 
      
 8 
     | 
    
         
            +
              metadata.gz: !binary |-
         
     | 
| 
      
 9 
     | 
    
         
            +
                NjIyYTBiNDlmOTI5OTdkOWNmOTYzOTc5YTNkMDYxNmFlNGY5OWFiYTVkOTAz
         
     | 
| 
      
 10 
     | 
    
         
            +
                YmMxZTNjMzY3YmMyYTlhOWNjNzRlYzIwNmQwNmI5YzlhNmExNjQwYTFkZTk0
         
     | 
| 
      
 11 
     | 
    
         
            +
                NDFiM2YxYTJiOTdlMThjYmE2MjM3ZDQ4YmI2Y2VkYmM1ZTIyYWE=
         
     | 
| 
      
 12 
     | 
    
         
            +
              data.tar.gz: !binary |-
         
     | 
| 
      
 13 
     | 
    
         
            +
                ZWFhZTI2NWQ3ZmZkYTA2YmYxNzY3N2Q2YTdkZjM5YmI2OWQ1MWMxODQ2MDA0
         
     | 
| 
      
 14 
     | 
    
         
            +
                ZWQ0OTQyMDc3MTE3OTgyZGU1ZGVjOWQzZWJlN2E4MWJlOWNmOGY0NTdjMjc4
         
     | 
| 
      
 15 
     | 
    
         
            +
                ZjZmYTJiYmJjOWExYjg4MTEyNWVmN2M4ZWUxMTRiZWUxYzY3N2E=
         
     | 
| 
         @@ -0,0 +1,34 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            unless defined?(Motion::Project::Config)
         
     | 
| 
      
 2 
     | 
    
         
            +
              raise "This file must be required within a RubyMotion project Rakefile."
         
     | 
| 
      
 3 
     | 
    
         
            +
            end
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            # def create_launcher(files)
         
     | 
| 
      
 6 
     | 
    
         
            +
            #   # --- based on motion-testflight
         
     | 
| 
      
 7 
     | 
    
         
            +
            #   launcher_code = <<EOF
         
     | 
| 
      
 8 
     | 
    
         
            +
            # # created by motion-sparkinspector
         
     | 
| 
      
 9 
     | 
    
         
            +
            #   if Object.const_defined?('SparkInspector')
         
     | 
| 
      
 10 
     | 
    
         
            +
            #     SparkInspector.enableObservation
         
     | 
| 
      
 11 
     | 
    
         
            +
            #   end
         
     | 
| 
      
 12 
     | 
    
         
            +
            # EOF
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            #   launcher_file = './app/sparkinspector_launcher.rb'
         
     | 
| 
      
 15 
     | 
    
         
            +
            #   if !File.exist?(launcher_file) or File.read(launcher_file) != launcher_code
         
     | 
| 
      
 16 
     | 
    
         
            +
            #     File.open(launcher_file, 'w') { |io| io.write(launcher_code) }
         
     | 
| 
      
 17 
     | 
    
         
            +
            #   end
         
     | 
| 
      
 18 
     | 
    
         
            +
            #   files = files.flatten
         
     | 
| 
      
 19 
     | 
    
         
            +
            #   files << launcher_file unless files.find { |x| File.expand_path(x) == File.expand_path(launcher_file) }
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            # end
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            Motion::Project::App.setup do |app|
         
     | 
| 
      
 24 
     | 
    
         
            +
              app.development do
         
     | 
| 
      
 25 
     | 
    
         
            +
                if File.exist? ('/Applications/Reveal.app')
         
     | 
| 
      
 26 
     | 
    
         
            +
                  app.vendor_project('/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/Reveal.framework', :static, :products => ['Reveal'], :cflags => '-ObjC')
         
     | 
| 
      
 27 
     | 
    
         
            +
                  app.frameworks << 'CFNetwork'
         
     | 
| 
      
 28 
     | 
    
         
            +
                  app.frameworks << 'QuartzCore'
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
                else
         
     | 
| 
      
 31 
     | 
    
         
            +
                  puts "[warning] Reveal.app not found - Download beta from http://www.revealapp.com"
         
     | 
| 
      
 32 
     | 
    
         
            +
                end
         
     | 
| 
      
 33 
     | 
    
         
            +
              end
         
     | 
| 
      
 34 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,43 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: motion-reveal
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.1
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Diogo
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2013-06-05 00:00:00.000000000 Z
         
     | 
| 
      
 12 
     | 
    
         
            +
            dependencies: []
         
     | 
| 
      
 13 
     | 
    
         
            +
            description: Just a simple gem to add the Reval framework to your RubyMotion project.
         
     | 
| 
      
 14 
     | 
    
         
            +
            email: diogo@regattapix.com
         
     | 
| 
      
 15 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 16 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 17 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 18 
     | 
    
         
            +
            files:
         
     | 
| 
      
 19 
     | 
    
         
            +
            - lib/motion-reveal.rb
         
     | 
| 
      
 20 
     | 
    
         
            +
            homepage: https://github.com/diogoandre/motion-reveal
         
     | 
| 
      
 21 
     | 
    
         
            +
            licenses: []
         
     | 
| 
      
 22 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 23 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 24 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 25 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 26 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 27 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 28 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 29 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 30 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 31 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 32 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 33 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 34 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 35 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 36 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 37 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 38 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 39 
     | 
    
         
            +
            rubygems_version: 2.0.2
         
     | 
| 
      
 40 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 41 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 42 
     | 
    
         
            +
            summary: Use Reveal in RubyMotion apps
         
     | 
| 
      
 43 
     | 
    
         
            +
            test_files: []
         
     |