openskip-repim 0.1.10 → 0.1.11
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/Rakefile +54 -54
 - data/lib/repim.rb +1 -1
 - metadata +18 -18
 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -30,12 +30,12 @@ VERS              = Repim::Version 
     | 
|
| 
       30 
30 
     | 
    
         
             
            REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
         
     | 
| 
       31 
31 
     | 
    
         
             
            CLEAN.include ['**/.*.sw?', '*.gem', '.config']
         
     | 
| 
       32 
32 
     | 
    
         
             
            RDOC_OPTS = [
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
      
 33 
     | 
    
         
            +
                    '--title', "#{NAME} documentation",
         
     | 
| 
      
 34 
     | 
    
         
            +
                    "--charset", "utf-8",
         
     | 
| 
      
 35 
     | 
    
         
            +
                    "--opname", "index.html",
         
     | 
| 
      
 36 
     | 
    
         
            +
                    "--line-numbers",
         
     | 
| 
      
 37 
     | 
    
         
            +
                    "--main", "README.rdoc",
         
     | 
| 
      
 38 
     | 
    
         
            +
                    "--inline-source",
         
     | 
| 
       39 
39 
     | 
    
         
             
            ]
         
     | 
| 
       40 
40 
     | 
    
         | 
| 
       41 
41 
     | 
    
         
             
            task :default => [:spec]
         
     | 
| 
         @@ -79,54 +79,54 @@ namespace :spec do 
     | 
|
| 
       79 
79 
     | 
    
         
             
            end
         
     | 
| 
       80 
80 
     | 
    
         | 
| 
       81 
81 
     | 
    
         
             
            spec = Gem::Specification.new do |s|
         
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
             
     | 
| 
       96 
     | 
    
         
            -
             
     | 
| 
       97 
     | 
    
         
            -
             
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
             
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
      
 82 
     | 
    
         
            +
                    s.name              = NAME
         
     | 
| 
      
 83 
     | 
    
         
            +
                    s.version           = VERS
         
     | 
| 
      
 84 
     | 
    
         
            +
                    s.platform          = Gem::Platform::RUBY
         
     | 
| 
      
 85 
     | 
    
         
            +
                    s.has_rdoc          = false
         
     | 
| 
      
 86 
     | 
    
         
            +
                    s.extra_rdoc_files  = ["README.rdoc", "ChangeLog"]
         
     | 
| 
      
 87 
     | 
    
         
            +
                    s.rdoc_options     += RDOC_OPTS + ['--exclude', '^(examples|extras)/']
         
     | 
| 
      
 88 
     | 
    
         
            +
                    s.summary           = DESCRIPTION
         
     | 
| 
      
 89 
     | 
    
         
            +
                    s.description       = DESCRIPTION
         
     | 
| 
      
 90 
     | 
    
         
            +
                    s.author            = AUTHOR
         
     | 
| 
      
 91 
     | 
    
         
            +
                    s.email             = EMAIL
         
     | 
| 
      
 92 
     | 
    
         
            +
                    s.homepage          = HOMEPAGE
         
     | 
| 
      
 93 
     | 
    
         
            +
                    s.executables       = BIN_FILES
         
     | 
| 
      
 94 
     | 
    
         
            +
                    s.rubyforge_project = RUBYFORGE_PROJECT if use_rubyforge
         
     | 
| 
      
 95 
     | 
    
         
            +
                    s.bindir            = "bin"
         
     | 
| 
      
 96 
     | 
    
         
            +
                    s.require_path      = "lib"
         
     | 
| 
      
 97 
     | 
    
         
            +
                    s.test_files        = Dir["test/*_test.rb"]
         
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
                    s.add_dependency('openskip-open_id_authentication')
         
     | 
| 
      
 100 
     | 
    
         
            +
                    #s.required_ruby_version = '>= 1.8.2'
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
                    s.files = %w(README.rdoc ChangeLog Rakefile) +
         
     | 
| 
      
 103 
     | 
    
         
            +
                            Dir.glob("{bin,doc,test,lib,templates,generators,extras,website,script}/**/*") +
         
     | 
| 
      
 104 
     | 
    
         
            +
                            Dir.glob("ext/**/*.{h,c,rb}") +
         
     | 
| 
      
 105 
     | 
    
         
            +
                            Dir.glob("examples/**/*.rb") +
         
     | 
| 
      
 106 
     | 
    
         
            +
                            Dir.glob("tools/*.rb") +
         
     | 
| 
      
 107 
     | 
    
         
            +
                            Dir.glob("rails/*.rb")
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
                    s.extensions = FileList["ext/**/extconf.rb"].to_a
         
     | 
| 
       110 
110 
     | 
    
         
             
            end
         
     | 
| 
       111 
111 
     | 
    
         | 
| 
       112 
112 
     | 
    
         
             
            Rake::GemPackageTask.new(spec) do |p|
         
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
      
 113 
     | 
    
         
            +
                    p.need_tar = true
         
     | 
| 
      
 114 
     | 
    
         
            +
                    p.gem_spec = spec
         
     | 
| 
       115 
115 
     | 
    
         
             
            end
         
     | 
| 
       116 
116 
     | 
    
         | 
| 
       117 
117 
     | 
    
         
             
            task :install do
         
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
       119 
     | 
    
         
            -
             
     | 
| 
       120 
     | 
    
         
            -
             
     | 
| 
      
 118 
     | 
    
         
            +
                    name = "#{NAME}-#{VERS}.gem"
         
     | 
| 
      
 119 
     | 
    
         
            +
                    sh %{rake package}
         
     | 
| 
      
 120 
     | 
    
         
            +
                    sh %{gem install pkg/#{name}}
         
     | 
| 
       121 
121 
     | 
    
         
             
            end
         
     | 
| 
       122 
122 
     | 
    
         | 
| 
       123 
123 
     | 
    
         
             
            task :uninstall => [:clean] do
         
     | 
| 
       124 
     | 
    
         
            -
             
     | 
| 
      
 124 
     | 
    
         
            +
                    sh %{gem uninstall #{NAME}}
         
     | 
| 
       125 
125 
     | 
    
         
             
            end
         
     | 
| 
       126 
126 
     | 
    
         | 
| 
       127 
127 
     | 
    
         
             
            desc 'Show information about the gem.'
         
     | 
| 
       128 
128 
     | 
    
         
             
            task :debug_gem do
         
     | 
| 
       129 
     | 
    
         
            -
             
     | 
| 
      
 129 
     | 
    
         
            +
                    puts spec.to_ruby
         
     | 
| 
       130 
130 
     | 
    
         
             
            end
         
     | 
| 
       131 
131 
     | 
    
         | 
| 
       132 
132 
     | 
    
         
             
            desc 'Update gem spec'
         
     | 
| 
         @@ -136,17 +136,17 @@ end 
     | 
|
| 
       136 
136 
     | 
    
         | 
| 
       137 
137 
     | 
    
         | 
| 
       138 
138 
     | 
    
         
             
            Rake::RDocTask.new do |rdoc|
         
     | 
| 
       139 
     | 
    
         
            -
             
     | 
| 
       140 
     | 
    
         
            -
             
     | 
| 
       141 
     | 
    
         
            -
             
     | 
| 
       142 
     | 
    
         
            -
             
     | 
| 
       143 
     | 
    
         
            -
             
     | 
| 
       144 
     | 
    
         
            -
             
     | 
| 
       145 
     | 
    
         
            -
             
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
     | 
    
         
            -
             
     | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
      
 139 
     | 
    
         
            +
                    rdoc.rdoc_dir = 'html'
         
     | 
| 
      
 140 
     | 
    
         
            +
                    rdoc.options += RDOC_OPTS
         
     | 
| 
      
 141 
     | 
    
         
            +
                    rdoc.template = "resh"
         
     | 
| 
      
 142 
     | 
    
         
            +
                    #rdoc.template = "#{ENV['template']}.rb" if ENV['template']
         
     | 
| 
      
 143 
     | 
    
         
            +
                    if ENV['DOC_FILES']
         
     | 
| 
      
 144 
     | 
    
         
            +
                            rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
         
     | 
| 
      
 145 
     | 
    
         
            +
                    else
         
     | 
| 
      
 146 
     | 
    
         
            +
                            rdoc.rdoc_files.include('README', 'ChangeLog')
         
     | 
| 
      
 147 
     | 
    
         
            +
                            rdoc.rdoc_files.include('lib/**/*.rb')
         
     | 
| 
      
 148 
     | 
    
         
            +
                            rdoc.rdoc_files.include('ext/**/*.c')
         
     | 
| 
      
 149 
     | 
    
         
            +
                    end
         
     | 
| 
       150 
150 
     | 
    
         
             
            end
         
     | 
| 
       151 
151 
     | 
    
         | 
| 
       152 
152 
     | 
    
         
             
            if use_rubyforge
         
     | 
| 
         @@ -168,8 +168,8 @@ if use_rubyforge 
     | 
|
| 
       168 
168 
     | 
    
         
             
                rf.login
         
     | 
| 
       169 
169 
     | 
    
         | 
| 
       170 
170 
     | 
    
         
             
                c = rf.userconfig
         
     | 
| 
       171 
     | 
    
         
            -
              # 
     | 
| 
       172 
     | 
    
         
            -
              # 
     | 
| 
      
 171 
     | 
    
         
            +
              #     c["release_notes"] = description if description
         
     | 
| 
      
 172 
     | 
    
         
            +
              #     c["release_changes"] = changes if changes
         
     | 
| 
       173 
173 
     | 
    
         
             
                c["preformatted"] = true
         
     | 
| 
       174 
174 
     | 
    
         | 
| 
       175 
175 
     | 
    
         
             
                files = [
         
     | 
    
        data/lib/repim.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: openskip-repim
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.11
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors: 
         
     | 
| 
       7 
7 
     | 
    
         
             
            - MOROHASHI Kyosuke
         
     | 
| 
         @@ -13,7 +13,7 @@ date: 2009-07-21 00:00:00 -07:00 
     | 
|
| 
       13 
13 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       16 
     | 
    
         
            -
              name:  
     | 
| 
      
 16 
     | 
    
         
            +
              name: openskip-open_id_authentication
         
     | 
| 
       17 
17 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       18 
18 
     | 
    
         
             
              version_requirement: 
         
     | 
| 
       19 
19 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement 
         
     | 
| 
         @@ -35,36 +35,36 @@ files: 
     | 
|
| 
       35 
35 
     | 
    
         
             
            - README.rdoc
         
     | 
| 
       36 
36 
     | 
    
         
             
            - ChangeLog
         
     | 
| 
       37 
37 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       38 
     | 
    
         
            -
            - lib/repim.rb
         
     | 
| 
       39 
38 
     | 
    
         
             
            - lib/repim
         
     | 
| 
      
 39 
     | 
    
         
            +
            - lib/repim/application.rb
         
     | 
| 
      
 40 
     | 
    
         
            +
            - lib/repim/ax_attributes_adapter.rb
         
     | 
| 
       40 
41 
     | 
    
         
             
            - lib/repim/random.rb
         
     | 
| 
       41 
42 
     | 
    
         
             
            - lib/repim/relying_party.rb
         
     | 
| 
       42 
     | 
    
         
            -
            - lib/repim/ax_attributes_adapter.rb
         
     | 
| 
       43 
     | 
    
         
            -
            - lib/repim/application.rb
         
     | 
| 
       44 
43 
     | 
    
         
             
            - lib/repim/signup.rb
         
     | 
| 
      
 44 
     | 
    
         
            +
            - lib/repim.rb
         
     | 
| 
       45 
45 
     | 
    
         
             
            - generators/relying_party
         
     | 
| 
      
 46 
     | 
    
         
            +
            - generators/relying_party/relying_party_generator.rb
         
     | 
| 
       46 
47 
     | 
    
         
             
            - generators/relying_party/templates
         
     | 
| 
       47 
     | 
    
         
            -
            - generators/relying_party/templates/users_controller.rb
         
     | 
| 
       48 
48 
     | 
    
         
             
            - generators/relying_party/templates/public
         
     | 
| 
       49 
     | 
    
         
            -
            - generators/relying_party/templates/public/stylesheets
         
     | 
| 
       50 
     | 
    
         
            -
            - generators/relying_party/templates/public/stylesheets/repim.css
         
     | 
| 
       51 
49 
     | 
    
         
             
            - generators/relying_party/templates/public/images
         
     | 
| 
       52 
50 
     | 
    
         
             
            - generators/relying_party/templates/public/images/openid-login.gif
         
     | 
| 
       53 
     | 
    
         
            -
            - generators/relying_party/templates/ 
     | 
| 
       54 
     | 
    
         
            -
            - generators/relying_party/templates/ 
     | 
| 
       55 
     | 
    
         
            -
            - generators/relying_party/templates/views/sessions/new.html.erb
         
     | 
| 
       56 
     | 
    
         
            -
            - generators/relying_party/templates/views/layouts
         
     | 
| 
       57 
     | 
    
         
            -
            - generators/relying_party/templates/views/layouts/sessions.html.erb
         
     | 
| 
       58 
     | 
    
         
            -
            - generators/relying_party/templates/views/users
         
     | 
| 
       59 
     | 
    
         
            -
            - generators/relying_party/templates/views/users/new.html.erb
         
     | 
| 
      
 51 
     | 
    
         
            +
            - generators/relying_party/templates/public/stylesheets
         
     | 
| 
      
 52 
     | 
    
         
            +
            - generators/relying_party/templates/public/stylesheets/repim.css
         
     | 
| 
       60 
53 
     | 
    
         
             
            - generators/relying_party/templates/sessions_controller.rb
         
     | 
| 
       61 
54 
     | 
    
         
             
            - generators/relying_party/templates/spec
         
     | 
| 
       62 
     | 
    
         
            -
            - generators/relying_party/templates/spec/ 
     | 
| 
      
 55 
     | 
    
         
            +
            - generators/relying_party/templates/spec/application_controller_spec.rb
         
     | 
| 
       63 
56 
     | 
    
         
             
            - generators/relying_party/templates/spec/sessions_controller_spec.rb
         
     | 
| 
       64 
57 
     | 
    
         
             
            - generators/relying_party/templates/spec/sessions_routing_spec.rb
         
     | 
| 
       65 
     | 
    
         
            -
            - generators/relying_party/templates/spec/application_controller_spec.rb
         
     | 
| 
       66 
58 
     | 
    
         
             
            - generators/relying_party/templates/spec/users_controller_spec.rb
         
     | 
| 
       67 
     | 
    
         
            -
            - generators/relying_party/ 
     | 
| 
      
 59 
     | 
    
         
            +
            - generators/relying_party/templates/spec/users_routing_spec.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - generators/relying_party/templates/users_controller.rb
         
     | 
| 
      
 61 
     | 
    
         
            +
            - generators/relying_party/templates/views
         
     | 
| 
      
 62 
     | 
    
         
            +
            - generators/relying_party/templates/views/layouts
         
     | 
| 
      
 63 
     | 
    
         
            +
            - generators/relying_party/templates/views/layouts/sessions.html.erb
         
     | 
| 
      
 64 
     | 
    
         
            +
            - generators/relying_party/templates/views/sessions
         
     | 
| 
      
 65 
     | 
    
         
            +
            - generators/relying_party/templates/views/sessions/new.html.erb
         
     | 
| 
      
 66 
     | 
    
         
            +
            - generators/relying_party/templates/views/users
         
     | 
| 
      
 67 
     | 
    
         
            +
            - generators/relying_party/templates/views/users/new.html.erb
         
     | 
| 
       68 
68 
     | 
    
         
             
            - rails/init.rb
         
     | 
| 
       69 
69 
     | 
    
         
             
            has_rdoc: false
         
     | 
| 
       70 
70 
     | 
    
         
             
            homepage: http://github.com/moro/repim/
         
     |