flexite 0.0.16 → 0.0.17
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/app/helpers/flexite/application_helper.rb +0 -9
- data/app/presenters/flexite/diff_presenter.rb +1 -1
- data/app/services/flexite/diff/token.rb +1 -1
- data/config/locales/flexite.en-US.yml +21 -0
- data/config/locales/simple_form.en-US.yml +26 -0
- data/lib/flexite/version.rb +1 -1
- data/test/dummy/log/development.log +6 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4924a99e5d9b13e8cb680a5fb424fd7e139ca11
|
|
4
|
+
data.tar.gz: 8834f34d427ee79108d141bce2d580a86329b372
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccbf8920a200544453e5017ffd6e6798c2b218feed83e521e497ffb324ac3174cc8f9f96535beba702b0f2107b8a0008954a5d9b34085ac333e0026cce5649b9
|
|
7
|
+
data.tar.gz: b44fc1eb11e83685aebaf2979a0ef49851b7ebc90593bf630d238ff1a242e043ea6715082cd0aa56bec99b9fbda813040bfd5fdfc59fe17a99b91ecb6c04bd85
|
|
@@ -10,15 +10,6 @@ module Flexite
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
def stage_select
|
|
13
|
-
Rails.logger.debug { Flexite.config.stages }
|
|
14
|
-
flexite_config = File.join(Rails.root, 'config', 'flexite.yml')
|
|
15
|
-
Rails.logger.debug("CONFIG EXIST?: #{File.exist?(flexite_config)}")
|
|
16
|
-
|
|
17
|
-
if File.exist?(flexite_config)
|
|
18
|
-
stage_config = YAML.load_file(flexite_config)
|
|
19
|
-
Rails.logger.debug { stage_config }
|
|
20
|
-
end
|
|
21
|
-
|
|
22
13
|
select_tag :stage, options_for_select(Flexite.config.stages), class: 'form-control'
|
|
23
14
|
end
|
|
24
15
|
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
en-US:
|
|
2
|
+
models:
|
|
3
|
+
arr_entry: 'array'
|
|
4
|
+
sym_entry: 'symbol'
|
|
5
|
+
str_entry: 'string'
|
|
6
|
+
int_entry: 'integer'
|
|
7
|
+
bool_entry: 'boolean'
|
|
8
|
+
css:
|
|
9
|
+
~-diff: 'change-diff'
|
|
10
|
+
--diff: 'deletion-diff'
|
|
11
|
+
+-diff: 'addition-diff'
|
|
12
|
+
labels:
|
|
13
|
+
buttons:
|
|
14
|
+
~-diff: 'Changes'
|
|
15
|
+
--diff: 'Deletions'
|
|
16
|
+
+-diff: 'Additions'
|
|
17
|
+
diff:
|
|
18
|
+
operations:
|
|
19
|
+
'~': "OLD: %s\rNEW: %s"
|
|
20
|
+
+: 'ADDED: %s'
|
|
21
|
+
-: 'DELETED: %s'
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
en-US:
|
|
2
|
+
simple_form:
|
|
3
|
+
"yes": 'Yes'
|
|
4
|
+
"no": 'No'
|
|
5
|
+
required:
|
|
6
|
+
text: 'required'
|
|
7
|
+
mark: '*'
|
|
8
|
+
# You can uncomment the line below if you need to overwrite the whole required html.
|
|
9
|
+
# When using html, text and mark won't be used.
|
|
10
|
+
# html: '<abbr title="required">*</abbr>'
|
|
11
|
+
error_notification:
|
|
12
|
+
default_message: "Please review the problems below:"
|
|
13
|
+
# Labels and hints examples
|
|
14
|
+
# labels:
|
|
15
|
+
# defaults:
|
|
16
|
+
# password: 'Password'
|
|
17
|
+
# user:
|
|
18
|
+
# new:
|
|
19
|
+
# email: 'E-mail to sign in.'
|
|
20
|
+
# edit:
|
|
21
|
+
# email: 'E-mail.'
|
|
22
|
+
# hints:
|
|
23
|
+
# defaults:
|
|
24
|
+
# username: 'User name to sign in.'
|
|
25
|
+
# password: 'No special characters, please.'
|
|
26
|
+
|
data/lib/flexite/version.rb
CHANGED
|
@@ -773160,3 +773160,9 @@ Processing by Flexite::DiffsController#push as JS
|
|
|
773160
773160
|
Rendered /home/rusakovich/code/flexite/app/views/flexite/shared/_show_flash.js.haml (0.5ms)
|
|
773161
773161
|
Rendered /home/rusakovich/code/flexite/app/views/flexite/diffs/push.js.haml (0.8ms)
|
|
773162
773162
|
Completed 200 OK in 75.8ms (Views: 2.4ms | ActiveRecord: 1.1ms)
|
|
773163
|
+
Connecting to database specified by database.yml
|
|
773164
|
+
Connecting to database specified by database.yml
|
|
773165
|
+
Connecting to database specified by database.yml
|
|
773166
|
+
Connecting to database specified by database.yml
|
|
773167
|
+
Connecting to database specified by database.yml
|
|
773168
|
+
Connecting to database specified by database.yml
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flexite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maksim Rusakovich
|
|
@@ -261,7 +261,9 @@ files:
|
|
|
261
261
|
- app/views/layouts/flexite/application.html.haml
|
|
262
262
|
- config/initializers/simple_form.rb
|
|
263
263
|
- config/initializers/simple_form_bootstrap.rb
|
|
264
|
+
- config/locales/flexite.en-US.yml
|
|
264
265
|
- config/locales/flexite.en.yml
|
|
266
|
+
- config/locales/simple_form.en-US.yml
|
|
265
267
|
- config/locales/simple_form.en.yml
|
|
266
268
|
- config/routes.rb
|
|
267
269
|
- db/migrate/20180503102555_create_flexite_configs.rb
|