rubisc 0.2.5 → 0.2.6
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/bin/pod-publish +5 -0
 - data/bin/pod-publish.sh +23 -0
 - metadata +6 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a5a1448f5a4a18f66208caf617ade51265dc9987
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6094e1a5647720c76f928485f0a5b9382a5fafaf
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 60b2c08734dca31be74edfbac20701b728a86c42fc8cd2385b6190e85e1fdbdfccb322649b754535d5446e7907ef0b3b38f3a66a1b2defc26424441a6955c495
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3fd697c523fd80e39cb2a1207327ba15a3d60b1f38979ed369873d33cd0c46d24eb7e395e6ce6f9c3b8b40ac316c066c30223c4929f36fadd8c71c792265d4ca
         
     | 
    
        data/bin/pod-publish
    ADDED
    
    
    
        data/bin/pod-publish.sh
    ADDED
    
    | 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            #!/bin/bash
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            if [ ! -n "$1" ] ;then
         
     | 
| 
      
 4 
     | 
    
         
            +
            	echo "Usage: pod-publish <version>"
         
     | 
| 
      
 5 
     | 
    
         
            +
                echo "Example: pod-publish 0.1.0"
         
     | 
| 
      
 6 
     | 
    
         
            +
            	exit
         
     | 
| 
      
 7 
     | 
    
         
            +
            fi 
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            path=$PWD
         
     | 
| 
      
 10 
     | 
    
         
            +
            proj_name=${path##*/}
         
     | 
| 
      
 11 
     | 
    
         
            +
            cd ~/.cocoapods/repos/$proj_name
         
     | 
| 
      
 12 
     | 
    
         
            +
            git reset --hard head
         
     | 
| 
      
 13 
     | 
    
         
            +
            cd $path
         
     | 
| 
      
 14 
     | 
    
         
            +
            substitute $proj_name.podspec s.version.*=.* s.version="'$*'"
         
     | 
| 
      
 15 
     | 
    
         
            +
            git add .
         
     | 
| 
      
 16 
     | 
    
         
            +
            git commit -m $*
         
     | 
| 
      
 17 
     | 
    
         
            +
            git tag $*
         
     | 
| 
      
 18 
     | 
    
         
            +
            git push origin master --tags
         
     | 
| 
      
 19 
     | 
    
         
            +
            pod repo push $proj_name $proj_name.podspec --verbose --allow-warnings --use-libraries
         
     | 
| 
      
 20 
     | 
    
         
            +
            git pull origin master
         
     | 
| 
      
 21 
     | 
    
         
            +
            versions_path=~/.cocoapods/repos/$proj_name/$proj_name
         
     | 
| 
      
 22 
     | 
    
         
            +
            rm -rf $versions_path/Assets/
         
     | 
| 
      
 23 
     | 
    
         
            +
            rm -rf $versions_path/Classes/
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,27 +1,30 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rubisc
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.6
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - luqyluqe
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2017-03- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2017-03-21 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       13 
13 
     | 
    
         
             
            description: Wicked cool ruby scripts
         
     | 
| 
       14 
14 
     | 
    
         
             
            email: luqy.luqe@gmail.com
         
     | 
| 
       15 
15 
     | 
    
         
             
            executables:
         
     | 
| 
       16 
16 
     | 
    
         
             
            - substitute
         
     | 
| 
       17 
17 
     | 
    
         
             
            - xcodeproj-scan
         
     | 
| 
      
 18 
     | 
    
         
            +
            - pod-publish
         
     | 
| 
       18 
19 
     | 
    
         
             
            extensions: []
         
     | 
| 
       19 
20 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       20 
21 
     | 
    
         
             
            files:
         
     | 
| 
       21 
22 
     | 
    
         
             
            - rubisc.rb
         
     | 
| 
       22 
23 
     | 
    
         
             
            - bin/substitute
         
     | 
| 
       23 
     | 
    
         
            -
            - lib/fileutil.rb
         
     | 
| 
       24 
24 
     | 
    
         
             
            - bin/xcodeproj-scan
         
     | 
| 
      
 25 
     | 
    
         
            +
            - bin/pod-publish
         
     | 
| 
      
 26 
     | 
    
         
            +
            - bin/pod-publish.sh
         
     | 
| 
      
 27 
     | 
    
         
            +
            - lib/fileutil.rb
         
     | 
| 
       25 
28 
     | 
    
         
             
            homepage: https://github.com/luqyluqe/Rubisc
         
     | 
| 
       26 
29 
     | 
    
         
             
            licenses:
         
     | 
| 
       27 
30 
     | 
    
         
             
            - MIT
         
     |