oxen 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dd0032a446eb5edac1f6506a1370eaed01b2532a4e927aff9ce5e7df51ca20e
4
- data.tar.gz: b39b9f1e3decc5db7a75cf8f0190df1820313e76df77f5a5fdbca340aae562fa
3
+ metadata.gz: 383244a5f0b884f7d29ee3a3501fb7db592c90367ce3543327aa8d3bd400d0ce
4
+ data.tar.gz: 7e1f0792aa37c012da15d36c173c27966ec6fa0ea84301682f3e8fb58cb41a43
5
5
  SHA512:
6
- metadata.gz: 0aca02fb50019fec3f898f005ba3e86d36810b6845d3975f39a9c1e9d453770eb0182bcd7e317ba4e8c08e19f8d85831cb8e78c3e20cae6d9a55b18734c099de
7
- data.tar.gz: d0ea1dfd23d4a30435649207e7a966078ca8a87746aae242f8977138ab84f23dfb61216225c98f6234eb425aee6594ba3a87c43fee6989d9c95425584b52dcbc
6
+ metadata.gz: 6f812a65683708754f8293eaefe96b1156b9624e9bacfea1d27fb4be9255e2a3e5d77c99cebeec9e18292b3a65e66a7b27e96f3f27b0fe45ca8c50d4a405e711
7
+ data.tar.gz: e74164369816c844502613390acd8adfb99949178dc728e8ee7ae2a51170b3f255af145e2eb138a53fafea264d53eca36e31c4e57f52f9225f6f0bbbf539f3bc
@@ -1,139 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oxen (0.1.0)
5
- bootstrap-sass (~> 3.3.7)
6
- mongoid (~> 6.1.0)
7
- rails (~> 5.1.0)
8
- slim-rails (~> 3.1.2)
9
- zbox (~> 0.1.0)
4
+ oxen (0.0.4)
10
5
 
11
6
  GEM
12
7
  remote: https://gems.ruby-china.org/
13
8
  specs:
14
- actioncable (5.1.0)
15
- actionpack (= 5.1.0)
16
- nio4r (~> 2.0)
17
- websocket-driver (~> 0.6.1)
18
- actionmailer (5.1.0)
19
- actionpack (= 5.1.0)
20
- actionview (= 5.1.0)
21
- activejob (= 5.1.0)
22
- mail (~> 2.5, >= 2.5.4)
23
- rails-dom-testing (~> 2.0)
24
- actionpack (5.1.0)
25
- actionview (= 5.1.0)
26
- activesupport (= 5.1.0)
27
- rack (~> 2.0)
28
- rack-test (~> 0.6.3)
29
- rails-dom-testing (~> 2.0)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (5.1.0)
32
- activesupport (= 5.1.0)
33
- builder (~> 3.1)
34
- erubi (~> 1.4)
35
- rails-dom-testing (~> 2.0)
36
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (5.1.0)
38
- activesupport (= 5.1.0)
39
- globalid (>= 0.3.6)
40
- activemodel (5.1.0)
41
- activesupport (= 5.1.0)
42
- activerecord (5.1.0)
43
- activemodel (= 5.1.0)
44
- activesupport (= 5.1.0)
45
- arel (~> 8.0)
46
- activesupport (5.1.0)
47
- concurrent-ruby (~> 1.0, >= 1.0.2)
48
- i18n (~> 0.7)
49
- minitest (~> 5.1)
50
- tzinfo (~> 1.1)
51
- arel (8.0.0)
52
- autoprefixer-rails (6.7.7.2)
53
- execjs
54
- bootstrap-sass (3.3.7)
55
- autoprefixer-rails (>= 5.2.1)
56
- sass (>= 3.3.4)
57
- bson (4.2.1)
58
- builder (3.2.3)
59
- concurrent-ruby (1.0.5)
60
- erubi (1.6.0)
61
- execjs (2.7.0)
62
- globalid (0.4.0)
63
- activesupport (>= 4.2.0)
64
- i18n (0.8.1)
65
- loofah (2.0.3)
66
- nokogiri (>= 1.5.9)
67
- mail (2.6.5)
68
- mime-types (>= 1.16, < 4)
69
- method_source (0.8.2)
70
- mime-types (3.1)
71
- mime-types-data (~> 3.2015)
72
- mime-types-data (3.2016.0521)
73
- mini_portile2 (2.1.0)
74
- minitest (5.10.1)
75
- mongo (2.4.1)
76
- bson (>= 4.2.1, < 5.0.0)
77
- mongoid (6.1.0)
78
- activemodel (~> 5.0)
79
- mongo (>= 2.4.1, < 3.0.0)
80
- nio4r (2.0.0)
81
- nokogiri (1.7.1)
82
- mini_portile2 (~> 2.1.0)
83
- quick_magick (0.8.0)
84
- rack (2.0.1)
85
- rack-test (0.6.3)
86
- rack (>= 1.0)
87
- rails (5.1.0)
88
- actioncable (= 5.1.0)
89
- actionmailer (= 5.1.0)
90
- actionpack (= 5.1.0)
91
- actionview (= 5.1.0)
92
- activejob (= 5.1.0)
93
- activemodel (= 5.1.0)
94
- activerecord (= 5.1.0)
95
- activesupport (= 5.1.0)
96
- bundler (>= 1.3.0, < 2.0)
97
- railties (= 5.1.0)
98
- sprockets-rails (>= 2.0.0)
99
- rails-dom-testing (2.0.2)
100
- activesupport (>= 4.2.0, < 6.0)
101
- nokogiri (~> 1.6)
102
- rails-html-sanitizer (1.0.3)
103
- loofah (~> 2.0)
104
- railties (5.1.0)
105
- actionpack (= 5.1.0)
106
- activesupport (= 5.1.0)
107
- method_source
108
- rake (>= 0.8.7)
109
- thor (>= 0.18.1, < 2.0)
110
- rake (12.0.0)
111
- sass (3.4.23)
112
- slim (3.0.7)
113
- temple (~> 0.7.6)
114
- tilt (>= 1.3.3, < 2.1)
115
- slim-rails (3.1.2)
116
- actionpack (>= 3.1)
117
- railties (>= 3.1)
118
- slim (~> 3.0)
119
- sprockets (3.7.1)
120
- concurrent-ruby (~> 1.0)
121
- rack (> 1, < 3)
122
- sprockets-rails (3.2.0)
123
- actionpack (>= 4.0)
124
- activesupport (>= 4.0)
125
- sprockets (>= 3.0.0)
126
- temple (0.7.7)
127
- thor (0.19.4)
128
- thread_safe (0.3.6)
129
- tilt (2.0.7)
130
- tzinfo (1.2.3)
131
- thread_safe (~> 0.1)
132
- websocket-driver (0.6.5)
133
- websocket-extensions (>= 0.1.0)
134
- websocket-extensions (0.1.2)
135
- zbox (0.1.0)
136
- quick_magick (~> 0)
137
9
 
138
10
  PLATFORMS
139
11
  ruby
@@ -142,4 +14,4 @@ DEPENDENCIES
142
14
  oxen!
143
15
 
144
16
  BUNDLED WITH
145
- 1.14.6
17
+ 1.16.1
@@ -9,6 +9,7 @@ module Oxen
9
9
  field :tags, type: Array
10
10
  field :hashed_password, type: String
11
11
  field :avatar, type: Hash
12
+ field :settings, type: Hash
12
13
 
13
14
  default_scope -> {where(:login.ne => "root")}
14
15
 
@@ -1,8 +1,9 @@
1
- h2 align="center"
2
- = icon("user","修改密码#{session[:login]}")
3
1
  .container
2
+ h2 align="center"
3
+ = icon("user","修改密码#{session[:login]}")
4
4
  .row
5
- .col-md-4.col-md-offset-4
5
+ .col-md-4.offset-md-4
6
+ hr
6
7
  = form_tag changepsd_path,method: "post",class: " panel panel-default form-horizontal" do
7
8
  .panel-body
8
9
  label 新密码:
@@ -1,3 +1,3 @@
1
1
  module Oxen
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oxen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - zxy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-19 00:00:00.000000000 Z
11
+ date: 2018-01-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: simple user and account engine
14
14
  email: