saucy 0.2.11 → 0.2.12
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.
| 
         @@ -4,6 +4,7 @@ Feature: generate a saucy application and run rake 
     | 
|
| 
       4 
4 
     | 
    
         
             
              Background:
         
     | 
| 
       5 
5 
     | 
    
         
             
                When I successfully run "rails new testapp"
         
     | 
| 
       6 
6 
     | 
    
         
             
                And I cd to "testapp"
         
     | 
| 
      
 7 
     | 
    
         
            +
                And I copy the locked Gemfile from this project
         
     | 
| 
       7 
8 
     | 
    
         
             
                And I append to "Gemfile" with:
         
     | 
| 
       8 
9 
     | 
    
         
             
                """
         
     | 
| 
       9 
10 
     | 
    
         
             
                gem "clearance", :git => "git://github.com/thoughtbot/clearance.git"
         
     | 
    
        data/lib/saucy/engine.rb
    CHANGED
    
    | 
         @@ -10,6 +10,16 @@ module Saucy 
     | 
|
| 
       10 
10 
     | 
    
         
             
                  Braintree::Configuration.logger = Rails.logger
         
     | 
| 
       11 
11 
     | 
    
         
             
                end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
      
 13 
     | 
    
         
            +
                initializer :filter_credit_card_info do
         
     | 
| 
      
 14 
     | 
    
         
            +
                  Rails.configuration.filter_parameters += [:password,
         
     | 
| 
      
 15 
     | 
    
         
            +
                                                            :card_number,
         
     | 
| 
      
 16 
     | 
    
         
            +
                                                            :cardholder_name,
         
     | 
| 
      
 17 
     | 
    
         
            +
                                                            :verification_code,
         
     | 
| 
      
 18 
     | 
    
         
            +
                                                            :expiration_month,
         
     | 
| 
      
 19 
     | 
    
         
            +
                                                            :expiration_year]
         
     | 
| 
      
 20 
     | 
    
         
            +
                end
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
       13 
23 
     | 
    
         
             
                {:short_date => "%x"}.each do |k, v|
         
     | 
| 
       14 
24 
     | 
    
         
             
                  Time::DATE_FORMATS[k] = v
         
     | 
| 
       15 
25 
     | 
    
         
             
                end
         
     | 
| 
         @@ -24,4 +24,9 @@ describe ApplicationController do 
     | 
|
| 
       24 
24 
     | 
    
         
             
                end
         
     | 
| 
       25 
25 
     | 
    
         
             
              end
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
      
 27 
     | 
    
         
            +
              it { should filter_param(:card_number) }
         
     | 
| 
      
 28 
     | 
    
         
            +
              it { should filter_param(:cardholder_name) }
         
     | 
| 
      
 29 
     | 
    
         
            +
              it { should filter_param(:verification_code) }
         
     | 
| 
      
 30 
     | 
    
         
            +
              it { should filter_param(:expiration_month) }
         
     | 
| 
      
 31 
     | 
    
         
            +
              it { should filter_param(:expiration_year) }
         
     | 
| 
       27 
32 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: saucy
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 15
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 2
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 12
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.2.12
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - thoughtbot, inc.
         
     | 
| 
         @@ -17,13 +17,14 @@ autorequire: 
     | 
|
| 
       17 
17 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       18 
18 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
            date: 2011-01- 
     | 
| 
      
 20 
     | 
    
         
            +
            date: 2011-01-31 00:00:00 -05:00
         
     | 
| 
       21 
21 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       22 
22 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       23 
23 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       24 
     | 
    
         
            -
               
     | 
| 
      
 24 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       25 
25 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       26 
     | 
    
         
            -
               
     | 
| 
      
 26 
     | 
    
         
            +
              name: formtastic
         
     | 
| 
      
 27 
     | 
    
         
            +
              version_requirements: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
       27 
28 
     | 
    
         
             
                none: false
         
     | 
| 
       28 
29 
     | 
    
         
             
                requirements: 
         
     | 
| 
       29 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
         @@ -33,12 +34,12 @@ dependencies: 
     | 
|
| 
       33 
34 
     | 
    
         
             
                    - 1
         
     | 
| 
       34 
35 
     | 
    
         
             
                    - 2
         
     | 
| 
       35 
36 
     | 
    
         
             
                    version: "1.2"
         
     | 
| 
       36 
     | 
    
         
            -
               
     | 
| 
       37 
     | 
    
         
            -
              version_requirements: *id001
         
     | 
| 
      
 37 
     | 
    
         
            +
              requirement: *id001
         
     | 
| 
       38 
38 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       39 
     | 
    
         
            -
               
     | 
| 
      
 39 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       40 
40 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       41 
     | 
    
         
            -
               
     | 
| 
      
 41 
     | 
    
         
            +
              name: railties
         
     | 
| 
      
 42 
     | 
    
         
            +
              version_requirements: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
       42 
43 
     | 
    
         
             
                none: false
         
     | 
| 
       43 
44 
     | 
    
         
             
                requirements: 
         
     | 
| 
       44 
45 
     | 
    
         
             
                - - ">="
         
     | 
| 
         @@ -49,12 +50,12 @@ dependencies: 
     | 
|
| 
       49 
50 
     | 
    
         
             
                    - 0
         
     | 
| 
       50 
51 
     | 
    
         
             
                    - 3
         
     | 
| 
       51 
52 
     | 
    
         
             
                    version: 3.0.3
         
     | 
| 
       52 
     | 
    
         
            -
               
     | 
| 
       53 
     | 
    
         
            -
              version_requirements: *id002
         
     | 
| 
      
 53 
     | 
    
         
            +
              requirement: *id002
         
     | 
| 
       54 
54 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       55 
     | 
    
         
            -
               
     | 
| 
      
 55 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       56 
56 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       57 
     | 
    
         
            -
               
     | 
| 
      
 57 
     | 
    
         
            +
              name: braintree
         
     | 
| 
      
 58 
     | 
    
         
            +
              version_requirements: &id003 !ruby/object:Gem::Requirement 
         
     | 
| 
       58 
59 
     | 
    
         
             
                none: false
         
     | 
| 
       59 
60 
     | 
    
         
             
                requirements: 
         
     | 
| 
       60 
61 
     | 
    
         
             
                - - ">="
         
     | 
| 
         @@ -65,12 +66,12 @@ dependencies: 
     | 
|
| 
       65 
66 
     | 
    
         
             
                    - 6
         
     | 
| 
       66 
67 
     | 
    
         
             
                    - 2
         
     | 
| 
       67 
68 
     | 
    
         
             
                    version: 2.6.2
         
     | 
| 
       68 
     | 
    
         
            -
               
     | 
| 
       69 
     | 
    
         
            -
              version_requirements: *id003
         
     | 
| 
      
 69 
     | 
    
         
            +
              requirement: *id003
         
     | 
| 
       70 
70 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       71 
     | 
    
         
            -
               
     | 
| 
      
 71 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       72 
72 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       73 
     | 
    
         
            -
               
     | 
| 
      
 73 
     | 
    
         
            +
              name: sham_rack
         
     | 
| 
      
 74 
     | 
    
         
            +
              version_requirements: &id004 !ruby/object:Gem::Requirement 
         
     | 
| 
       74 
75 
     | 
    
         
             
                none: false
         
     | 
| 
       75 
76 
     | 
    
         
             
                requirements: 
         
     | 
| 
       76 
77 
     | 
    
         
             
                - - "="
         
     | 
| 
         @@ -81,12 +82,12 @@ dependencies: 
     | 
|
| 
       81 
82 
     | 
    
         
             
                    - 3
         
     | 
| 
       82 
83 
     | 
    
         
             
                    - 3
         
     | 
| 
       83 
84 
     | 
    
         
             
                    version: 1.3.3
         
     | 
| 
       84 
     | 
    
         
            -
               
     | 
| 
       85 
     | 
    
         
            -
              version_requirements: *id004
         
     | 
| 
      
 85 
     | 
    
         
            +
              requirement: *id004
         
     | 
| 
       86 
86 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       87 
     | 
    
         
            -
               
     | 
| 
      
 87 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       88 
88 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       89 
     | 
    
         
            -
               
     | 
| 
      
 89 
     | 
    
         
            +
              name: sinatra
         
     | 
| 
      
 90 
     | 
    
         
            +
              version_requirements: &id005 !ruby/object:Gem::Requirement 
         
     | 
| 
       90 
91 
     | 
    
         
             
                none: false
         
     | 
| 
       91 
92 
     | 
    
         
             
                requirements: 
         
     | 
| 
       92 
93 
     | 
    
         
             
                - - "="
         
     | 
| 
         @@ -97,12 +98,12 @@ dependencies: 
     | 
|
| 
       97 
98 
     | 
    
         
             
                    - 1
         
     | 
| 
       98 
99 
     | 
    
         
             
                    - 2
         
     | 
| 
       99 
100 
     | 
    
         
             
                    version: 1.1.2
         
     | 
| 
       100 
     | 
    
         
            -
               
     | 
| 
       101 
     | 
    
         
            -
              version_requirements: *id005
         
     | 
| 
      
 101 
     | 
    
         
            +
              requirement: *id005
         
     | 
| 
       102 
102 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       103 
     | 
    
         
            -
               
     | 
| 
      
 103 
     | 
    
         
            +
              type: :development
         
     | 
| 
       104 
104 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       105 
     | 
    
         
            -
               
     | 
| 
      
 105 
     | 
    
         
            +
              name: aruba
         
     | 
| 
      
 106 
     | 
    
         
            +
              version_requirements: &id006 !ruby/object:Gem::Requirement 
         
     | 
| 
       106 
107 
     | 
    
         
             
                none: false
         
     | 
| 
       107 
108 
     | 
    
         
             
                requirements: 
         
     | 
| 
       108 
109 
     | 
    
         
             
                - - "="
         
     | 
| 
         @@ -113,8 +114,7 @@ dependencies: 
     | 
|
| 
       113 
114 
     | 
    
         
             
                    - 2
         
     | 
| 
       114 
115 
     | 
    
         
             
                    - 6
         
     | 
| 
       115 
116 
     | 
    
         
             
                    version: 0.2.6
         
     | 
| 
       116 
     | 
    
         
            -
               
     | 
| 
       117 
     | 
    
         
            -
              version_requirements: *id006
         
     | 
| 
      
 117 
     | 
    
         
            +
              requirement: *id006
         
     | 
| 
       118 
118 
     | 
    
         
             
            description: Clearance-based Rails engine for Software as a Service (Saas) that provides account and project management
         
     | 
| 
       119 
119 
     | 
    
         
             
            email: support@thoughtbot.com
         
     | 
| 
       120 
120 
     | 
    
         
             
            executables: []
         
     |